foobar2000 SDK  2015-01-14
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 188 of file other.h.

Member Typedef Documentation

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

Definition at line 196 of file other.h.

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

Definition at line 190 of file other.h.

Constructor & Destructor Documentation

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

Definition at line 192 of file other.h.

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

Definition at line 193 of file other.h.

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

Definition at line 194 of file other.h.

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

Member Function Documentation

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

Definition at line 198 of file other.h.

198 {instanceList().enumerate(p_callback);}
static const t_instanceList & instanceList()
Definition: other.h:197
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 197 of file other.h.

197 {return g_list;}
static t_instanceList g_list
Definition: other.h:200

Field Documentation

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

Definition at line 200 of file other.h.


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