B2BITS FIX Antenna C++  2.31.0
Public Member Functions | List of all members
System::ScheduleTimeline Class Referenceabstract

Abstract class(interface) that introduces API contract of events generator for a schedule. More...

#include <B2BITS_Scheduler.h>

+ Inheritance diagram for System::ScheduleTimeline:
+ Collaboration diagram for System::ScheduleTimeline:

Public Member Functions

virtual SchedulerTimeEvent getNextEvent (const Engine::TZTimeHelper::UTCTimestamp &now)=0
 Generates next event based on timestamp provided. More...
 
virtual SchedulerTimeEvent getPrevEvent (const Engine::TZTimeHelper::UTCTimestamp &now) const =0
 Generates previous event based on timestamp provided. More...
 
- Public Member Functions inherited from Utils::ReferenceCounter
virtual bool addRef () const throw ()
 Increments reference counter. More...
 
virtual long getNRef () const throw ()
 Returns the current value of the reference counter. More...
 
 ReferenceCounter () throw ()
 Constructor. More...
 
virtual long release () const throw ()
 Decrements reference counter. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Utils::ReferenceCounter
long decrement () const throw ()
 Decrements counter and returns new counter value. More...
 
long increment () const throw ()
 Increments counter and returns new counter value. More...
 
virtual ~ReferenceCounter ()
 Destructor. More...
 

Detailed Description

Abstract class(interface) that introduces API contract of events generator for a schedule.

Member Function Documentation

◆ getNextEvent()

virtual SchedulerTimeEvent System::ScheduleTimeline::getNextEvent ( const Engine::TZTimeHelper::UTCTimestamp now)
pure virtual

Generates next event based on timestamp provided.

Parameters
now- a point in time to get next event after.

Returns next event generated.

Implemented in Engine::CronSessionScheduleTimeline.

◆ getPrevEvent()

virtual SchedulerTimeEvent System::ScheduleTimeline::getPrevEvent ( const Engine::TZTimeHelper::UTCTimestamp now) const
pure virtual

Generates previous event based on timestamp provided.

Parameters
now- a point in time to get event before.

Returns previous event generated.

Implemented in Engine::CronSessionScheduleTimeline.