diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-23 07:40:53 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-23 07:40:53 +0000 |
commit | f7fc0a325de3ed035ba49b57bce59f40e3e47334 (patch) | |
tree | 0ee9b34bda3d7c4e6edb2a849b7e8fb249aba464 /ace/Service_Object.i | |
parent | ad435afda0158f2154ae04cb764766f17f5f24bd (diff) | |
download | ATCD-f7fc0a325de3ed035ba49b57bce59f40e3e47334.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-0_2_14'.TAO-0_2_14
Diffstat (limited to 'ace/Service_Object.i')
-rw-r--r-- | ace/Service_Object.i | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/ace/Service_Object.i b/ace/Service_Object.i deleted file mode 100644 index c69670b5444..00000000000 --- a/ace/Service_Object.i +++ /dev/null @@ -1,94 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// Service_Object.i - -ACE_INLINE ACE_Service_Object_Ptr::ACE_Service_Object_Ptr (ACE_Service_Object *so) - : service_object_ (so) -{ -} - -ACE_INLINE ACE_Service_Object_Ptr::~ACE_Service_Object_Ptr (void) -{ - this->service_object_->fini (); - delete this->service_object_; -} - -ACE_INLINE ACE_Service_Object * -ACE_Service_Object_Ptr::operator-> () -{ - return this->service_object_; -} - -ACE_INLINE const ASYS_TCHAR * -ACE_Service_Type::name (void) const -{ - ACE_TRACE ("ACE_Service_Type::name"); - return this->name_; -} - -ACE_INLINE const char * -ACE_Service_Type::chname (void) const -{ -#if !defined (ACE_HAS_MOSTLY_UNICODE_APIS) - return this->name (); -#else - return this->chname_; -#endif /* !ACE_HAS_MOSTLY_UNICODE_APIS */ -} - -ACE_INLINE const ACE_Service_Type_Impl * -ACE_Service_Type::type (void) const -{ - ACE_TRACE ("ACE_Service_Type::type"); - return this->type_; -} - -ACE_INLINE ACE_SHLIB_HANDLE -ACE_Service_Type::handle (void) const -{ - ACE_TRACE ("ACE_Service_Type::handle"); - return this->handle_; -} - -ACE_INLINE void -ACE_Service_Type::name (const ASYS_TCHAR *n) -{ - ACE_TRACE ("ACE_Service_Type::name"); - - delete [] (ASYS_TCHAR *) this->name_; - this->name_ = ACE_OS::strcpy (new ASYS_TCHAR [ACE_OS::strlen (n) + 1], n); -#if defined (ACE_HAS_MOSTLY_UNICODE_APIS) - delete [] (char *) this->chname_; - this->chname_ = ACE_MULTIBYTE_STRING (this->name_); -#endif /* !ACE_HAS_MOSTLY_UNICODE_APIS */ -} - -ACE_INLINE void -ACE_Service_Type::type (const ACE_Service_Type_Impl *o, int enabled) -{ - ACE_TRACE ("ACE_Service_Type::type"); - this->type_ = o; - ((ACE_Service_Type *) this)->active_ = enabled; -} - -ACE_INLINE void -ACE_Service_Type::handle (const ACE_SHLIB_HANDLE h) -{ - ACE_TRACE ("ACE_Service_Type::handle"); - this->handle_ = h; -} - -ACE_INLINE int -ACE_Service_Type::active (void) const -{ - ACE_TRACE ("ACE_Service_Type::active"); - return this->active_ != 0; -} - -ACE_INLINE void -ACE_Service_Type::active (int turnon) -{ - ACE_TRACE ("ACE_Service_Type::active"); - this->active_ = turnon; -} |