![]() |
B2BITS FIX Antenna C++ 2.34.0
|
Schedule abstract class that provides access to events generator and serves as callback sink for scheduler. More...
#include <B2BITS_Scheduler.h>
Inheritance diagram for System::Schedule:
Collaboration diagram for System::Schedule:Public Member Functions | |
| std::string | getScheduleId () const |
| Returns Schedule id. | |
| ScheduleTimelinePtr | getScheduleTimeline () const |
| Returns smart pointer to events generator. | |
| virtual void | onTimeEvent (const SchedulerTimeEvent &hitEvent, const Engine::TZTimeHelper::UTCTimestamp ×tamp)=0 |
| Callback routine that is called by scheduler when scheduled event has occurred. | |
| Schedule (const std::string &scheduleId, const ScheduleTimelinePtr &timelinePtr) | |
| Constructor. | |
Public Member Functions inherited from Utils::ReferenceCounter | |
| virtual bool | addRef () const throw () |
| Increments reference counter. | |
| virtual long | getNRef () const throw () |
| Returns the current value of the reference counter. | |
| ReferenceCounter () throw () | |
| Constructor. | |
| virtual long | release () const throw () |
| Decrements reference counter. | |
Additional Inherited Members | |
Protected Member Functions inherited from Utils::ReferenceCounter | |
| long | decrement () const throw () |
| Decrements counter and returns new counter value. | |
| long | increment () const throw () |
| Increments counter and returns new counter value. | |
| virtual | ~ReferenceCounter () |
| Destructor. | |
Schedule abstract class that provides access to events generator and serves as callback sink for scheduler.
|
inline |
Constructor.
| scheduleId | - schedule id. |
| timelinePtr | - events generator instance pointer. |
|
inline |
Returns Schedule id.
|
inline |
Returns smart pointer to events generator.
|
pure virtual |
Callback routine that is called by scheduler when scheduled event has occurred.
| hitEvent | - the event occurred. |
| timestamp | - actual UTC timestamp when the event has occurred. This ussualy equals to hitEvent.eventTime_ except cases when scheduler wasn't able to execute event on time. This is event's actual execution timestamp. |
Implemented in Engine::SessionsSchedule.