#include <acstimeTimerImpl.h>
Classes | |
class | Handler |
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_Queue * | m_timerQueue |
thread timer queue implementation |
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:
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.
TimerImpl::TimerImpl | ( | const ACE_CString & | name, | |
maci::ContainerServices * | containerServices | |||
) |
Constructor
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
virtual void TimerImpl::cancel | ( | CORBA::Long | id | ) | [virtual] |
Implementation of IDL method. Please see the documenation for the Timer IDL interface.
ACSTimeError::InvalidIDEx |
|
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.
ACSTimeError::ArgErrorEx |
|
Thread_Timer_Queue* TimerImpl::m_timerQueue [private] |
thread timer queue implementation