Service_Object.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // $Id: Service_Object.inl 81388 2008-04-23 14:02:05Z johnnyw $
00003 
00004 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
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, bool 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 bool
00046 ACE_Service_Type::active (void) const
00047 {
00048   ACE_TRACE ("ACE_Service_Type::active");
00049   return this->active_;
00050 }
00051 
00052 ACE_INLINE void
00053 ACE_Service_Type::active (bool turnon)
00054 {
00055   ACE_TRACE ("ACE_Service_Type::active");
00056   this->active_ = turnon;
00057 }
00058 
00059 ACE_INLINE bool
00060 ACE_Service_Type::fini_called (void) const
00061 {
00062   ACE_TRACE ("ACE_Service_Type::fini_called");
00063   return this->fini_already_called_;
00064 }
00065 
00066 ACE_INLINE const ACE_DLL & ACE_Service_Type::dll () const
00067 {
00068   ACE_TRACE ("ACE_Service_Type::dll");
00069   return this->dll_;
00070 }
00071 
00072 ACE_INLINE void ACE_Service_Type::dll (const ACE_DLL &adll)
00073 {
00074   ACE_TRACE ("ACE_Service_Type::dll");
00075   this->dll_ = adll;
00076 }
00077 
00078 ACE_END_VERSIONED_NAMESPACE_DECL
00079 

Generated on Tue Feb 2 17:18:42 2010 for ACE by  doxygen 1.4.7