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

#include <dsp.h>

+ Inheritance diagram for dsp_preset_builder:

Public Member Functions

 dsp_preset_builder ()
 
void finish (const GUID &id, dsp_preset &out)
 
void reset ()
 
- Public Member Functions inherited from stream_writer_formatter<>
 stream_writer_formatter (stream_writer &p_stream, abort_callback &p_abort)
 
void write_array (const TArray &data)
 
void write_byte_block (const TArray &data)
 
void write_int (t_int p_int)
 
void write_raw (const void *p_buffer, t_size p_bytes)
 
void write_raw (const TArray &data)
 
void write_string (const char *str)
 
void write_string (const char *str, t_size len_)
 
void write_string_nullterm (const char *str)
 

Private Attributes

abort_callback_dummy _m_abort
 
stream_writer_buffer_simple _m_stream
 

Additional Inherited Members

- Data Fields inherited from stream_writer_formatter<>
abort_callbackm_abort
 
stream_writerm_stream
 

Detailed Description

Helper.

Definition at line 485 of file dsp.h.

Constructor & Destructor Documentation

dsp_preset_builder::dsp_preset_builder ( )
inline

Definition at line 487 of file dsp.h.

abort_callback_dummy _m_abort
Definition: dsp.h:496
stream_writer_formatter(stream_writer &p_stream, abort_callback &p_abort)
stream_writer_buffer_simple _m_stream
Definition: dsp.h:497

Member Function Documentation

void dsp_preset_builder::finish ( const GUID id,
dsp_preset out 
)
inline

Definition at line 488 of file dsp.h.

488  {
489  out.set_owner(id);
491  }
const t_item * get_ptr() const
Definition: array.h:213
virtual void set_owner(const GUID &p_owner)=0
virtual void set_data(const void *p_data, t_size p_data_size)=0
stream_writer_buffer_simple _m_stream
Definition: dsp.h:497
t_size get_size() const
Definition: array.h:130
pfc::array_t< t_uint8, pfc::alloc_fast > m_buffer
void dsp_preset_builder::reset ( )
inline

Definition at line 492 of file dsp.h.

492  {
494  }
void set_size(t_size p_size)
Definition: array.h:104
stream_writer_buffer_simple _m_stream
Definition: dsp.h:497
pfc::array_t< t_uint8, pfc::alloc_fast > m_buffer

Field Documentation

abort_callback_dummy dsp_preset_builder::_m_abort
private

Definition at line 496 of file dsp.h.

stream_writer_buffer_simple dsp_preset_builder::_m_stream
private

Definition at line 497 of file dsp.h.


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