Base class for object with built-in reference counting mechanism.
More...
#include <ref.hpp>
Base class for object with built-in reference counting mechanism.
Inherit from this class to have shared-ref logic for your class objects. Use RefPtr to wrap and automate RefCnt objects references counting.
- Note
- Used primary to marshal object handles in wrapping packages
- See also
- ref_ptr
◆ ~RefCnt()
virtual spla::RefCnt::~RefCnt |
( |
| ) |
|
|
inlinevirtual |
◆ add_ref()
std::int32_t spla::RefCnt::add_ref |
( |
| ) |
const |
|
inline |
◆ get_refs()
std::int32_t spla::RefCnt::get_refs |
( |
| ) |
const |
|
inline |
◆ is_unique()
bool spla::RefCnt::is_unique |
( |
| ) |
const |
|
inline |
◆ rel_ref()
std::int32_t spla::RefCnt::rel_ref |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: