|
ACE
6.3.4
|
Adapter for ACE_Cleanup objects that allows them to be readily managed by the ACE_Object_Manager. More...
#include <Managed_Object.h>


Public Member Functions | |
| 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... | |
Public Member Functions inherited from ACE_Cleanup | |
| ACE_Cleanup (void) | |
| No-op constructor. More... | |
| virtual | ~ACE_Cleanup (void) |
| Destructor. More... | |
| virtual void | cleanup (void *param=0) |
| Cleanup method that, by default, simply deletes itself. More... | |
Private Member Functions | |
| ACE_Cleanup_Adapter (const ACE_Cleanup_Adapter< TYPE > &) | |
| void | operator= (const ACE_Cleanup_Adapter< TYPE > &) |
Private Attributes | |
| TYPE | object_ |
| Contained object. More... | |
Adapter for ACE_Cleanup objects that allows them to be readily managed by the ACE_Object_Manager.
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.
|
inline |
Default constructor.
|
virtual |
Virtual destructor, needed by some compilers for vtable placement.
|
private |
|
inline |
Accessor for contained object.
|
private |
|
private |
Contained object.
1.8.9.1