#include <Auto_IncDec_T.h>
Public Methods | |
ACE_Auto_IncDec (ACE_SAFELY_INCREMENTABLE_DECREMENTABLE &counter) | |
Implicitly increment the counter. | |
~ACE_Auto_IncDec (void) | |
Implicitly decrement the counter. | |
void | dump (void) const |
Dump the state of an object. | |
Protected Attributes | |
ACE_SAFELY_INCREMENTABLE_DECREMENTABLE& | counter_ |
Reference to the counter we're incrementing/decrementing. | |
Private Methods | |
void | operator= (const ACE_Auto_IncDec<ACE_SAFELY_INCREMENTABLE_DECREMENTABLE> &) |
ACE_Auto_IncDec (const ACE_Auto_IncDec<ACE_SAFELY_INCREMENTABLE_DECREMENTABLE> &) |
This data structure is meant to be used within a method, function, or scope. The actual parameter given for the template parameter must provide at least opertaors ++ and --.
|
Implicitly increment the counter.
|
|
Implicitly decrement the counter.
|
|
|
|
Dump the state of an object.
|
|
|
|
Reference to the counter we're incrementing/decrementing.
|