Simulacrum
1.2
|
#include <map>
#include "splugins.h"
#include <Toolbox/sysInfo/sysInfo.h>
#include <Toolbox/SFile/sfile.h>
#include <Toolbox/SURI/suri.h>
#include <Toolbox/SLogger/slogger.h>
#include <Core/sresource.h>
#include <Core/salgorithm.h>
#include <dlfcn.h>
Namespaces | |
Simulacrum | |
Macros | |
#define | LOADEDOBJ void* |
#define | LOADOBJ(x) dlopen(x,RTLD_NOW|RTLD_GLOBAL) |
#define | LOADERROR dlerror() |
#define | UNLOADOBJ(x) dlclose(x) |
#define | SYMREF void* |
#define | SYMLOOKUP(x, y) dlsym(x,y) |
Typedefs | |
typedef int(* | abifunc_t) (void) |
typedef void(* | regfunc_t) (SPluginManager *) |
typedef std::map< std::string, std::map< std::string, SPluginFactory * > > | pstore_t |
typedef std::map< std::string, SPluginFactory * > | pstorelist_t |
typedef std::map< std::string, LOADEDOBJ > | pobjlist_t |
Functions | |
int | loadLuaResources (SPluginManager &plugman, const std::string &source="") |
int | loadLuaAlgorithms (SPluginManager &plugman, const std::string &source="") |
#define LOADEDOBJ void* |
#define LOADERROR dlerror() |
#define LOADOBJ | ( | x | ) | dlopen(x,RTLD_NOW|RTLD_GLOBAL) |
#define SYMLOOKUP | ( | x, | |
y | |||
) | dlsym(x,y) |
#define SYMREF void* |
#define UNLOADOBJ | ( | x | ) | dlclose(x) |
typedef int(* abifunc_t) (void) |
typedef std::map<std::string,LOADEDOBJ> pobjlist_t |
typedef std::map<std::string,std::map<std::string,SPluginFactory*> > pstore_t |
typedef std::map<std::string,SPluginFactory*> pstorelist_t |
typedef void(* regfunc_t) (SPluginManager *) |
int loadLuaAlgorithms | ( | SPluginManager & | plugman, |
const std::string & | source = "" |
||
) |
int loadLuaResources | ( | SPluginManager & | plugman, |
const std::string & | source = "" |
||
) |