Public Member Functions | |
Y2LanguageLoader () | |
~Y2LanguageLoader () | |
Private Attributes | |
std::stack< void * > | plugins |
In the transparent language binding architecture, created to bring Perl to YaST, component creators are asked whether they can provide a namespace. In order for this to function, a component creator for each language needs to be loaded. At the same time, we want the languages to be independent.
Therefore, the component creators of the languages (not necessarily the whole interpreters) are loaded dynamically in a constructor of a singleton static object, Y2LanguageLoader. The libraries loaded are ${plugindir}/libpy2lang_*.so
Y2LanguageLoader::Y2LanguageLoader | ( | ) |
Y2LanguageLoader::~Y2LanguageLoader | ( | ) |
References plugins.
std::stack<void *> Y2LanguageLoader::plugins [private] |
Referenced by Y2LanguageLoader(), and ~Y2LanguageLoader().