itpp::Event< ObjectType > Class Template Reference
[Protocols Module]

An Event class that executes a function when the event expires. More...

#include <events.h>

List of all members.

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
 ADD DOCUMENTATION HERE.
Ttype expire_t
 ADD DOCUMENTATION HERE.
bool active
 ADD DOCUMENTATION HERE.
unsigned long long int id
 ADD DOCUMENTATION HERE.

Static Protected Attributes

static unsigned long long int global_id = 0
 ADD DOCUMENTATION HERE.

Friends

class Base_Signal
class Event_Queue
struct Compare_Base_Event_Times


Detailed Description

template<class ObjectType>
class itpp::Event< ObjectType >

An Event class that executes a function when the event expires.

Since Events are objects you need supply both a pointer to the object and the function pointer to create the Event


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

Generated on Tue Jun 2 10:02:19 2009 for mixpp by  doxygen 1.5.8