The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Thin wrapper around the emxArray containing the user defined configuration variables. More...
Public Member Functions | |
matlab_wrapper_rt_cfg_t (emxArray_user_config_t *user_config_) | |
Ctor of the real time configuration class. More... | |
~matlab_wrapper_rt_cfg_t () | |
Dtor. More... | |
Public Attributes | |
emxArray_user_config_t * | user_config |
User configuration to be used in the process callback. More... | |
Thin wrapper around the emxArray containing the user defined configuration variables.
This wrapper holds a copy of the user configuration which is used by the process callback. On write access to a variable, the user configuration is changed and a new copy is created and exchanged in a real time safe manner.
|
explicit |
Ctor of the real time configuration class.
Creates a local copy of the user config
user_config_ | Pointer to the array containing the user config |
matlab_wrapper::matlab_wrapper_rt_cfg_t::~matlab_wrapper_rt_cfg_t | ( | ) |
Dtor.
Calls the appropriate c-style destructors of the emx_ types
emxArray_user_config_t* matlab_wrapper::matlab_wrapper_rt_cfg_t::user_config |
User configuration to be used in the process callback.