Simple ReferenceCounter object, does not delete itself when count reaches 0. More...
#include <SharedPtr.h>
Public Member Functions | |
void | duplicate () |
int | referenceCount () const |
ReferenceCounter () | |
int | release () |
Private Attributes | |
AtomicCounter | _cnt |
Simple ReferenceCounter object, does not delete itself when count reaches 0.
Definition at line 52 of file SharedPtr.h.
Poco::ReferenceCounter::ReferenceCounter | ( | ) | [inline] |
Definition at line 56 of file SharedPtr.h.
void Poco::ReferenceCounter::duplicate | ( | ) | [inline] |
Definition at line 60 of file SharedPtr.h.
int Poco::ReferenceCounter::referenceCount | ( | ) | const [inline] |
Definition at line 70 of file SharedPtr.h.
int Poco::ReferenceCounter::release | ( | ) | [inline] |
Definition at line 65 of file SharedPtr.h.
AtomicCounter Poco::ReferenceCounter::_cnt [private] |
Definition at line 76 of file SharedPtr.h.