TimerImpl

NAME
SYNOPSIS
Detailed Description
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
Author

NAME

TimerImpl −

SYNOPSIS

#include <acstimeTimerImpl.h>

Inherits acscomponent::ACSComponentImpl.

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 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

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:

nothing

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 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

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

Member Data Documentation

Thread_Timer_Queue* TimerImpl::m_timerQueue [private]

thread timer queue implementation

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.