The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Public Member Functions | |
plug_t (const std::string &libname) | |
~plug_t () throw () | |
MHAProc_wave2wave_t | get_process_wave () |
MHAProc_wave2spec_t | get_process_spec () |
void * | get_handle () |
MHA_AC::algo_comm_t & | get_ac () |
void | prepare (mhaconfig_t &) override |
void | release () override |
Public Member Functions inherited from PluginLoader::mhapluginloader_t | |
std::string | parse (const std::string &str) override |
mhapluginloader_t (MHA_AC::algo_comm_t &iac, const std::string &libname, bool check_version=true) | |
Loads and initializes mha plugin and establishes interface. More... | |
~mhapluginloader_t () throw () | |
bool | has_process (mha_domain_t in, mha_domain_t out) const |
bool | has_parser () const |
mha_domain_t | input_domain () const |
mha_domain_t | output_domain () const |
void | process (mha_wave_t *, mha_wave_t **) override |
void | process (mha_spec_t *, mha_spec_t **) override |
void | process (mha_wave_t *, mha_spec_t **) override |
void | process (mha_spec_t *, mha_wave_t **) override |
std::string | getfullname () const |
std::string | get_documentation () const |
std::vector< std::string > | get_categories () const |
bool | is_prepared () const |
Public Member Functions inherited from PluginLoader::config_file_splitter_t | |
config_file_splitter_t (const std::string &name) | |
const std::string & | get_configname () const |
const std::string & | get_libname () const |
const std::string & | get_origname () const |
const std::string & | get_configfile () const |
Public Member Functions inherited from MHAParser::c_ifc_parser_t | |
c_ifc_parser_t (const std::string &modulename_) | |
~c_ifc_parser_t () | |
void | set_parse_cb (c_parse_cmd_t, c_parse_err_t, void *) |
Public Member Functions inherited from MHAParser::base_t | |
base_t (const std::string &) | |
Constructor for base class of all parser nodes. More... | |
base_t (const base_t &) | |
Copy constructor for base_t. More... | |
base_t & | operator= (const base_t &)=default |
base_t (base_t &&)=delete | |
base_t & | operator= (base_t &&)=delete |
virtual | ~base_t () |
virtual void | parse (const char *, char *, unsigned int) |
This function parses a command and writes the parsing result into a C character array. More... | |
virtual void | parse (const std::vector< std::string > &, std::vector< std::string > &) |
virtual std::string | query_dump (const std::string &) |
virtual std::string | query_entries (const std::string &) |
virtual std::string | query_perm (const std::string &) |
virtual std::string | query_range (const std::string &) |
virtual std::string | query_type (const std::string &) |
virtual std::string | query_val (const std::string &) |
virtual std::string | query_readfile (const std::string &) |
virtual std::string | query_savefile (const std::string &) |
virtual std::string | query_savefile_compact (const std::string &) |
virtual std::string | query_savemons (const std::string &) |
virtual std::string | query_listids (const std::string &) |
std::string | query_version (const std::string &) |
std::string | query_id (const std::string &) |
std::string | query_subst (const std::string &) |
std::string | query_addsubst (const std::string &) |
std::string | query_help (const std::string &) |
std::string | query_cmds (const std::string &) |
void | set_node_id (const std::string &) |
Set the identification string of this parser node. More... | |
void | set_help (const std::string &) |
Set the help comment of a variable or parser. More... | |
void | add_parent_on_insert (parser_t *, std::string) |
void | rm_parent_on_remove (parser_t *) |
const std::string & | fullname () const |
Return the full dot-separated path name of this parser node in the openMHA configuration tree. More... | |
Public Member Functions inherited from PluginLoader::fourway_processor_t | |
virtual | ~fourway_processor_t () |
Classes with virtual methods need virtual destructor. More... | |
Additional Inherited Members | |
Public Attributes inherited from MHAParser::base_t | |
MHAEvents::emitter_t | writeaccess |
Event emitted on write access. More... | |
MHAEvents::emitter_t | valuechanged |
Event emitted if the value has changed. More... | |
MHAEvents::emitter_t | readaccess |
Event emitted on read access. More... | |
MHAEvents::emitter_t | prereadaccess |
Event emitted on read access, before the data field is accessed. More... | |
Protected Member Functions inherited from PluginLoader::mhapluginloader_t | |
void | test_error () |
void | test_version () |
void | mha_test_struct_size (unsigned int s) |
void | resolve_and_init () |
Protected Member Functions inherited from MHAParser::c_ifc_parser_t | |
std::string | op_subparse (MHAParser::expression_t &) |
std::string | op_setval (MHAParser::expression_t &) |
std::string | op_query (MHAParser::expression_t &) |
Protected Member Functions inherited from MHAParser::base_t | |
void | activate_query (const std::string &, query_t) |
void | notify () |
Protected Attributes inherited from PluginLoader::mhapluginloader_t | |
int | lib_err |
MHA_AC::algo_comm_t & | ac |
pluginlib_t | lib_handle |
void * | lib_data |
MHAGetVersion_t | MHAGetVersion_cb |
MHAInit_t | MHAInit_cb |
MHADestroy_t | MHADestroy_cb |
MHAPrepare_t | MHAPrepare_cb |
MHARelease_t | MHARelease_cb |
MHAProc_wave2wave_t | MHAProc_wave2wave_cb |
MHAProc_spec2spec_t | MHAProc_spec2spec_cb |
MHAProc_wave2spec_t | MHAProc_wave2spec_cb |
MHAProc_spec2wave_t | MHAProc_spec2wave_cb |
MHASet_t | MHASet_cb |
MHASetcpp_t | MHASetcpp_cb |
MHAStrError_t | MHAStrError_cb |
mhaconfig_t | cf_input |
mhaconfig_t | cf_output |
std::string | plugin_documentation |
std::vector< std::string > | plugin_categories |
bool | b_check_version |
bool | b_is_prepared |
Protected Attributes inherited from MHAParser::base_t | |
query_map_t | queries |
bool | data_is_initialized |
Private Member Functions inherited from MHA_AC::algo_comm_class_t | |
void | insert_var (const std::string &name, comm_var_t cv) override |
void | insert_var_int (const std::string &name, int *ptr) override |
void | insert_var_vfloat (const std::string &name, std::vector< float > &vec) override |
void | insert_var_float (const std::string &name, float *ptr) override |
void | insert_var_double (const std::string &name, double *ptr) override |
void | remove_var (const std::string &name) override |
void | remove_ref (void *addr) override |
bool | is_var (const std::string &name) const override |
comm_var_t | get_var (const std::string &name) const override |
int | get_var_int (const std::string &name) const override |
float | get_var_float (const std::string &name) const override |
double | get_var_double (const std::string &name) const override |
const std::vector< std::string > & | get_entries () const override |
size_t | size () const override |
virtual void | set_prepared (bool prepared) |
The provider of this AC space must set the AC space to prepared at the end of its own prepare() operation and to not prepared at the beginning of its own release() operation. More... | |
Private Member Functions inherited from MHA_AC::algo_comm_t | |
virtual | ~algo_comm_t ()=default |
plug_t::plug_t | ( | const std::string & | libname | ) |
|
inline |
MHAProc_wave2wave_t plug_t::get_process_wave | ( | ) |
MHAProc_wave2spec_t plug_t::get_process_spec | ( | ) |
void * plug_t::get_handle | ( | ) |
|
inline |
|
overridevirtual |
Reimplemented from PluginLoader::mhapluginloader_t.
|
overridevirtual |
Reimplemented from PluginLoader::mhapluginloader_t.