#include <Service_Object.h>

Public Member Functions | |
| ACE_Service_Object_Ptr (ACE_Service_Object *so) | |
| Acquire ownership of the so. | |
| ~ACE_Service_Object_Ptr (void) | |
| Release the held ACE_Service_Object by calling its fini() hook. | |
| ACE_Service_Object * | operator-> () |
| Smart pointer to access the underlying ACE_Service_Object. | |
Private Attributes | |
| ACE_Service_Object * | service_object_ |
| Holds the service object until we're done. | |
This class is similar to the Standard C++ Library class auto_ptr. It is used in conjunction with statically linked ACE_Service_Objects, as shown in the ./netsvcs/server/main.cpp example.
| ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Service_Object_Ptr::ACE_Service_Object_Ptr | ( | ACE_Service_Object * | so | ) |
Acquire ownership of the so.
| ACE_INLINE ACE_Service_Object_Ptr::~ACE_Service_Object_Ptr | ( | void | ) |
Release the held ACE_Service_Object by calling its fini() hook.
| ACE_INLINE ACE_Service_Object * ACE_Service_Object_Ptr::operator-> | ( | void | ) |
Smart pointer to access the underlying ACE_Service_Object.
Holds the service object until we're done.
1.5.8