The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Class to access the information stored in the plugin source code's MHAPLUGIN_DOCUMENTATION macro. More...
Public Member Functions | |
latex_doc_t (const std::string &plugname, const std::string &plugin_macro) | |
Constructor loads the plugin into this process. More... | |
std::string | get_latex_doc () |
This method accesses the compiled-in contents of the MHAPLUGIN_DOCUMENTATION macro and the exported interface functions of the loaded plugin to produce latex docuementation for the plugin. More... | |
std::string | get_main_category () const |
std::vector< std::string > | get_categories () const |
Private Member Functions | |
std::string | strdom (mha_domain_t d) const |
std::string | get_ac (MHA_AC::algo_comm_t &ac, std::string txt) const |
std::string | parsername (std::string s) const |
std::string | get_parser_var (MHAParser::base_t *p, std::string name) const |
std::string | get_parser_tab (MHAParser::base_t *p, const std::string &prefix, const std::string &latex_macro) const |
Private Attributes | |
const std::string | plugname |
const std::string | latex_plugname |
MHA_AC::algo_comm_class_t | ac |
std::unique_ptr< plug_wrapperI > | loader |
const std::string | plugin_macro |
Class to access the information stored in the plugin source code's MHAPLUGIN_DOCUMENTATION macro.
latex_doc_t::latex_doc_t | ( | const std::string & | plugname, |
const std::string & | plugin_macro | ||
) |
Constructor loads the plugin into this process.
plugname | Name of the MHA plugin to process |
plugin_macro | name of the LaTeX section macro that documents a single plugin (e.g. "section", "subsection", "subsubsection", ...) |
std::string latex_doc_t::get_latex_doc | ( | ) |
This method accesses the compiled-in contents of the MHAPLUGIN_DOCUMENTATION macro and the exported interface functions of the loaded plugin to produce latex docuementation for the plugin.
It tentatively prepares the plugin for processing and checks the AC variables registered by the plugin.
std::string latex_doc_t::get_main_category | ( | ) | const |
std::vector< std::string > latex_doc_t::get_categories | ( | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |