#include <cfg_var.h>

Public Member Functions | |
| cfg_var_reader (const GUID &guid) | |
| ~cfg_var_reader () | |
| virtual void | set_data_raw (stream_reader *p_stream, t_size p_sizehint, abort_callback &p_abort)=0 |
Static Public Member Functions | |
| static void | config_read_file (stream_reader *p_stream, abort_callback &p_abort) |
| For internal use only, do not call. | |
Public Attributes | |
| const GUID | m_guid |
| cfg_var_reader::cfg_var_reader | ( | const GUID & | guid | ) | [inline] |
| p_guid | GUID of the variable, used to identify variable implementations owning specific configuration file entries when reading the configuration file back. You must generate a new GUID every time you declare a new cfg_var. |
| cfg_var_reader::~cfg_var_reader | ( | ) | [inline] |
| virtual void cfg_var_reader::set_data_raw | ( | stream_reader * | p_stream, | |
| t_size | p_sizehint, | |||
| abort_callback & | p_abort | |||
| ) | [pure virtual] |
Sets state of the variable. Called only from main thread, when reading configuration file.
| p_stream | Stream containing new state of the variable. | |
| p_sizehint | Number of bytes contained in the stream; reading past p_sizehint bytes will fail (EOF). |
Implemented in cfg_int_t< t_inttype >, cfg_string, cfg_struct_t< t_struct >, cfg_objList< TObj >, cfg_objListEx< TList >, cfg_obj< TObj >, cfg_dsp_chain_config, cfg_guidlist, cfg_window_placement, cfg_window_size, cfg_int_t< bool >, and cfg_int_t< uint64_t >.
| static void cfg_var_reader::config_read_file | ( | stream_reader * | p_stream, | |
| abort_callback & | p_abort | |||
| ) | [static] |
For internal use only, do not call.
| const GUID cfg_var_reader::m_guid |
1.5.5