#include <DefaultRefCounter.h>
Public Member Functions | |
| DefaultRefCounter () throw (ShareException) | |
| ~DefaultRefCounter () | |
| void | notifyAttach () |
| void | notifyDetach () |
| int | refCount () const |
| void | unlink () |
| bool | isUnlinked () const |
| bool | shouldBeDestroyed () const |
Definition at line 21 of file DefaultRefCounter.h.
| Share::DefaultRefCounter::DefaultRefCounter | ( | ) | throw (ShareException) |
| ShareException | Library-specific exception derived from std::bad_alloc |
| Share::DefaultRefCounter::~DefaultRefCounter | ( | ) |
| void Share::DefaultRefCounter::notifyAttach | ( | ) |
Client attach notification. This increase reference count.
| void Share::DefaultRefCounter::notifyDetach | ( | ) |
Client detach notification. This decrease reference count.
| int Share::DefaultRefCounter::refCount | ( | ) | const |
| void Share::DefaultRefCounter::unlink | ( | ) |
Mark segment to be destroyed.
| bool Share::DefaultRefCounter::isUnlinked | ( | ) | const |
| bool Share::DefaultRefCounter::shouldBeDestroyed | ( | ) | const |
1.5.2