Pothos
0.2.1-g9f04573d
The Pothos dataflow programming software suite
|
#include <RefHolder.hpp>
Public Member Functions | |
virtual | ~RefHolder (void) |
Virtual destructor for derived classes. More... | |
void | holdRef (const Object &container) |
Store a copy of this object container. More... | |
void | dropRef (const Object &container) |
Drop a copy of this object container. More... | |
RefHolder stores a list of Objects which are reference counted objects. Classes may derive from RefHolder and use it to store parent objects; to avoid unnecessary lifetime management burdens for the user.
|
virtual |
Virtual destructor for derived classes.
void Pothos::Util::RefHolder::dropRef | ( | const Object & | container | ) |
Drop a copy of this object container.
void Pothos::Util::RefHolder::holdRef | ( | const Object & | container | ) |
Store a copy of this object container.