00001 /* -*- C++ -*- */ 00002 // $Id: Service_Types.i,v 1.1.1.3 2001/12/04 14:33:09 chad Exp $ 00003 00004 ACE_INLINE void * 00005 ACE_Service_Type_Impl::object (void) const 00006 { 00007 ACE_TRACE ("ACE_Service_Type_Impl::object"); 00008 return this->obj_; 00009 } 00010 00011 ACE_INLINE const ACE_TCHAR * 00012 ACE_Service_Type_Impl::name (void) const 00013 { 00014 ACE_TRACE ("ACE_Service_Type_Impl::name"); 00015 return this->name_; 00016 } 00017 00018 ACE_INLINE void 00019 ACE_Service_Type_Impl::name (const ACE_TCHAR *n) 00020 { 00021 ACE_TRACE ("ACE_Service_Type_Impl::name"); 00022 00023 delete [] (ACE_TCHAR *) this->name_; 00024 this->name_ = ACE::strnew (n); 00025 } 00026 00027 ACE_INLINE 00028 ACE_Service_Object_Type::~ACE_Service_Object_Type (void) 00029 { 00030 ACE_TRACE ("ACE_Service_Object_Type::~ACE_Service_Object_Type"); 00031 } 00032 00033 ACE_INLINE int 00034 ACE_Service_Object_Type::suspend (void) const 00035 { 00036 ACE_TRACE ("ACE_Service_Object_Type::suspend"); 00037 return ((ACE_Service_Object *) this->object ())->suspend (); 00038 } 00039 00040 ACE_INLINE int 00041 ACE_Service_Object_Type::resume (void) const 00042 { 00043 ACE_TRACE ("ACE_Service_Object_Type::resume"); 00044 return ((ACE_Service_Object *) this->object ())->resume (); 00045 } 00046 00047 ACE_INLINE int 00048 ACE_Service_Object_Type::info (ACE_TCHAR **str, size_t len) const 00049 { 00050 ACE_TRACE ("ACE_Service_Object_Type::info"); 00051 return ((ACE_Service_Object *) this->object ())->info (str, len); 00052 } 00053 00054 ACE_INLINE 00055 ACE_Module_Type::~ACE_Module_Type (void) 00056 { 00057 ACE_TRACE ("ACE_Module_Type::~ACE_Module_Type"); 00058 } 00059 00060 ACE_INLINE 00061 ACE_Stream_Type::~ACE_Stream_Type (void) 00062 { 00063 ACE_TRACE ("ACE_Stream_Type::~ACE_Stream_Type"); 00064 }
1.2.14 written by Dimitri van Heesch,
© 1997-2002