#include <Strategies_T.h>
Inheritance diagram for ACE_Singleton_Strategy
Public Methods | |
ACE_Singleton_Strategy (SVC_HANDLER * = 0, ACE_Thread_Manager * = 0) | |
int | open (SVC_HANDLER *, ACE_Thread_Manager * = 0) |
virtual | ~ACE_Singleton_Strategy (void) |
virtual int | make_svc_handler (SVC_HANDLER *&) |
Create a Singleton SVC_HANDLER by always returning the same SVC_HANDLER. Returns -1 on failure, else 0. | |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Protected Attributes | |
SVC_HANDLER* | svc_handler_ |
Pointer to the Singleton svc_handler. | |
int | delete_svc_handler_ |
Keep track of whether we need to delete the <SVC_HANDLER>. |
Note that this class takes over the ownership of the SVC_HANDLER passed into it as a parameter and it becomes responsible for deleting this object.
|
|
|
|
|
Dump the state of an object.
Reimplemented from ACE_Creation_Strategy. |
|
Create a Singleton SVC_HANDLER by always returning the same SVC_HANDLER. Returns -1 on failure, else 0.
Reimplemented from ACE_Creation_Strategy. |
|
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_Creation_Strategy. |
|
Keep track of whether we need to delete the <SVC_HANDLER>.
|
|
Pointer to the Singleton svc_handler.
|