00001 // -*- C++ -*- 00002 // 00003 // Service_Types.inl,v 4.3 2005/10/28 16:14:55 ossama Exp 00004 00005 #include "ace/ACE.h" 00006 00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00008 00009 ACE_INLINE void * 00010 ACE_Service_Type_Impl::object (void) const 00011 { 00012 ACE_TRACE ("ACE_Service_Type_Impl::object"); 00013 return this->obj_; 00014 } 00015 00016 ACE_INLINE const ACE_TCHAR * 00017 ACE_Service_Type_Impl::name (void) const 00018 { 00019 ACE_TRACE ("ACE_Service_Type_Impl::name"); 00020 return this->name_; 00021 } 00022 00023 ACE_INLINE void 00024 ACE_Service_Type_Impl::name (const ACE_TCHAR *n) 00025 { 00026 ACE_TRACE ("ACE_Service_Type_Impl::name"); 00027 00028 ACE::strdelete (const_cast<ACE_TCHAR*> (this->name_)); 00029 this->name_ = ACE::strnew (n); 00030 } 00031 00032 ACE_END_VERSIONED_NAMESPACE_DECL