The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
A class for converting AC variables to Parser monitors of correct type. More...
Public Member Functions | |
ac_monitor_t (MHAParser::parser_t &parent, const std::string &name_, MHA_AC::algo_comm_t &ac, bool use_matrix) | |
Converts AC variable to parser monitor. More... | |
void | getvar (MHA_AC::algo_comm_t &ac) |
Update values of monitor. More... | |
Public Attributes | |
std::string | name |
name of AC variable and parser monitor More... | |
std::string | dimstr |
columns x rows More... | |
MHAParser::vfloat_mon_t | mon |
Monitor used for real vectors. More... | |
MHAParser::mfloat_mon_t | mon_mat |
Monitor used for real matrices. More... | |
MHAParser::vcomplex_mon_t | mon_complex |
monitor used for complex vectors More... | |
MHAParser::mcomplex_mon_t | mon_mat_complex |
monitor used for complex matrices More... | |
MHAParser::string_mon_t | mon_string |
MHAParser::parser_t & | p_parser |
parent parser to insert monitor into More... | |
Private Attributes | |
bool | use_mat |
if true, use matrix monitor, else use vector monitor More... | |
A class for converting AC variables to Parser monitors of correct type.
acmon::ac_monitor_t::ac_monitor_t | ( | MHAParser::parser_t & | parent, |
const std::string & | name_, | ||
MHA_AC::algo_comm_t & | ac, | ||
bool | use_matrix | ||
) |
Converts AC variable to parser monitor.
parent | The parser to insert a monitor into |
name_ | The name of the AC variable and the monitor variable |
ac | Handle to algorithm communication space |
use_matrix | Indicates if a matrix monitor type should be used. |
void acmon::ac_monitor_t::getvar | ( | MHA_AC::algo_comm_t & | ac | ) |
Update values of monitor.
ac | Handle to algorithm communication space |
std::string acmon::ac_monitor_t::name |
name of AC variable and parser monitor
std::string acmon::ac_monitor_t::dimstr |
columns x rows
MHAParser::vfloat_mon_t acmon::ac_monitor_t::mon |
Monitor used for real vectors.
MHAParser::mfloat_mon_t acmon::ac_monitor_t::mon_mat |
Monitor used for real matrices.
MHAParser::vcomplex_mon_t acmon::ac_monitor_t::mon_complex |
monitor used for complex vectors
MHAParser::mcomplex_mon_t acmon::ac_monitor_t::mon_mat_complex |
monitor used for complex matrices
MHAParser::string_mon_t acmon::ac_monitor_t::mon_string |
MHAParser::parser_t& acmon::ac_monitor_t::p_parser |
parent parser to insert monitor into
|
private |
if true, use matrix monitor, else use vector monitor