ACE_Cleanup_Adapter< TYPE > Class Template Reference

Adapter for ACE_Cleanup objects that allows them to be readily managed by the ACE_Object_Manager. More...

#include <Managed_Object.h>

Inheritance diagram for ACE_Cleanup_Adapter< TYPE >:
Inheritance graph
[legend]
Collaboration diagram for ACE_Cleanup_Adapter< TYPE >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ACE_Cleanup_Adapter (void)
 Default constructor.
virtual ~ACE_Cleanup_Adapter (void)
 Virtual destructor, needed by some compilers for vtable placement.
TYPE & object (void)
 Accessor for contained object.

Private Member Functions

 ACE_UNIMPLEMENTED_FUNC (ACE_Cleanup_Adapter(const ACE_Cleanup_Adapter< TYPE > &)) ACE_UNIMPLEMENTED_FUNC(void operator

Detailed Description

template<class TYPE>
class ACE_Cleanup_Adapter< TYPE >

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.


Constructor & Destructor Documentation

template<class TYPE >
ACE_Cleanup_Adapter< TYPE >::ACE_Cleanup_Adapter ( void   )  [inline]

Default constructor.

template<class TYPE >
ACE_Cleanup_Adapter< TYPE >::~ACE_Cleanup_Adapter ( void   )  [inline, virtual]

Virtual destructor, needed by some compilers for vtable placement.


Member Function Documentation

template<class TYPE>
ACE_Cleanup_Adapter< TYPE >::ACE_UNIMPLEMENTED_FUNC ( ACE_Cleanup_Adapter< TYPE >(const ACE_Cleanup_Adapter< TYPE > &)   )  [private]
template<class TYPE >
TYPE & ACE_Cleanup_Adapter< TYPE >::object ( void   )  [inline]

Accessor for contained object.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Fri Sep 11 03:56:22 2009 for ACE by  doxygen 1.6.1