#include <itpp/protocol/events.h>
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 |
ADD DOCUMENTATION HERE. | |
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 |
Base Event Class.
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.
|
inline |
|
inlinevirtual |
|
inline |
|
protectedpure virtual |
ADD DOCUMENTATION HERE.
Implemented in itpp::Data_Event< ObjectType, DataType >, itpp::Data_Event< itpp::Signal, bool >, itpp::Data_Event< itpp::Signal, DataType >, itpp::Data_Event< itpp::Signal, double >, itpp::Data_Event< itpp::Signal, int >, itpp::Data_Event< itpp::Signal, itpp::ACK * >, itpp::Data_Event< itpp::Signal, itpp::Array< itpp::Packet * > >, itpp::Data_Event< itpp::Signal, itpp::Link_Packet * >, itpp::Data_Event< itpp::Signal, itpp::Packet * >, itpp::Data_Event< itpp::Signal, std::string >, itpp::Data_Event< itpp::Signal, void * >, and itpp::Event< ObjectType >.
|
friend |
|
friend |
|
protected |
ADD DOCUMENTATION HERE.
Definition at line 96 of file events.h.
Referenced by itpp::Event_Queue::add(), and Base_Event().
|
protected |
ADD DOCUMENTATION HERE.
Definition at line 98 of file events.h.
Referenced by itpp::Event_Queue::add(), Base_Event(), and itpp::Compare_Base_Event_Times::operator()().
|
protected |
ADD DOCUMENTATION HERE.
Definition at line 100 of file events.h.
Referenced by Base_Event(), and cancel().
|
protected |
ADD DOCUMENTATION HERE.
Definition at line 102 of file events.h.
Referenced by itpp::Compare_Base_Event_Times::operator()().
|
staticprotected |
Generated on Mon Apr 7 2025 07:53:18 for IT++ by Doxygen 1.11.0