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

Class to create a plugin loader in a parser, including the load logic. More...

Inheritance diagram for MHAParser::mhapluginloader_t:
Inheritance graph

Public Member Functions

 mhapluginloader_t (MHAParser::parser_t &parent, MHA_AC::algo_comm_t &ac, const std::string &plugname_name="plugin_name", const std::string &prefix="")
 
 ~mhapluginloader_t ()
 
void prepare (mhaconfig_t &cf)
 
void release ()
 
void process (mha_wave_t *sIn, mha_wave_t **sOut)
 
void process (mha_spec_t *sIn, mha_spec_t **sOut)
 
void process (mha_wave_t *sIn, mha_spec_t **sOut)
 
void process (mha_spec_t *sIn, mha_wave_t **sOut)
 
mhaconfig_t get_cfin () const
 
mhaconfig_t get_cfout () const
 
const std::string & get_last_name () const
 

Protected Attributes

PluginLoader::mhapluginloader_tplug
 

Private Member Functions

void load_plug ()
 

Private Attributes

MHAParser::parser_tparent_
 
MHAParser::string_t plugname
 
std::string prefix_
 
MHAEvents::connector_t< mhapluginloader_tconnector
 
MHA_AC::algo_comm_tac_
 
std::string last_name
 
std::string plugname_name_
 
mhaconfig_t cf_in_
 
mhaconfig_t cf_out_
 

Static Private Attributes

static double bookkeeping
 

Detailed Description

Class to create a plugin loader in a parser, including the load logic.

Constructor & Destructor Documentation

◆ mhapluginloader_t()

MHAParser::mhapluginloader_t::mhapluginloader_t ( MHAParser::parser_t parent,
MHA_AC::algo_comm_t ac,
const std::string &  plugname_name = "plugin_name",
const std::string &  prefix = "" 
)

◆ ~mhapluginloader_t()

MHAParser::mhapluginloader_t::~mhapluginloader_t ( )

Member Function Documentation

◆ prepare()

void MHAParser::mhapluginloader_t::prepare ( mhaconfig_t cf)

◆ release()

void MHAParser::mhapluginloader_t::release ( )

◆ process() [1/4]

void MHAParser::mhapluginloader_t::process ( mha_wave_t sIn,
mha_wave_t **  sOut 
)
inline

◆ process() [2/4]

void MHAParser::mhapluginloader_t::process ( mha_spec_t sIn,
mha_spec_t **  sOut 
)
inline

◆ process() [3/4]

void MHAParser::mhapluginloader_t::process ( mha_wave_t sIn,
mha_spec_t **  sOut 
)
inline

◆ process() [4/4]

void MHAParser::mhapluginloader_t::process ( mha_spec_t sIn,
mha_wave_t **  sOut 
)
inline

◆ get_cfin()

mhaconfig_t MHAParser::mhapluginloader_t::get_cfin ( ) const
inline

◆ get_cfout()

mhaconfig_t MHAParser::mhapluginloader_t::get_cfout ( ) const
inline

◆ get_last_name()

const std::string& MHAParser::mhapluginloader_t::get_last_name ( ) const
inline

◆ load_plug()

void MHAParser::mhapluginloader_t::load_plug ( )
private

Member Data Documentation

◆ plug

PluginLoader::mhapluginloader_t* MHAParser::mhapluginloader_t::plug
protected

◆ parent_

MHAParser::parser_t& MHAParser::mhapluginloader_t::parent_
private

◆ plugname

MHAParser::string_t MHAParser::mhapluginloader_t::plugname
private

◆ prefix_

std::string MHAParser::mhapluginloader_t::prefix_
private

◆ connector

MHAEvents::connector_t<mhapluginloader_t> MHAParser::mhapluginloader_t::connector
private

◆ ac_

MHA_AC::algo_comm_t& MHAParser::mhapluginloader_t::ac_
private

◆ last_name

std::string MHAParser::mhapluginloader_t::last_name
private

◆ plugname_name_

std::string MHAParser::mhapluginloader_t::plugname_name_
private

◆ cf_in_

mhaconfig_t MHAParser::mhapluginloader_t::cf_in_
private

◆ cf_out_

mhaconfig_t MHAParser::mhapluginloader_t::cf_out_
private

◆ bookkeeping

double MHAParser::mhapluginloader_t::bookkeeping
staticprivate

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