|
Field3D
|
Contains implementations of plugin loading functions. More...
#include <dlfcn.h>#include <dirent.h>#include <sys/types.h>#include <stdlib.h>#include <string>#include <vector>#include <stdio.h>#include <errno.h>#include <string.h>#include <boost/tokenizer.hpp>#include "ClassFactory.h"#include "PluginLoader.h"Go to the source code of this file.
Functions | |
| static int | filter (std::string &name, const char *suffix) |
| static RegistrationFunc | findRegistrationFunc (const std::string &sofile) |
| bool | getDirSos (std::vector< std::string > &sos, std::string &dir) |
Variables | |
| FIELD3D_NAMESPACE_OPEN typedef int(* | RegistrationFunc )(ClassFactory &) |
Contains implementations of plugin loading functions.
Definition in file PluginLoader.cpp.
|
static |
Definition at line 105 of file PluginLoader.cpp.
Referenced by getDirSos().
| bool getDirSos | ( | std::vector< std::string > & | sos, |
| std::string & | dir | ||
| ) |
Definition at line 125 of file PluginLoader.cpp.
References filter().
Referenced by PluginLoader::loadPlugins().
|
static |
Definition at line 181 of file PluginLoader.cpp.
References Msg::print(), RegistrationFunc, and Msg::SevWarning.
Referenced by PluginLoader::loadPlugins().
| FIELD3D_NAMESPACE_OPEN typedef int(* RegistrationFunc) (ClassFactory &) | ( | ClassFactory & | ) |
Definition at line 92 of file PluginLoader.cpp.
Referenced by findRegistrationFunc(), and PluginLoader::loadPlugins().