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 87 88
|
.TH ACE_Dynamic 3 "1 Dec 2001" "ACE" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ACE_Dynamic \- Checks to see if an object was dynamically allocated.
.SH SYNOPSIS
.br
.PP
\fC#include <Dynamic.h>\fR
.PP
.SS Public Methods
.in +1c
.ti -1c
.RI "\fBACE_Dynamic\fR (void)"
.br
.RI "\fIConstructor.\fR"
.ti -1c
.RI "\fB~ACE_Dynamic\fR (void)"
.br
.RI "\fIDestructor.\fR"
.ti -1c
.RI "void \fBset\fR (void)"
.br
.ti -1c
.RI "int \fBis_dynamic\fR (void)"
.br
.RI "\fI1 if we were allocated dynamically, else 0.\fR"
.ti -1c
.RI "void \fBreset\fR (void)"
.br
.RI "\fIResets state flag.\fR"
.in -1c
.SS Static Public Methods
.in +1c
.ti -1c
.RI "ACE_Dynamic* \fBinstance\fR (void)"
.br
.in -1c
.SS Private Attributes
.in +1c
.ti -1c
.RI "int \fBis_dynamic_\fR"
.br
.in -1c
.SH DETAILED DESCRIPTION
.PP
Checks to see if an object was dynamically allocated.
.PP
.PP
This class holds the pointer in a thread-safe manner between the call to operator new and the call to the constructor.
.PP
.SH CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
.PP
.SS ACE_Dynamic::ACE_Dynamic (void)
.PP
Constructor.
.PP
.SS ACE_Dynamic::~ACE_Dynamic (void)
.PP
Destructor.
.PP
.SH MEMBER FUNCTION DOCUMENTATION
.PP
.SS ACE_Dynamic* ACE_Dynamic::instance (void)\fC [static]\fR
.PP
.SS int ACE_Dynamic::is_dynamic (void)
.PP
1 if we were allocated dynamically, else 0.
.PP
.SS void ACE_Dynamic::reset (void)
.PP
Resets state flag.
.PP
.SS void ACE_Dynamic::set (void)
.PP
Sets a flag that indicates that the object was dynamically created. This method is usually called in operator new and then checked and reset in the constructor.
.SH MEMBER DATA DOCUMENTATION
.PP
.SS int ACE_Dynamic::is_dynamic_\fC [private]\fR
.PP
Flag that indicates that the object was dynamically created. This method is usually called in operator new and then checked and reset in the constructor.
.SH AUTHOR
.PP
Generated automatically by Doxygen for ACE from the source code.
|