![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Implementation class for reference counter. More...
#include <roc_core/ref_counted_impl.h>
Public Member Functions | |
| RefCountedImpl () | |
| Initialize. | |
| int | getref () const |
| Get reference counter. | |
| int | incref () const |
| Increment reference counter. | |
| int | decref () const |
| Decrement reference counter. | |
Implementation class for reference counter.
Allows to increment and decrement reference counter.
Definition at line 23 of file ref_counted_impl.h.
| roc::core::RefCountedImpl::RefCountedImpl | ( | ) |
Initialize.
| int roc::core::RefCountedImpl::decref | ( | ) | const |
Decrement reference counter.
| int roc::core::RefCountedImpl::getref | ( | ) | const |
Get reference counter.
| int roc::core::RefCountedImpl::incref | ( | ) | const |
Increment reference counter.