TAO_CosNotification  2.3.2
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
TAO_Notify_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_Notify_Timer_Reactor:
Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_Timer_Reactor:
Collaboration graph
[legend]

Public Types

typedef TAO_Notify_Refcountable_Guard_T< TAO_Notify_Timer_ReactorPtr
 
- Public Types inherited from TAO_Notify_Timer
typedef TAO_Notify_Refcountable_Guard_T< TAO_Notify_TimerPtr
 
- Public Types inherited from TAO_Notify_Refcountable
typedef TAO_Notify_Refcountable_Guard_T< TAO_Notify_RefcountablePtr
 

Public Member Functions

 TAO_Notify_Timer_Reactor (void)
 Constructor. More...
 
virtual ~TAO_Notify_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...
 
- Public Member Functions inherited from TAO_Notify_Timer
virtual ~TAO_Notify_Timer ()
 Destructor. More...
 
- Public Member Functions inherited from TAO_Notify_Refcountable
 TAO_Notify_Refcountable (void)
 Constructor. More...
 
virtual ~TAO_Notify_Refcountable ()
 
CORBA::ULong _incr_refcnt (void)
 
CORBA::ULong _decr_refcnt (void)
 

Protected Attributes

ACE_Reactorreactor_
 The instance reactor that we use. More...
 

Private Member Functions

virtual void release (void)
 Release. More...
 

Detailed Description

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

Member Typedef Documentation

Constructor & Destructor Documentation

TAO_Notify_Timer_Reactor::TAO_Notify_Timer_Reactor ( void  )

Constructor.

TAO_Notify_Timer_Reactor::~TAO_Notify_Timer_Reactor ( )
virtual

Destructor.

Member Function Documentation

int TAO_Notify_Timer_Reactor::cancel_timer ( long  timer_id)
virtual

Cancel Timer.

Implements TAO_Notify_Timer.

void TAO_Notify_Timer_Reactor::release ( void  )
privatevirtual

Release.

Implements TAO_Notify_Refcountable.

long TAO_Notify_Timer_Reactor::schedule_timer ( ACE_Event_Handler handler,
const ACE_Time_Value delay_time,
const ACE_Time_Value interval 
)
virtual

Schedule a timer.

Implements TAO_Notify_Timer.

Member Data Documentation

ACE_Reactor* TAO_Notify_Timer_Reactor::reactor_
protected

The instance reactor that we use.


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