#include <Dynamic.h>
Public Methods | |
| ACE_Dynamic (void) | |
| Constructor. More... | |
| ~ACE_Dynamic (void) | |
| Destructor. More... | |
| void | set (void) |
| Sets a flag that indicates that the object was dynamically created. More... | |
| int | is_dynamic (void) |
| 1 if we were allocated dynamically, else 0. More... | |
| void | reset (void) |
| Resets state flag. More... | |
Static Public Methods | |
| ACE_Dynamic * | instance (void) |
Private Attributes | |
| int | is_dynamic_ |
| Flag that indicates that the object was dynamically created. More... | |
This class holds the pointer in a thread-safe manner between the call to operator new and the call to the constructor.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
|
|
|
1 if we were allocated dynamically, else 0.
|
|
|
Resets state flag.
|
|
|
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. |
|
|
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. |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001