foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
dsp_chain_config_impl

#include <dsp.h>

+ Inheritance diagram for dsp_chain_config_impl:

Public Member Functions

 dsp_chain_config_impl ()
 
 dsp_chain_config_impl (const dsp_chain_config &p_source)
 
 dsp_chain_config_impl (const dsp_chain_config_impl &p_source)
 
 ~dsp_chain_config_impl ()
 
t_size get_count () const
 
const dsp_presetget_item (t_size p_index) const
 
void insert_item (const dsp_preset &p_data, t_size p_index)
 
const dsp_chain_config_imploperator= (const dsp_chain_config &p_source)
 
const dsp_chain_config_imploperator= (const dsp_chain_config_impl &p_source)
 
void remove_mask (const bit_array &p_mask)
 
void replace_item (const dsp_preset &p_data, t_size p_index)
 
- Public Member Functions inherited from dsp_chain_config
void add_item (const dsp_preset &p_data)
 
void contents_from_stream (stream_reader *p_stream, abort_callback &p_abort)
 
void contents_to_stream (stream_writer *p_stream, abort_callback &p_abort) const
 
void copy (const dsp_chain_config &p_source)
 
void get_name_list (pfc::string_base &p_out) const
 
void instantiate (service_list_t< dsp > &p_out)
 
bool operator!= (const dsp_chain_config &other) const
 
const dsp_chain_configoperator= (const dsp_chain_config &p_source)
 
bool operator== (const dsp_chain_config &other) const
 
void remove_all ()
 
void remove_item (t_size p_index)
 

Private Attributes

pfc::ptr_list_t< dsp_preset_implm_data
 

Additional Inherited Members

- Static Public Member Functions inherited from dsp_chain_config
static bool equals (dsp_chain_config const &v1, dsp_chain_config const &v2)
 

Detailed Description

Definition at line 426 of file dsp.h.

Constructor & Destructor Documentation

dsp_chain_config_impl::dsp_chain_config_impl ( )
inline

Definition at line 429 of file dsp.h.

429 {}
dsp_chain_config_impl::dsp_chain_config_impl ( const dsp_chain_config p_source)
inline

Definition at line 430 of file dsp.h.

430 {copy(p_source);}
void copy(const dsp_chain_config &p_source)
Definition: dsp.cpp:251
dsp_chain_config_impl::dsp_chain_config_impl ( const dsp_chain_config_impl p_source)
inline

Definition at line 431 of file dsp.h.

431 {copy(p_source);}
void copy(const dsp_chain_config &p_source)
Definition: dsp.cpp:251
dsp_chain_config_impl::~dsp_chain_config_impl ( )

Definition at line 213 of file dsp.cpp.

214 {
215  m_data.delete_all();
216 }
void delete_all()
Definition: ptr_list.h:23
pfc::ptr_list_t< dsp_preset_impl > m_data
Definition: dsp.h:443

Member Function Documentation

t_size dsp_chain_config_impl::get_count ( ) const
virtual

Implements dsp_chain_config.

Definition at line 188 of file dsp.cpp.

189 {
190  return m_data.get_count();
191 }
t_size get_count() const
Definition: list.h:365
pfc::ptr_list_t< dsp_preset_impl > m_data
Definition: dsp.h:443
const dsp_preset & dsp_chain_config_impl::get_item ( t_size  p_index) const
virtual

Implements dsp_chain_config.

Definition at line 193 of file dsp.cpp.

194 {
195  return *m_data[p_index];
196 }
pfc::ptr_list_t< dsp_preset_impl > m_data
Definition: dsp.h:443
void dsp_chain_config_impl::insert_item ( const dsp_preset p_data,
t_size  p_index 
)
virtual

Implements dsp_chain_config.

Definition at line 203 of file dsp.cpp.

204 {
205  m_data.insert_item(new dsp_preset_impl(p_data),p_index);
206 }
t_size insert_item(const t_in &item, t_size idx)
Definition: list.h:323
pfc::ptr_list_t< dsp_preset_impl > m_data
Definition: dsp.h:443
const dsp_chain_config_impl& dsp_chain_config_impl::operator= ( const dsp_chain_config p_source)
inline

Definition at line 438 of file dsp.h.

438 {copy(p_source); return *this;}
void copy(const dsp_chain_config &p_source)
Definition: dsp.cpp:251
const dsp_chain_config_impl& dsp_chain_config_impl::operator= ( const dsp_chain_config_impl p_source)
inline

Definition at line 439 of file dsp.h.

439 {copy(p_source); return *this;}
void copy(const dsp_chain_config &p_source)
Definition: dsp.cpp:251
void dsp_chain_config_impl::remove_mask ( const bit_array p_mask)
virtual

Implements dsp_chain_config.

Definition at line 208 of file dsp.cpp.

209 {
210  m_data.delete_mask(p_mask);
211 }
void delete_mask(const bit_array &p_mask)
Definition: ptr_list.h:27
pfc::ptr_list_t< dsp_preset_impl > m_data
Definition: dsp.h:443
void dsp_chain_config_impl::replace_item ( const dsp_preset p_data,
t_size  p_index 
)
virtual

Implements dsp_chain_config.

Definition at line 198 of file dsp.cpp.

199 {
200  *m_data[p_index] = p_data;
201 }
pfc::ptr_list_t< dsp_preset_impl > m_data
Definition: dsp.h:443

Field Documentation

pfc::ptr_list_t<dsp_preset_impl> dsp_chain_config_impl::m_data
private

Definition at line 443 of file dsp.h.


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