#include <Dynamic.h>
Public Methods | |
ACE_Dynamic (void) | |
Constructor. | |
~ACE_Dynamic (void) | |
Destructor. | |
void | set (void) |
int | is_dynamic (void) |
1 if we were allocated dynamically, else 0. | |
void | reset (void) |
Resets state flag. | |
Static Public Methods | |
ACE_Dynamic * | instance (void) |
Private Attributes | |
int | is_dynamic_ |
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. |