![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
Base class for reference counting functionality. More...
#include <ticpprc.h>
Public Attributes | |
std::vector< ticpp::Base *> | m_spawnedWrappers |
Remember all wrappers that we've created with 'new' - ( e.g. More... | |
Public Member Functions | |
TiCppRC () | |
Constructor Spawns new reference counter with a pointer to this. More... | |
virtual | ~TiCppRC () |
Destructor Nullifies the pointer to this held by the reference counter Decrements reference count. More... | |
void | DeleteSpawnedWrappers () |
Delete all container objects we've spawned with 'new'. More... | |
Friends | |
class | ticpp::Base |
TiCppRC::TiCppRC | ( | ) |
Constructor Spawns new reference counter with a pointer to this.
Definition at line 924 of file ticpp.cpp.
|
virtual |
Destructor Nullifies the pointer to this held by the reference counter Decrements reference count.
Definition at line 940 of file ticpp.cpp.
void TiCppRC::DeleteSpawnedWrappers | ( | ) |
Delete all container objects we've spawned with 'new'.
Definition at line 929 of file ticpp.cpp.
|
friend |
std::vector< ticpp::Base* > TiCppRC::m_spawnedWrappers |
|
private |
Pointer to reference counter.
Definition at line 46 of file ticpprc.h.
Referenced by ticpp::Base::SetImpRC().