B2BITS CME MDP Handler API Reference
|
A generic reference counter. More...
#include <B2BITS_CmeMdpReferenceCounter.h>
Public Member Functions | |
ReferenceCounter () throw () | |
Constructor. More... | |
virtual bool | addRef () const throw () |
Increments reference counter. More... | |
virtual long | release () const throw () |
Decrements reference counter. More... | |
virtual long | getNRef () const throw () |
Returns the current value of the reference counter. More... | |
Protected Member Functions | |
virtual | ~ReferenceCounter () |
Destructor. More... | |
long | decrement () const throw () |
Decrements counter and returns new counter value. More... | |
long | increment () const throw () |
Increments counter and returns new counter value. More... | |
ReferenceCounter | ( | ) | ||
throw | ( | |||
) |
|
protectedvirtual |
|
virtual |
|
virtual |
If it becomes equal to 0 then calls destructor.
|
virtual |
|
protected |
|
protected |