diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-11-07 18:48:13 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-11-07 18:48:13 +0000 |
commit | 2c43c3ba495bbf830e2a08a3636d555394fecada (patch) | |
tree | 209fb394c0ef05995cc222c3db452da25ad5294a /ace/Svc_Handler.h | |
parent | d70bbd2cc7ea69e37ab9de711c6778a2acb6e025 (diff) | |
download | ATCD-2c43c3ba495bbf830e2a08a3636d555394fecada.tar.gz |
ChangeLogTag:Sun Nov 7 12:03:31 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Svc_Handler.h')
-rw-r--r-- | ace/Svc_Handler.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/Svc_Handler.h b/ace/Svc_Handler.h index c15a97c5009..ec8e74386d0 100644 --- a/ace/Svc_Handler.h +++ b/ace/Svc_Handler.h @@ -123,6 +123,10 @@ public: // Overloaded new operator. This method unobtrusively records if a // <Svc_Handler> is allocated dynamically. + void * operator new (size_t n, + void *p); + // This operator permits "placement new" on a per-object basis. + virtual void destroy (void); // Call this to free up dynamically allocated <Svc_Handlers> // (otherwise you will get memory leaks). In general, you should @@ -137,6 +141,10 @@ public: // call this method directly, so use <destroy> instead, unless you // know for sure that you've allocated the object dynamically. + void operator delete (void *, void *); + // This operator is necessary to complement the class-specific + // operator new above. + void shutdown (void); // Close down the descriptor and unregister from the Reactor |