foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
pfc::instance_tracker_server_t< t_object >

#include <instance_tracker.h>

Public Member Functions

void add (t_object *p_object)
 
t_size get_count () const
 
t_object * get_item (t_size p_index)
 
t_object * operator[] (t_size p_index)
 
void remove (t_object *p_object)
 

Private Attributes

ptr_list_hybrid_t< t_object, 4 > m_list
 

Detailed Description

template<typename t_object>
class pfc::instance_tracker_server_t< t_object >

Definition at line 3 of file instance_tracker.h.

Member Function Documentation

template<typename t_object >
void pfc::instance_tracker_server_t< t_object >::add ( t_object *  p_object)
inline

Definition at line 5 of file instance_tracker.h.

5  {
6  m_list.add_item(p_object);
7  }
ptr_list_hybrid_t< t_object, 4 > m_list
t_size add_item(const T &item)
Definition: list.h:522
template<typename t_object >
t_size pfc::instance_tracker_server_t< t_object >::get_count ( ) const
inline

Definition at line 12 of file instance_tracker.h.

12 {return m_list.get_count();}
ptr_list_hybrid_t< t_object, 4 > m_list
t_size get_count() const
Definition: list.h:365
template<typename t_object >
t_object* pfc::instance_tracker_server_t< t_object >::get_item ( t_size  p_index)
inline

Definition at line 13 of file instance_tracker.h.

13 {return m_list[p_index];}
ptr_list_hybrid_t< t_object, 4 > m_list
template<typename t_object >
t_object* pfc::instance_tracker_server_t< t_object >::operator[] ( t_size  p_index)
inline

Definition at line 14 of file instance_tracker.h.

14 {return m_list[p_index];}
ptr_list_hybrid_t< t_object, 4 > m_list
template<typename t_object >
void pfc::instance_tracker_server_t< t_object >::remove ( t_object *  p_object)
inline

Definition at line 8 of file instance_tracker.h.

8  {
9  m_list.remove_item(p_object);
10  }
ptr_list_hybrid_t< t_object, 4 > m_list
void remove_item(const T &item)
Definition: list.h:532

Field Documentation

template<typename t_object >
ptr_list_hybrid_t<t_object,4> pfc::instance_tracker_server_t< t_object >::m_list
private

Definition at line 17 of file instance_tracker.h.


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