foobar2000 SDK  2015-08-03
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Static Private Attributes
pfc::instanceTrackerV2< TClass >

#include <other.h>

Public Types

typedef pfc::avltree_t< TClass * > t_instanceList
 

Public Member Functions

 instanceTrackerV2 (const t_self &p_other)
 
 instanceTrackerV2 ()
 
 ~instanceTrackerV2 ()
 

Static Public Member Functions

template<typename t_callback >
static void forEach (t_callback &p_callback)
 
static const t_instanceListinstanceList ()
 

Private Types

typedef instanceTrackerV2< TClass > t_self
 

Static Private Attributes

static t_instanceList g_list
 

Detailed Description

template<typename TClass>
class pfc::instanceTrackerV2< TClass >

Definition at line 196 of file other.h.

Member Typedef Documentation

template<typename TClass >
typedef pfc::avltree_t<TClass*> pfc::instanceTrackerV2< TClass >::t_instanceList

Definition at line 204 of file other.h.

template<typename TClass >
typedef instanceTrackerV2<TClass> pfc::instanceTrackerV2< TClass >::t_self
private

Definition at line 198 of file other.h.

Constructor & Destructor Documentation

template<typename TClass >
pfc::instanceTrackerV2< TClass >::instanceTrackerV2 ( const t_self p_other)
inline

Definition at line 200 of file other.h.

200 {g_list += static_cast<TClass*>(this);}
static t_instanceList g_list
Definition: other.h:208
template<typename TClass >
pfc::instanceTrackerV2< TClass >::instanceTrackerV2 ( )
inline

Definition at line 201 of file other.h.

201 {g_list += static_cast<TClass*>(this);}
static t_instanceList g_list
Definition: other.h:208
template<typename TClass >
pfc::instanceTrackerV2< TClass >::~instanceTrackerV2 ( )
inline

Definition at line 202 of file other.h.

202 {g_list -= static_cast<TClass*>(this);}
static t_instanceList g_list
Definition: other.h:208

Member Function Documentation

template<typename TClass >
template<typename t_callback >
static void pfc::instanceTrackerV2< TClass >::forEach ( t_callback &  p_callback)
inlinestatic

Definition at line 206 of file other.h.

206 {instanceList().enumerate(p_callback);}
static const t_instanceList & instanceList()
Definition: other.h:205
void enumerate(t_callback &p_callback) const
Definition: avltree.h:458
template<typename TClass >
static const t_instanceList& pfc::instanceTrackerV2< TClass >::instanceList ( )
inlinestatic

Definition at line 205 of file other.h.

205 {return g_list;}
static t_instanceList g_list
Definition: other.h:208

Field Documentation

template<typename TClass >
instanceTrackerV2< TClass >::t_instanceList pfc::instanceTrackerV2< TClass >::g_list
staticprivate

Definition at line 208 of file other.h.


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