MADARA  3.2.3
madara::utility::Refcounter< T >::Shim Struct Reference

A shim class that keeps track of the reference count and a pointer to the type T that's reference counted. More...

Public Member Functions

 Shim (T *t)
 Constructor. More...
 
 ~Shim (void)
 Destructor. More...
 

Public Attributes

int refcount_
 Current value of the reference count. More...
 
T * t_
 Pointer to the object that's being reference counted. More...
 

Detailed Description

template<typename T>
struct madara::utility::Refcounter< T >::Shim

A shim class that keeps track of the reference count and a pointer to the type T that's reference counted.

Definition at line 76 of file Refcounter.h.

Constructor & Destructor Documentation

template<typename T>
madara::utility::Refcounter< T >::Shim::Shim ( T *  t)

Constructor.

Definition at line 153 of file Refcounter.cpp.

template<typename T >
madara::utility::Refcounter< T >::Shim::~Shim ( void  )

Destructor.

Definition at line 159 of file Refcounter.cpp.

Member Data Documentation

template<typename T>
int madara::utility::Refcounter< T >::Shim::refcount_

Current value of the reference count.

Definition at line 88 of file Refcounter.h.

template<typename T>
T* madara::utility::Refcounter< T >::Shim::t_

Pointer to the object that's being reference counted.

Definition at line 85 of file Refcounter.h.


The documentation for this struct was generated from the following files: