ACE_Singleton_Strategy< SVC_HANDLER > Class Template ReferenceDefines the interface for specifying a creation strategy for a SVC_HANDLER that always returns the same SVC_HANDLER (i.e., it's a Singleton). More...
Inheritance diagram for ACE_Singleton_Strategy< SVC_HANDLER >:
![]()
Collaboration diagram for ACE_Singleton_Strategy< SVC_HANDLER >:
![]()
Detailed Descriptiontemplate<class SVC_HANDLER>
Defines the interface for specifying a creation strategy for a SVC_HANDLER that always returns the same SVC_HANDLER (i.e., it's a Singleton).
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| typedef ACE_Creation_Strategy<SVC_HANDLER> ACE_Singleton_Strategy< SVC_HANDLER >::base_type |
| ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Singleton_Strategy< SVC_HANDLER >::ACE_Singleton_Strategy | ( | SVC_HANDLER * | sh = 0, |
|
| ACE_Thread_Manager * | tm = 0 | |||
| ) | [inline] |
| ACE_Singleton_Strategy< SVC_HANDLER >::~ACE_Singleton_Strategy | ( | void | ) | [inline, virtual] |
| int ACE_Singleton_Strategy< SVC_HANDLER >::open | ( | SVC_HANDLER * | sh, | |
| ACE_Thread_Manager * | = 0 | |||
| ) | [inline] |
| int ACE_Singleton_Strategy< SVC_HANDLER >::make_svc_handler | ( | SVC_HANDLER *& | sh | ) | [inline, virtual] |
Create a Singleton SVC_HANDLER by always returning the same SVC_HANDLER. Returns -1 on failure, else 0.
Reimplemented from ACE_Creation_Strategy< SVC_HANDLER >.
| void ACE_Singleton_Strategy< SVC_HANDLER >::dump | ( | void | ) | const [inline] |
| ACE_Singleton_Strategy< SVC_HANDLER >::ACE_ALLOC_HOOK_DECLARE |
SVC_HANDLER* ACE_Singleton_Strategy< SVC_HANDLER >::svc_handler_ [protected] |
Pointer to the Singleton svc_handler.
bool ACE_Singleton_Strategy< SVC_HANDLER >::delete_svc_handler_ [protected] |
Keep track of whether we need to delete the SVC_HANDLER.
1.5.5