foobar2000 SDK  2015-08-03
Public Member Functions
output_entry_impl_t< T, E >

#include <output.h>

+ Inheritance diagram for output_entry_impl_t< T, E >:

Public Member Functions

void advanced_settings_popup (HWND p_parent, POINT p_menupoint)
 
void enum_devices (output_device_enum_callback &p_callback)
 
t_uint32 get_config_flags ()
 
GUID get_guid ()
 
const char * get_name ()
 
void instantiate (service_ptr_t< output > &p_out, const GUID &p_device, double p_buffer_length, bool p_dither, t_uint32 p_bitdepth)
 

Detailed Description

template<typename T, typename E = output_entry>
class output_entry_impl_t< T, E >

Helper; implements output_entry for specific output class implementation. output_entry methods are forwarded to static methods of your output class. Use output_factory_t<myoutputclass> instead of using this class directly.

Definition at line 162 of file output.h.

Member Function Documentation

template<typename T, typename E = output_entry>
void output_entry_impl_t< T, E >::advanced_settings_popup ( HWND  p_parent,
POINT  p_menupoint 
)
inline

Definition at line 171 of file output.h.

171 {T::g_advanced_settings_popup(p_parent,p_menupoint);}
template<typename T, typename E = output_entry>
void output_entry_impl_t< T, E >::enum_devices ( output_device_enum_callback p_callback)
inline

Definition at line 168 of file output.h.

168 {T::g_enum_devices(p_callback);}
template<typename T, typename E = output_entry>
t_uint32 output_entry_impl_t< T, E >::get_config_flags ( )
inline

Definition at line 173 of file output.h.

173  {
174  t_uint32 flags = 0;
175  if (T::g_advanced_settings_query()) flags |= output_entry::flag_needs_advanced_config;
176  if (T::g_needs_bitdepth_config()) flags |= output_entry::flag_needs_bitdepth_config;
177  if (T::g_needs_dither_config()) flags |= output_entry::flag_needs_dither_config;
178  if (T::g_needs_device_list_prefixes()) flags |= output_entry::flag_needs_device_list_prefixes ;
179  return flags;
180  }
Definition: output.h:147
Definition: output.h:148
Definition: output.h:146
Definition: output.h:145
uint32_t t_uint32
Definition: int_types.h:5
template<typename T, typename E = output_entry>
GUID output_entry_impl_t< T, E >::get_guid ( )
inline

Definition at line 169 of file output.h.

169 {return T::g_get_guid();}
template<typename T, typename E = output_entry>
const char* output_entry_impl_t< T, E >::get_name ( )
inline

Definition at line 170 of file output.h.

170 {return T::g_get_name();}
template<typename T, typename E = output_entry>
void output_entry_impl_t< T, E >::instantiate ( service_ptr_t< output > &  p_out,
const GUID p_device,
double  p_buffer_length,
bool  p_dither,
t_uint32  p_bitdepth 
)
inline

Definition at line 165 of file output.h.

165  {
166  p_out = new service_impl_t<T>(p_device,p_buffer_length,p_dither,p_bitdepth);
167  }
Template implementing reference-counting features of service_base. Intended for dynamic instantiation...
Definition: service_impl.h:4

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