1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
.TH ACE_Cleanup_Adapter 3 "1 Dec 2001" "ACE" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ACE_Cleanup_Adapter \- Adapter for \fBACE_Cleanup\fR objects that allows them to be readily managed by the \fBACE_Object_Manager\fR.
.SH SYNOPSIS
.br
.PP
\fC#include <Managed_Object.h>\fR
.PP
Inherits \fBACE_Cleanup\fR.
.PP
.SS Public Methods
.in +1c
.ti -1c
.RI "\fBACE_Cleanup_Adapter\fR (void)"
.br
.RI "\fIDefault constructor.\fR"
.ti -1c
.RI "virtual \fB~ACE_Cleanup_Adapter\fR (void)"
.br
.RI "\fIVirtual destructor, needed by some compilers for vtable placement.\fR"
.ti -1c
.RI "TYPE& \fBobject\fR (void)"
.br
.RI "\fIAccessor for contained object.\fR"
.in -1c
.SS Private Methods
.in +1c
.ti -1c
.RI "\fBACE_Cleanup_Adapter\fR (const ACE_Cleanup_Adapter<TYPE> &)"
.br
.ti -1c
.RI "void \fBoperator=\fR (const ACE_Cleanup_Adapter<TYPE> &)"
.br
.in -1c
.SS Private Attributes
.in +1c
.ti -1c
.RI "TYPE \fBobject_\fR"
.br
.RI "\fIContained object.\fR"
.in -1c
.SH DETAILED DESCRIPTION
.PP
.SS template<class TYPE> template class ACE_Cleanup_Adapter
Adapter for \fBACE_Cleanup\fR objects that allows them to be readily managed by the \fBACE_Object_Manager\fR.
.PP
.PP
This template class adapts an object of any type to be an \fBACE_Cleanup\fR object. The object can then be destroyed type-safely by the \fBACE_Object_Manager\fR. 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.
.PP
.SH CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
.PP
.SS template<classTYPE> ACE_Cleanup_Adapter<TYPE>::ACE_Cleanup_Adapter<TYPE> (void)
.PP
Default constructor.
.PP
.SS template<classTYPE> ACE_Cleanup_Adapter<TYPE>::~ACE_Cleanup_Adapter<TYPE> (void)\fC [virtual]\fR
.PP
Virtual destructor, needed by some compilers for vtable placement.
.PP
.SS template<classTYPE> ACE_Cleanup_Adapter<TYPE>::ACE_Cleanup_Adapter<TYPE> (const ACE_Cleanup_Adapter< TYPE >&)\fC [private]\fR
.PP
.SH MEMBER FUNCTION DOCUMENTATION
.PP
.SS template<classTYPE> TYPE & ACE_Cleanup_Adapter<TYPE>::object (void)
.PP
Accessor for contained object.
.PP
.SS template<classTYPE> void ACE_Cleanup_Adapter<TYPE>::operator= (const ACE_Cleanup_Adapter< TYPE >&)\fC [private]\fR
.PP
.SH MEMBER DATA DOCUMENTATION
.PP
.SS template<classTYPE> TYPE ACE_Cleanup_Adapter<TYPE>::object_\fC [private]\fR
.PP
Contained object.
.PP
.SH AUTHOR
.PP
Generated automatically by Doxygen for ACE from the source code.
|