ACE_Auto_IncDec< ACE_SAFELY_INCREMENTABLE_DECREMENTABLE > Class Template ReferenceThis class automatically increments and decrements a parameterized counter. More...
Collaboration diagram for ACE_Auto_IncDec< ACE_SAFELY_INCREMENTABLE_DECREMENTABLE >:
Detailed Descriptiontemplate<class ACE_SAFELY_INCREMENTABLE_DECREMENTABLE>
This class automatically increments and decrements a parameterized counter.
|
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Auto_IncDec< ACE_SAFELY_INCREMENTABLE_DECREMENTABLE >::ACE_Auto_IncDec | ( | ACE_SAFELY_INCREMENTABLE_DECREMENTABLE & | counter | ) | [inline] |
Implicitly increment the counter.
ACE_INLINE ACE_Auto_IncDec< ACE_SAFELY_INCREMENTABLE_DECREMENTABLE >::~ACE_Auto_IncDec | ( | void | ) | [inline] |
Implicitly decrement the counter.
ACE_Auto_IncDec< ACE_SAFELY_INCREMENTABLE_DECREMENTABLE >::ACE_Auto_IncDec | ( | const ACE_Auto_IncDec< ACE_SAFELY_INCREMENTABLE_DECREMENTABLE > & | ) | [private] |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL void ACE_Auto_IncDec< ACE_SAFELY_INCREMENTABLE_DECREMENTABLE >::dump | ( | void | ) | const [inline] |
Dump the state of an object.
void ACE_Auto_IncDec< ACE_SAFELY_INCREMENTABLE_DECREMENTABLE >::operator= | ( | const ACE_Auto_IncDec< ACE_SAFELY_INCREMENTABLE_DECREMENTABLE > & | ) | [private] |
ACE_SAFELY_INCREMENTABLE_DECREMENTABLE& ACE_Auto_IncDec< ACE_SAFELY_INCREMENTABLE_DECREMENTABLE >::counter_ [protected] |
Reference to the <ACE_SAFELY_INCREMENTABLE_DECREMENTABLE> counter we're incrementing/decrementing.