The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
matlab_wrapper::matlab_wrapper_rt_cfg_t Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ matlab_wrapper_rt_cfg_t()

matlab_wrapper::matlab_wrapper_rt_cfg_t::matlab_wrapper_rt_cfg_t ( emxArray_user_config_t *  user_config_)
explicit

Ctor of the real time configuration class.

Creates a local copy of the user config

Parameters
user_config_Pointer to the array containing the user config

◆ ~matlab_wrapper_rt_cfg_t()

matlab_wrapper::matlab_wrapper_rt_cfg_t::~matlab_wrapper_rt_cfg_t ( )

Dtor.

Calls the appropriate c-style destructors of the emx_ types

Member Data Documentation

◆ user_config

emxArray_user_config_t* matlab_wrapper::matlab_wrapper_rt_cfg_t::user_config

User configuration to be used in the process callback.


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