#include <plugin_tools.h>
Implements nxpl::PluginInterface reference counting. Can delegate reference counting to another CommonRefManager instance.
This class does not inherit nxpl::PluginInterface because it would require virtual inheritance. This class instance is supposed to be nested into a monitored class.
◆ CommonRefManager() [1/2]
Use this constructor to delete objToWatch when the reference counter drops to zero. NOTE: After creation, the reference counter is 1.
◆ CommonRefManager() [2/2]
nxpt::CommonRefManager::CommonRefManager |
( |
CommonRefManager * |
refCountingDelegate | ) |
|
|
inline |
Use this constructor to delegate reference counting to another object. NOTE: It does not increment refCountingDelegate reference counter.
◆ addRef()
int nxpt::CommonRefManager::addRef |
( |
| ) |
const |
|
inline |
◆ releaseRef()
int nxpt::CommonRefManager::releaseRef |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: