CHROMA
Public Member Functions | Private Attributes | List of all members
Chroma::Private::ConcreteLifetimeTracker< T, Destroyer > Class Template Reference

#include <singleton.h>

Inheritance diagram for Chroma::Private::ConcreteLifetimeTracker< T, Destroyer >:
Chroma::Private::LifetimeTracker

Public Member Functions

 ConcreteLifetimeTracker (T *p, unsigned int longevity, Destroyer d)
 
 ~ConcreteLifetimeTracker ()
 
- Public Member Functions inherited from Chroma::Private::LifetimeTracker
 LifetimeTracker (unsigned int x)
 
virtual ~LifetimeTracker ()=0
 

Private Attributes

TpTracked_
 
Destroyer destroyer_
 

Additional Inherited Members

- Static Public Member Functions inherited from Chroma::Private::LifetimeTracker
static bool Compare (const LifetimeTracker *lhs, const LifetimeTracker *rhs)
 

Detailed Description

template<typename T, typename Destroyer>
class Chroma::Private::ConcreteLifetimeTracker< T, Destroyer >

Definition at line 110 of file singleton.h.

Constructor & Destructor Documentation

◆ ConcreteLifetimeTracker()

template<typename T , typename Destroyer >
Chroma::Private::ConcreteLifetimeTracker< T, Destroyer >::ConcreteLifetimeTracker ( T p,
unsigned int  longevity,
Destroyer  d 
)
inline

Definition at line 113 of file singleton.h.

◆ ~ConcreteLifetimeTracker()

template<typename T , typename Destroyer >
Chroma::Private::ConcreteLifetimeTracker< T, Destroyer >::~ConcreteLifetimeTracker ( )
inline

Member Data Documentation

◆ destroyer_

template<typename T , typename Destroyer >
Destroyer Chroma::Private::ConcreteLifetimeTracker< T, Destroyer >::destroyer_
private

◆ pTracked_

template<typename T , typename Destroyer >
T* Chroma::Private::ConcreteLifetimeTracker< T, Destroyer >::pTracked_
private

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