yast2-core
Public Member Functions | Private Attributes | List of all members
Y2LanguageLoader Class Reference

Public Member Functions

 Y2LanguageLoader ()
 
 ~Y2LanguageLoader ()
 

Private Attributes

std::stack< void * > plugins
 

Detailed Description

File: Y2LanguageLoader.cc Author: Martin Vidner mvidn.nosp@m.er@s.nosp@m.use.c.nosp@m.z

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

Constructor & Destructor Documentation

Y2LanguageLoader::Y2LanguageLoader ( )
Y2LanguageLoader::~Y2LanguageLoader ( )

References plugins.

Member Data Documentation

std::stack<void *> Y2LanguageLoader::plugins
private

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

Generated on a sunny day for yast2-core by doxygen 1.8.11