Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members

# TAO_NS_Timer_Reactor Class Reference

Reactor::instance based timer. The timers are dispatched by the main thread. More...

`#include <Timer_Reactor.h>`

Inheritance diagram for TAO_NS_Timer_Reactor:

[legend]
Collaboration diagram for TAO_NS_Timer_Reactor:

[legend]
List of all members.

## Public Methods
| TAO_NS_Timer_Reactor (void)
| Constuctor. More...
virtual | ~TAO_NS_Timer_Reactor ()
| Destructor. More...
virtual long | schedule_timer (ACE_Event_Handler *handler, const ACE_Time_Value &delay_time, const ACE_Time_Value &interval)
| Schedule a timer. More...
virtual int | cancel_timer (long timer_id)
| Cancel Timer. More...
## Protected Attributes
ACE_Reactor * | reactor_
| The instance reactor that we use. More...

## Detailed Description

Reactor::instance based timer. The timers are dispatched by the main thread.

## Constructor & Destructor Documentation

TAO_NS_Timer_Reactor::TAO_NS_Timer_Reactor | ( | void |  | ) |

| Constuctor.

TAO_NS_Timer_Reactor::~TAO_NS_Timer_Reactor | ( |  | ) | `[virtual]`

| Destructor.

## Member Function Documentation

int TAO_NS_Timer_Reactor::cancel_timer | ( | long | timer_id | ) | `[virtual]`

| Cancel Timer. Reimplemented from TAO_NS_Timer.

long TAO_NS_Timer_Reactor::schedule_timer | ( | ACE_Event_Handler * | handler,
|  | const ACE_Time_Value & | delay_time,
|  | const ACE_Time_Value & | interval
| ) | `[virtual]`

| Schedule a timer. Reimplemented from TAO_NS_Timer.

## Member Data Documentation

ACE_Reactor* TAO_NS_Timer_Reactor::reactor_`[protected]`

| The instance reactor that we use.

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

- Timer_Reactor.h
- Timer_Reactor.cpp