summaryrefslogtreecommitdiff
path: root/ace/Service_Object.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-07-28 18:32:05 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-07-28 18:32:05 +0000
commita1213414bb568b49a39c02a16558684a0ad67e1e (patch)
treeb5b9a6e78f03de5d6709600d1895ba7fb2926de3 /ace/Service_Object.i
parent3bb5727bb7255cc85b7c4f0eb7afdfd87fc2185e (diff)
downloadATCD-a1213414bb568b49a39c02a16558684a0ad67e1e.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Service_Object.i')
-rw-r--r--ace/Service_Object.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/ace/Service_Object.i b/ace/Service_Object.i
index e85fd0323bb..4ed2a422783 100644
--- a/ace/Service_Object.i
+++ b/ace/Service_Object.i
@@ -3,6 +3,22 @@
// Service_Object.i
+ACE_Service_Object_Ptr::ACE_Service_Object_Ptr (ACE_Service_Object *so)
+ : service_object_ (so)
+{
+}
+
+ACE_Service_Object_Ptr::~ACE_Service_Object_Ptr (void)
+{
+ this->service_object_->fini ();
+}
+
+ACE_Service_Object *
+ACE_Service_Object_Ptr::operator-> ()
+{
+ return this->service_object_;
+}
+
ACE_INLINE const void *
ACE_Service_Type::object (void) const
{