TAO_RTEvent
2.0.8
|
Define the interface for the generators of timeout events. More...
#include <EC_Timeout_Generator.h>
Public Member Functions | |
virtual | ~TAO_EC_Timeout_Generator (void) |
destructor | |
virtual void | activate (void)=0 |
Activate any internal threads. | |
virtual void | shutdown (void)=0 |
virtual int | schedule_timer (TAO_EC_Timeout_Filter *filter, const ACE_Time_Value &delta, const ACE_Time_Value &interval)=0 |
Add a timer at the given priority, returns the timer ID. | |
virtual int | cancel_timer (const TAO_EC_QOS_Info &info, int id)=0 |
Cancel a timer at the given priority. |
Define the interface for the generators of timeout events.
The Event Channel can use several strategies to dispatch timers, for instance, it can use the ORB reactor or a pool of reactors running at different priorities or a pool of Thread_Timer_Queue_Adapters running at different priorities also. This class is the abstract base class to abstract this strategies.
TAO_EC_Timeout_Generator::~TAO_EC_Timeout_Generator | ( | void | ) | [virtual] |
destructor
virtual void TAO_EC_Timeout_Generator::activate | ( | void | ) | [pure virtual] |
Activate any internal threads.
Implemented in TAO_EC_Reactive_Timeout_Generator.
virtual int TAO_EC_Timeout_Generator::cancel_timer | ( | const TAO_EC_QOS_Info & | info, |
int | id | ||
) | [pure virtual] |
Cancel a timer at the given priority.
Implemented in TAO_EC_Reactive_Timeout_Generator.
virtual int TAO_EC_Timeout_Generator::schedule_timer | ( | TAO_EC_Timeout_Filter * | filter, |
const ACE_Time_Value & | delta, | ||
const ACE_Time_Value & | interval | ||
) | [pure virtual] |
Add a timer at the given priority, returns the timer ID.
Implemented in TAO_EC_Reactive_Timeout_Generator.
virtual void TAO_EC_Timeout_Generator::shutdown | ( | void | ) | [pure virtual] |
Deactivate any internal threads, clients can destroy the object after calling this method.
Implemented in TAO_EC_Reactive_Timeout_Generator.