#include <Managed_Object.h>
Inheritance diagram for ACE_Cleanup_Adapter:


Public Methods | |
| ACE_Cleanup_Adapter (void) | |
| Default constructor. More... | |
| virtual | ~ACE_Cleanup_Adapter (void) |
| Virtual destructor, needed by some compilers for vtable placement. More... | |
| TYPE & | object (void) |
| Accessor for contained object. More... | |
Private Methods | |
| ACE_Cleanup_Adapter (const ACE_Cleanup_Adapter< TYPE > &) | |
| void | operator= (const ACE_Cleanup_Adapter< TYPE > &) |
Private Attributes | |
| TYPE | object_ |
| Contained object. More... | |
This template class adapts an object of any type to be an ACE_Cleanup object. The object can then be destroyed type-safely by the ACE_Object_Manager. This class is typically used to replace a cast; but, it's a bit cleaner and allows insertion of, say, run-time type identification internally if desired.
|
||||||||||
|
Default constructor.
|
|
||||||||||
|
Virtual destructor, needed by some compilers for vtable placement.
|
|
||||||||||
|
|
|
||||||||||
|
Accessor for contained object.
|
|
||||||||||
|
|
|
|||||
|
Contained object.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001