#include <itpp/protocol/events.h>
Inheritance diagram for itpp::Data_Event< ObjectType, DataType >:

Public Member Functions | |
| Data_Event (ObjectType *object_pointer, void(ObjectType::*object_function_pointer)(DataType data), DataType data, const Ttype delta_time) | |
| Construct an Event to expire delta_time from now by calling the function (*object_pointer.*object_function_pointer)(data). | |
| virtual | ~Data_Event () |
| Destructor. | |
| virtual void | exec (void) |
| Execute (call) the assigned function with user data. | |
| void | cancel () |
| Cancel an event. | |
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 |
Since Events are objects you need supply both a pointer to the object and the function pointer to create the Event
Definition at line 169 of file events.h.
| itpp::Data_Event< ObjectType, DataType >::Data_Event | ( | ObjectType * | object_pointer, | |
| void(ObjectType::*)(DataType data) | object_function_pointer, | |||
| DataType | data, | |||
| const Ttype | delta_time | |||
| ) | [inline] |
| virtual itpp::Data_Event< ObjectType, DataType >::~Data_Event | ( | ) | [inline, virtual] |
| virtual void itpp::Data_Event< ObjectType, DataType >::exec | ( | void | ) | [inline, virtual] |
| void itpp::Base_Event::cancel | ( | ) | [inline, inherited] |
Cancel an event.
Definition at line 78 of file events.h.
References itpp::Base_Event::active.
Referenced by itpp::Signal< DataType >::cancel(), and itpp::Signal< DataType >::~Signal().
Generated on Wed Apr 18 11:23:43 2007 for IT++ by Doxygen 1.5.2