ACE  6.0.8
Public Member Functions | Protected Attributes
ACE_Timer_Queue_Upcall_Base< TYPE, FUNCTOR > Class Template Reference

#include <Timer_Queue_T.h>

Inheritance diagram for ACE_Timer_Queue_Upcall_Base< TYPE, FUNCTOR >:
Inheritance graph
[legend]
Collaboration diagram for ACE_Timer_Queue_Upcall_Base< TYPE, FUNCTOR >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ACE_Timer_Queue_Upcall_Base (FUNCTOR *upcall_functor=0)
virtual ~ACE_Timer_Queue_Upcall_Base (void)
 Destructor.
FUNCTOR & upcall_functor (void)
 Accessor to the upcall functor.

Protected Attributes

FUNCTOR * upcall_functor_
 Upcall functor.
bool const delete_upcall_functor_
 To delete or not to delete is the question?

Detailed Description

template<typename TYPE, typename FUNCTOR>
class ACE_Timer_Queue_Upcall_Base< TYPE, FUNCTOR >

Common base class for all timer queues with the same time source policy. This is really motivated by a single use-case in the code, namely the ACE_Proactor needs to set a backpointer in the upcall functor.


Constructor & Destructor Documentation

template<class TYPE , class FUNCTOR >
ACE_Timer_Queue_Upcall_Base< TYPE, FUNCTOR >::ACE_Timer_Queue_Upcall_Base ( FUNCTOR *  upcall_functor = 0) [inline, explicit]
template<class TYPE , class FUNCTOR >
ACE_Timer_Queue_Upcall_Base< TYPE, FUNCTOR >::~ACE_Timer_Queue_Upcall_Base ( void  ) [inline, virtual]

Destructor.


Member Function Documentation

template<class TYPE , class FUNCTOR >
FUNCTOR & ACE_Timer_Queue_Upcall_Base< TYPE, FUNCTOR >::upcall_functor ( void  ) [inline]

Accessor to the upcall functor.


Member Data Documentation

template<typename TYPE , typename FUNCTOR >
bool const ACE_Timer_Queue_Upcall_Base< TYPE, FUNCTOR >::delete_upcall_functor_ [protected]

To delete or not to delete is the question?

template<typename TYPE , typename FUNCTOR >
FUNCTOR* ACE_Timer_Queue_Upcall_Base< TYPE, FUNCTOR >::upcall_functor_ [protected]

Upcall functor.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines