Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Service_Object.i

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // $Id: Service_Object.i,v 1.1.1.4 2003/02/21 18:36:32 chad Exp $
00003 
00004 // Service_Object.i
00005 
00006 ACE_INLINE ACE_Service_Object_Ptr::ACE_Service_Object_Ptr (ACE_Service_Object *so)
00007   : service_object_ (so)
00008 {
00009 }
00010 
00011 ACE_INLINE ACE_Service_Object_Ptr::~ACE_Service_Object_Ptr (void)
00012 {
00013   this->service_object_->fini ();
00014   delete this->service_object_;
00015 }
00016 
00017 ACE_INLINE ACE_Service_Object *
00018 ACE_Service_Object_Ptr::operator-> ()
00019 {
00020   return this->service_object_;
00021 }
00022 
00023 ACE_INLINE const ACE_TCHAR *
00024 ACE_Service_Type::name (void) const
00025 {
00026   ACE_TRACE ("ACE_Service_Type::name");
00027   return this->name_;
00028 }
00029 
00030 ACE_INLINE const ACE_Service_Type_Impl *
00031 ACE_Service_Type::type (void) const
00032 {
00033   ACE_TRACE ("ACE_Service_Type::type");
00034   return this->type_;
00035 }
00036 
00037 ACE_INLINE void
00038 ACE_Service_Type::type (const ACE_Service_Type_Impl *o, int enabled)
00039 {
00040   ACE_TRACE ("ACE_Service_Type::type");
00041   this->type_ = o;
00042   ((ACE_Service_Type *) this)->active_ = enabled;
00043 }
00044 
00045 ACE_INLINE int
00046 ACE_Service_Type::active (void) const
00047 {
00048   ACE_TRACE ("ACE_Service_Type::active");
00049   return this->active_ != 0;
00050 }
00051 
00052 ACE_INLINE void
00053 ACE_Service_Type::active (int turnon)
00054 {
00055   ACE_TRACE ("ACE_Service_Type::active");
00056   this->active_ = turnon;
00057 }
00058 
00059 ACE_INLINE int
00060 ACE_Service_Type::fini_called (void) const
00061 {
00062   ACE_TRACE ("ACE_Service_Type::fini_called");
00063   return this->fini_already_called_;
00064 }

Generated on Mon Jun 16 11:21:11 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002