#include <itpp/protocol/events.h>
Inheritance diagram for itpp::Event< ObjectType >:
Public Member Functions | |
Event (ObjectType *object_pointer, void(ObjectType::*object_function_pointer)(), const Ttype delta_time) | |
Construct an Event to expire delta_time from now by calling the function (*object_pointer.*object_function_pointer)(). | |
virtual | ~Event () |
Destructor. | |
virtual void | exec (void) |
Execute (call) the assigned function. | |
void | cancel () |
Cancel an event. | |
Protected Attributes | |
Ttype | delta_t |
Ttype | expire_t |
bool | active |
unsigned long long int | id |
Static Protected Attributes | |
unsigned long long int | global_id = 0 |
Friends | |
class | Base_Signal |
class | Event_Queue |
struct | Compare_Base_Event_Times |
Since Events are objects you need supply both a pointer to the object and the function pointer to create the Event
Definition at line 145 of file events.h.
|
Construct an Event to expire delta_time from now by calling the function (*object_pointer.*object_function_pointer)().
|
|
Destructor.
|
|
Execute (call) the assigned function.
Implements itpp::Base_Event. |
|
Cancel an event.
Definition at line 78 of file events.h. Referenced by itpp::Signal< DataType >::cancel(). |
Generated on Fri Jan 11 08:51:43 2008 for IT++ by Doxygen 1.3.9.1