HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_Scheduler< ClockT, DurationT >::Event Class Reference

#include <NET_WebScheduler.h>

Public Member Functions

 Event ()
 
 Event (EventId id, const TimePoint &et, Callback clb, bool run_on_mt)
 
bool operator< (const Event &rhs) const
 
bool operator> (const Event &rhs) const
 
bool isReadyToFire () const
 
DurationT fireIn () const
 

Public Attributes

EventId myId
 
TimePoint myTime
 
Callback myCallback
 
bool myRunOnMainThread
 

Detailed Description

template<class ClockT, class DurationT>
class NET_Scheduler< ClockT, DurationT >::Event

Definition at line 45 of file NET_WebScheduler.h.

Constructor & Destructor Documentation

template<class ClockT, class DurationT>
NET_Scheduler< ClockT, DurationT >::Event::Event ( )
inline

Definition at line 48 of file NET_WebScheduler.h.

template<class ClockT, class DurationT>
NET_Scheduler< ClockT, DurationT >::Event::Event ( EventId  id,
const TimePoint et,
Callback  clb,
bool  run_on_mt 
)
inline

Definition at line 50 of file NET_WebScheduler.h.

Member Function Documentation

template<class ClockT, class DurationT>
DurationT NET_Scheduler< ClockT, DurationT >::Event::fireIn ( ) const
inline

Definition at line 77 of file NET_WebScheduler.h.

template<class ClockT, class DurationT>
bool NET_Scheduler< ClockT, DurationT >::Event::isReadyToFire ( ) const
inline

Definition at line 72 of file NET_WebScheduler.h.

template<class ClockT, class DurationT>
bool NET_Scheduler< ClockT, DurationT >::Event::operator< ( const Event rhs) const
inline

Definition at line 58 of file NET_WebScheduler.h.

template<class ClockT, class DurationT>
bool NET_Scheduler< ClockT, DurationT >::Event::operator> ( const Event rhs) const
inline

Definition at line 64 of file NET_WebScheduler.h.

Member Data Documentation

template<class ClockT, class DurationT>
Callback NET_Scheduler< ClockT, DurationT >::Event::myCallback

Definition at line 87 of file NET_WebScheduler.h.

template<class ClockT, class DurationT>
EventId NET_Scheduler< ClockT, DurationT >::Event::myId

Definition at line 84 of file NET_WebScheduler.h.

template<class ClockT, class DurationT>
bool NET_Scheduler< ClockT, DurationT >::Event::myRunOnMainThread

Definition at line 88 of file NET_WebScheduler.h.

template<class ClockT, class DurationT>
TimePoint NET_Scheduler< ClockT, DurationT >::Event::myTime

Definition at line 86 of file NET_WebScheduler.h.


The documentation for this class was generated from the following file: