foobar2000 SDK  2015-08-03
Public Member Functions
dsp_entry_impl_t< T, t_entry >

#include <dsp.h>

+ Inheritance diagram for dsp_entry_impl_t< T, t_entry >:

Public Member Functions

bool get_default_preset (dsp_preset &p_out)
 
GUID get_guid ()
 
void get_name (pfc::string_base &p_out)
 
bool have_config_popup ()
 
bool instantiate (service_ptr_t< dsp > &p_out, const dsp_preset &p_preset)
 
bool show_config_popup (dsp_preset &p_data, HWND p_parent)
 

Detailed Description

template<class T, class t_entry = dsp_entry_v2>
class dsp_entry_impl_t< T, t_entry >

Definition at line 345 of file dsp.h.

Member Function Documentation

template<class T, class t_entry = dsp_entry_v2>
bool dsp_entry_impl_t< T, t_entry >::get_default_preset ( dsp_preset p_out)
inline

Definition at line 348 of file dsp.h.

348 {return T::g_get_default_preset(p_out);}
template<class T, class t_entry = dsp_entry_v2>
GUID dsp_entry_impl_t< T, t_entry >::get_guid ( )
inline

Definition at line 356 of file dsp.h.

356 {return T::g_get_guid();}
template<class T, class t_entry = dsp_entry_v2>
void dsp_entry_impl_t< T, t_entry >::get_name ( pfc::string_base p_out)
inline

Definition at line 347 of file dsp.h.

347 {T::g_get_name(p_out);}
template<class T, class t_entry = dsp_entry_v2>
bool dsp_entry_impl_t< T, t_entry >::have_config_popup ( )
inline

Definition at line 358 of file dsp.h.

358 {return T::g_have_config_popup();}
template<class T, class t_entry = dsp_entry_v2>
bool dsp_entry_impl_t< T, t_entry >::instantiate ( service_ptr_t< dsp > &  p_out,
const dsp_preset p_preset 
)
inline

Definition at line 349 of file dsp.h.

349  {
350  if (p_preset.get_owner() == T::g_get_guid()) {
351  p_out = new service_impl_t<T>(p_preset);
352  return true;
353  }
354  else return false;
355  }
Template implementing reference-counting features of service_base. Intended for dynamic instantiation...
Definition: service_impl.h:4
virtual GUID get_owner() const =0
template<class T, class t_entry = dsp_entry_v2>
bool dsp_entry_impl_t< T, t_entry >::show_config_popup ( dsp_preset p_data,
HWND  p_parent 
)
inline

Definition at line 359 of file dsp.h.

359 {return T::g_show_config_popup(p_data,p_parent);}

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