TAO_RTEvent
2.4.0
|
A simple implementation of the Timeout_Generator based on the Reactor. More...
#include <EC_Reactive_Timeout_Generator.h>
Public Member Functions | |
TAO_EC_Reactive_Timeout_Generator (ACE_Reactor *reactor=0) | |
virtual | ~TAO_EC_Reactive_Timeout_Generator (void) |
destructor More... | |
virtual void | activate (void) |
Activate any internal threads. More... | |
virtual void | shutdown (void) |
virtual int | schedule_timer (TAO_EC_Timeout_Filter *filter, const ACE_Time_Value &delta, const ACE_Time_Value &interval) |
Add a timer at the given priority, returns the timer ID. More... | |
virtual int | cancel_timer (const TAO_EC_QOS_Info &info, int id) |
Cancel a timer at the given priority. More... | |
Public Member Functions inherited from TAO_EC_Timeout_Generator | |
virtual | ~TAO_EC_Timeout_Generator (void) |
destructor More... | |
Private Attributes | |
ACE_Reactor * | reactor_ |
The reactor. More... | |
TAO_EC_Timeout_Adapter | event_handler_ |
An adapter to receive the timeout events. More... | |
A simple implementation of the Timeout_Generator based on the Reactor.
Implements the Timeout_Generator using an ACE_Reactor. Usually the same reactor that is used by the ORB where the EC runs.
TAO_EC_Reactive_Timeout_Generator::TAO_EC_Reactive_Timeout_Generator | ( | ACE_Reactor * | reactor = 0 | ) |
Constructor. If <reactor> is 0 then we use the reactor in the ORB singleton.
|
virtual |
destructor
|
virtual |
Activate any internal threads.
Implements TAO_EC_Timeout_Generator.
|
virtual |
Cancel a timer at the given priority.
Implements TAO_EC_Timeout_Generator.
|
virtual |
Add a timer at the given priority, returns the timer ID.
Implements TAO_EC_Timeout_Generator.
|
virtual |
Deactivate any internal threads, clients can destroy the object after calling this method.
Implements TAO_EC_Timeout_Generator.
|
private |
An adapter to receive the timeout events.
|
private |
The reactor.