Privacy
An open-source, flexible 3D physical simulation framework
lib_manager Namespace Reference

Classes

struct  LibInfo
 
class  LibInterface
 The interface to load libraries dynamically. More...
 
class  LibManager
 
struct  libStruct
 
struct  ModuleInfo
 

Typedefs

typedef void * destroyLib(LibInterface *sp)
 
typedef LibInterfacecreateLib(LibManager *theManager)
 
typedef LibInterfacecreateLib2(LibManager *theManager, void *configuration)
 

Functions

static LibHandle intern_loadLib (const string &libPath, bool optional=false)
 
template<typename T >
static T getFunc (LibHandle libHandle, const string &name)
 
static std::string getErrorStr ()
 
static LibHandle intern_loadLib (const std::string &libPath, bool optional)
 
template<typename T >
static T getFunc (LibHandle libHandle, const std::string &name)
 

Variables

static struct LibInfo stdlibInfo = { "unknown stdlib", "", 0, "", "", 0 }
 

Typedef Documentation

◆ createLib

typedef LibInterface* lib_manager::createLib(LibManager *theManager)

Definition at line 127 of file LibInterface.hpp.

◆ createLib2

typedef LibInterface* lib_manager::createLib2(LibManager *theManager, void *configuration)

Definition at line 128 of file LibInterface.hpp.

◆ destroyLib

typedef void* lib_manager::destroyLib(LibInterface *sp)

Definition at line 126 of file LibInterface.hpp.

Function Documentation

◆ getErrorStr()

static std::string lib_manager::getErrorStr ( )
static

Definition at line 472 of file LibManager.cpp.

◆ getFunc() [1/2]

template<typename T >
static T lib_manager::getFunc ( LibHandle  libHandle,
const string &  name 
)
static

◆ getFunc() [2/2]

template<typename T >
static T lib_manager::getFunc ( LibHandle  libHandle,
const std::string &  name 
)
static

Definition at line 509 of file LibManager.cpp.

◆ intern_loadLib() [1/2]

static LibHandle lib_manager::intern_loadLib ( const string &  libPath,
bool  optional = false 
)
static

◆ intern_loadLib() [2/2]

static LibHandle lib_manager::intern_loadLib ( const std::string &  libPath,
bool  optional 
)
static

Definition at line 488 of file LibManager.cpp.

Variable Documentation

◆ stdlibInfo

struct LibInfo lib_manager::stdlibInfo = { "unknown stdlib", "", 0, "", "", 0 }
static

Definition at line 53 of file LibManager.cpp.