1 #ifndef MARLINMT_SIMPLESCHEDULER_h 2 #define MARLINMT_SIMPLESCHEDULER_h 1 27 void pushEvent( std::shared_ptr<EventStore> event )
override ;
28 void popFinishedEvents( std::vector<std::shared_ptr<EventStore>> &events )
override ;
void end() override
Terminate the scheduler activites Cleanup memory, etc ...
IScheduler interface Interface for implementing a scheduling algorithm for event processing.
std::shared_ptr< SuperSequence > ProcessorSequence
ProcessorSequence _superSequence
< The processor super sequence
std::size_t freeSlots() const override
Get the number of free event slots.
void popFinishedEvents(std::vector< std::shared_ptr< EventStore >> &events) override
Retrieve finished events from the scheduler.
std::shared_ptr< EventStore > _currentEvent
void processRunHeader(std::shared_ptr< RunHeader > rhdr) override
Process a run header.
void pushEvent(std::shared_ptr< EventStore > event) override
Push a new event to the scheduler for processing.
void initialize() override
Initialize the scheduler.