Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TimerImpl Class Reference

#include <acstimeTimerImpl.h>

Inheritance diagram for TimerImpl:

Inheritance graph
[legend]
Collaboration diagram for TimerImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TimerImpl (const ACE_CString &name, maci::ContainerServices *containerServices)
virtual ~TimerImpl ()
virtual CORBA::Long schedule (acstime::TimeoutHandler_ptr callBack, const acstime::Epoch &time, const acstime::Duration &interval)
virtual void cancel (CORBA::Long id)

Private Types

typedef ACE_Event_Handler_Handle_Timeout_Upcall<
ACE_Null_Mutex > 
Upcall
 Event_Handler_Handle_Timeout_Upcall is defined in ace/Timer_Queue_T.h.
typedef ACE_Timer_Heap_T<
ACE_Event_Handler *, Upcall,
ACE_Null_Mutex > 
Timer_Heap
 Timer_Heap_T is defined in ace/Timer_Heap_T.h.
typedef ACE_Timer_Heap_Iterator_T<
ACE_Event_Handler *, Upcall,
ACE_Null_Mutex > 
Timer_Heap_Iterator
 Timer_Heap_Iterator_T is defined in ace/Timer_Heap_T.h.
typedef ACE_Thread_Timer_Queue_Adapter<
Timer_Heap
Thread_Timer_Queue
 Thread_Timer_Queue_Adapter is defined in ace/Timer_Queue_Adapters.h.

Private Member Functions

 TimerImpl (const TimerImpl &)
 copy not allowed
void operator= (const TimerImpl &)
 assignment not allowed

Private Attributes

Thread_Timer_Queuem_timerQueue
 thread timer queue implementation

Detailed Description

TimerImpl is the implementation of the Timer IDL interface and it is used for the sole purpose of setting one-time and continuous alarms on TimeoutHandler instances.

TODO:


Member Typedef Documentation

typedef ACE_Thread_Timer_Queue_Adapter<Timer_Heap> TimerImpl::Thread_Timer_Queue [private]
 

Thread_Timer_Queue_Adapter is defined in ace/Timer_Queue_Adapters.h.

typedef ACE_Timer_Heap_T<ACE_Event_Handler*,Upcall,ACE_Null_Mutex> TimerImpl::Timer_Heap [private]
 

Timer_Heap_T is defined in ace/Timer_Heap_T.h.

typedef ACE_Timer_Heap_Iterator_T<ACE_Event_Handler*,Upcall,ACE_Null_Mutex> TimerImpl::Timer_Heap_Iterator [private]
 

Timer_Heap_Iterator_T is defined in ace/Timer_Heap_T.h.

typedef ACE_Event_Handler_Handle_Timeout_Upcall<ACE_Null_Mutex> TimerImpl::Upcall [private]
 

Event_Handler_Handle_Timeout_Upcall is defined in ace/Timer_Queue_T.h.


Constructor & Destructor Documentation

TimerImpl::TimerImpl const ACE_CString &  name,
maci::ContainerServices containerServices
 

Constructor

Parameters:
poa Poa which will activate this and also all other components.
name component's name.

virtual TimerImpl::~TimerImpl  )  [virtual]
 

Destructor

TimerImpl::TimerImpl const TimerImpl  )  [private]
 

copy not allowed


Member Function Documentation

virtual void TimerImpl::cancel CORBA::Long  id  )  [virtual]
 

Implementation of IDL method. Please see the documenation for the Timer IDL interface.

Exceptions:
ACSTimeError::InvalidIDEx 
  • IDL Documentation


  • void TimerImpl::operator= const TimerImpl  )  [private]
     

    assignment not allowed

    virtual CORBA::Long TimerImpl::schedule acstime::TimeoutHandler_ptr  callBack,
    const acstime::Epoch &  time,
    const acstime::Duration &  interval
    [virtual]
     

    Implementation of IDL method. Please see the documenation for the Timer IDL interface.

    Exceptions:
    ACSTimeError::ArgErrorEx 
  • IDL Documentation



  • Member Data Documentation

    Thread_Timer_Queue* TimerImpl::m_timerQueue [private]
     

    thread timer queue implementation


    The documentation for this class was generated from the following file:
    Generated on Thu Apr 30 02:36:58 2009 for ACS C++ API by doxygen 1.3.8