Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_ISCHEDULER_H
12 #define GAUDIKERNEL_ISCHEDULER_H
63 std::chrono::system_clock::time_point
time;
virtual StatusCode pushNewEvent(EventContext *eventContext)=0
Make an event available to the scheduler.
std::chrono::system_clock::time_point time
virtual StatusCode tryPopFinishedEvent(EventContext *&eventContext)=0
Try to retrieve a finished event from the scheduler.
Sample occupancy at fixed interval (ms) Negative value to deactivate, 0 to snapshot every change Each...
virtual unsigned int freeSlots()=0
Get the free event processing slots.
virtual StatusCode popFinishedEvent(EventContext *&eventContext)=0
Retrieve a finished event from the scheduler.
virtual void recordOccupancy(int samplePeriod, std::function< void(OccupancySnapshot)> callback)=0
DeclareInterfaceID(IScheduler, 1, 0)
InterfaceID.
std::vector< std::vector< int > > states
virtual StatusCode scheduleEventView(const EventContext *sourceContext, const std::string &nodeName, std::unique_ptr< EventContext > viewContext)=0
Method to inform the scheduler about event views.
virtual StatusCode pushNewEvents(std::vector< EventContext * > &eventContexts)=0
Make a list of events available to the scheduler This method makes a bunch creation of new events ato...