diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-11-12 21:39:32 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-11-12 21:39:32 +0000 |
commit | 6c8d74487fcf8c8418ff5205d0bc08dd99e1e34e (patch) | |
tree | 557e544d8274c8e0404d336c0e9b0e6cb36e7e72 /ace/Service_Object.cpp | |
parent | add7fcff0bc337851545e695aaf25c8c64b547b5 (diff) | |
download | ATCD-java-1_0_1a.tar.gz |
This commit was manufactured by cvs2svn to create tag 'java-1_0_1a'.java-1_0_1a
Diffstat (limited to 'ace/Service_Object.cpp')
-rw-r--r-- | ace/Service_Object.cpp | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/ace/Service_Object.cpp b/ace/Service_Object.cpp deleted file mode 100644 index e0defc425a7..00000000000 --- a/ace/Service_Object.cpp +++ /dev/null @@ -1,71 +0,0 @@ -// Service_Object.cpp -// $Id$ - -#define ACE_BUILD_DLL -#include "ace/Service_Object.h" - -#if !defined (__ACE_INLINE__) -#include "ace/Service_Object.i" -#endif /* __ACE_INLINE__ */ - -ACE_ALLOC_HOOK_DEFINE(ACE_Service_Object) - -/* Provide the abstract base class common to all services */ - -ACE_Service_Object::ACE_Service_Object (void) -{ - ACE_TRACE ("ACE_Service_Object::ACE_Service_Object"); -} - -ACE_Service_Object::~ACE_Service_Object (void) -{ - ACE_TRACE ("ACE_Service_Object::~ACE_Service_Object"); -} - -int -ACE_Service_Object::suspend (void) -{ - ACE_TRACE ("ACE_Service_Object::suspend"); - return 0; -} - -int -ACE_Service_Object::resume (void) -{ - ACE_TRACE ("ACE_Service_Object::resume"); - return 0; -} - -ACE_ALLOC_HOOK_DEFINE(ACE_Service_Type) - -void -ACE_Service_Type::dump (void) const -{ - ACE_TRACE ("ACE_Service_Type::dump"); -} - -ACE_Service_Type::ACE_Service_Type (const void *so, - const char *s_name, - unsigned int f) - : obj_ (so), - flags_ (f) -{ - ACE_TRACE ("ACE_Service_Type::ACE_Service_Type"); - this->name (ACE_OS::strcpy (new char[::strlen (s_name) + 1], s_name)); -} - -int -ACE_Service_Type::fini (void) const -{ - ACE_TRACE ("ACE_Service_Type::fini"); - ACE_DEBUG ((LM_DEBUG, "destroying %s, flags = %d\n", - this->name_, this->flags_)); - - delete [] (char *) this->name_; - if (ACE_BIT_ENABLED (this->flags_, ACE_Service_Type::DELETE_OBJ)) - delete (void *) this->object (); - if (ACE_BIT_ENABLED (this->flags_, ACE_Service_Type::DELETE_THIS)) - delete (void *) this; // Prevent object's destructor from being called... - return 0; -} - |