#include <itpp/protocol/events.h>
Inheritance diagram for itpp::Base_Event:
Public Member Functions | |
Base_Event (const Ttype delta_time) | |
Schedule an event at time delta_time from now. | |
virtual | ~Base_Event () |
Destructor. | |
void | cancel () |
Cancel an event. | |
Protected Member Functions | |
virtual void | exec (void)=0 |
Protected Attributes | |
Ttype | delta_t |
Ttype | expire_t |
bool | active |
unsigned long long int | id |
Static Protected Attributes | |
static unsigned long long int | global_id = 0 |
Friends | |
class | Base_Signal |
class | Event_Queue |
struct | Compare_Base_Event_Times |
An abstract Base class of Events that can be used to derive new events. All Event classes need to define the exec() function which is called when the event expires. An event has an execution time and an id.
Definition at line 57 of file events.h.
|
Schedule an event at time
Definition at line 66 of file events.h. References active, delta_t, expire_t, global_id, and it_assert. |
|
Destructor.
|
|
Cancel an event.
Definition at line 78 of file events.h. References active. Referenced by itpp::Signal< DataType >::cancel(), and itpp::Signal< DataType >::~Signal(). |
Generated on Thu Apr 19 14:20:04 2007 for IT++ by Doxygen 1.4.6