Reference counted object base class.
More...
#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/tests/object.h>
Reference counted object base class.
Definition at line 9 of file object.h.
◆ Object() [1/4]
◆ Object() [2/4]
Object::Object |
( |
const Object & |
| ) |
|
|
inline |
◆ ~Object() [1/2]
virtual Object::~Object |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Object() [3/4]
◆ Object() [4/4]
Object::Object |
( |
const Object & |
| ) |
|
|
inline |
◆ ~Object() [2/2]
virtual Object::~Object |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ decRef() [1/2]
void Object::decRef |
( |
bool |
dealloc = true | ) |
const |
|
inline |
Decrease the reference count of the object and possibly deallocate it.
The object will automatically be deallocated once the reference count reaches zero.
Definition at line 29 of file object.h.
References m_refCount.
◆ decRef() [2/2]
void Object::decRef |
( |
bool |
dealloc = true | ) |
const |
|
inline |
Decrease the reference count of the object and possibly deallocate it.
The object will automatically be deallocated once the reference count reaches zero.
Definition at line 29 of file object.h.
References m_refCount.
◆ getRefCount() [1/2]
int Object::getRefCount |
( |
| ) |
const |
|
inline |
◆ getRefCount() [2/2]
int Object::getRefCount |
( |
| ) |
const |
|
inline |
◆ incRef() [1/2]
void Object::incRef |
( |
| ) |
const |
|
inline |
Increase the object's reference count by one.
Definition at line 21 of file object.h.
References m_refCount.
◆ incRef() [2/2]
void Object::incRef |
( |
| ) |
const |
|
inline |
Increase the object's reference count by one.
Definition at line 21 of file object.h.
References m_refCount.
◆ toString() [1/2]
virtual std::string Object::toString |
( |
| ) |
const |
|
pure virtual |
◆ toString() [2/2]
virtual std::string Object::toString |
( |
| ) |
const |
|
pure virtual |
◆ m_refCount
std::atomic< int > Object::m_refCount {0} |
|
mutableprivate |
The documentation for this class was generated from the following files: