Classes | |
class | sdl::Exception |
generic SDL exception More... | |
class | sdl::TypeMismatch |
type mismatch exception. More... | |
class | sdl::UnknownMember |
unknown member exception. More... | |
class | sdl::Member |
proxy for a data member or member function a dynamically-loaded class More... | |
class | sdl::Object |
proxy for an object of a dynamically-loaded class More... | |
class | sdl::Class |
meta-class whose instances represent dynamically-loaded classes. More... | |
class | sdl::ConcreteClass< T > |
concrete implementation of the base meta-class. More... | |
struct | sdl::ConcreteClass< T >::MemberDescr |
class | sdl::ConcreteClass< T >::ObjectProxy |
Enumerations | |
enum | member_typeid_t { m_unknown_tid = 0, m_int_tid = 1, m_char_tid = 2, m_long_tid = 3, m_bool_tid = 4, m_double_tid = 5, m_float_tid = 6, m_string_tid = 7, m_c_string_tid = 8, m_char_p_tid = 9, m_c_char_p_tid = 10, m_void_p_tid = 11, mf_void_void_tid = 12, mf_void_int_tid = 13, mf_void_char_tid = 14, mf_void_long_tid = 15, mf_void_bool_tid = 16, mf_void_float_tid = 17, mf_void_double_tid = 18, mf_void_c_string_r_tid = 19, mf_void_c_char_p_tid = 20, mf_void_void_p_tid = 21 } |
Functions | |
const char * | type_declarator (unsigned int) throw () |
Class * | load_class (const string &classname, const string &libname) throw (Exception) |
loads a named class from the given library | |
void | close_libraries () |
closes all open libraries. |
This namespace groups the types and functionalities assiciated with the Simple Dynamic Loader. These include:
|
loads a named class from the given library
Loads the given library and sets the necessary bindings for the given named class. This method relies on the systems' dynamic loader. In most systems, the dynamic loader uses an environment variable (usually
|