Pothos  0.3.3-g32d3017c
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | List of all members
Pothos::Util::RefHolder Class Reference

#include <RefHolder.hpp>

Inheritance diagram for Pothos::Util::RefHolder:
Inheritance graph
[legend]

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual Pothos::Util::RefHolder::~RefHolder ( void  )
virtual

Virtual destructor for derived classes.

Member Function Documentation

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.


The documentation for this class was generated from the following file: