G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsDynamicLibrary Struct Reference

Detailed Description

Class defining a dynamic library.

This class stores a pointer to a dynamic library that can be compiled at runtime and provides extra functionality.

Public Member Functions

template<class T >
T * getSymbol (const char *name) const
 Get symbol from dynamic library.
 
 gsDynamicLibrary ()
 Default Constructor.
 
 gsDynamicLibrary (const char *filename, int flag)
 Constructor (using file name)
 
 operator bool () const
 Check if handle is assigned.
 

Private Attributes

memory::shared_ptr< void > handle
 Handle to dynamic library object.