EPAM B2BITS C++ Bovespa MarketData handler
1.27.1
|
#include <B2BITS_BovespaRefCounter.h>
Public Member Functions | |
ReferenceCounter () throw () | |
virtual bool | addRef () const throw () |
virtual long | release () const throw () |
virtual long | getNRef () const throw () |
Protected Member Functions | |
virtual | ~ReferenceCounter () |
long | decrement () const throw () |
long | increment () const throw () |
A generic reference counter.
Bovespa::ReferenceCounter::ReferenceCounter | ( | ) | ||
throw | ( | |||
) |
Constructor.
|
protectedvirtual |
Destructor.
|
virtual |
Increments reference counter.
|
protected |
Decrements counter and returns new counter value.
|
virtual |
Returns the current value of the reference counter.
|
protected |
Increments counter and returns new counter value.
|
virtual |
Decrements reference counter. If it becomes equal to 0 then calls destructor.