B2BITS FIX Antenna C++ 2.33.0
Loading...
Searching...
No Matches
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.
 
virtual SchedulerTimeEvent getPrevEvent (const Engine::TZTimeHelper::UTCTimestamp &now) const =0
 Generates previous event based on timestamp provided.
 
- 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.
 

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.