gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <PluginManager.h>
Public Member Functions | |
virtual | ~PluginManager () |
void | registerDefaultPlugins () |
void | addPlugin (const std::string &fileName) |
void | uninstallPlugin (const std::string &pluginName) |
void | setPluginOption (const std::string &pluginName, const std::string &option, double value) |
void | setPluginOption (const std::string &pluginName, const std::string &option, const std::string &value) |
std::map< std::string, GMSH_Plugin * >::iterator | begin () |
std::map< std::string, GMSH_Plugin * >::iterator | end () |
GMSH_Plugin * | find (const std::string &pluginName) |
GMSH_SolverPlugin * | findSolverPlugin () |
int | action (const std::string &pluginName, const std::string &action, void *data) |
Static Public Member Functions | |
static PluginManager * | instance () |
Private Member Functions | |
PluginManager () | |
Private Attributes | |
std::map< std::string, GMSH_Plugin * > | allPlugins |
Static Private Attributes | |
static PluginManager * | _instance = nullptr |
Definition at line 15 of file PluginManager.h.
|
inlineprivate |
Definition at line 17 of file PluginManager.h.
Referenced by instance().
|
virtual |
Definition at line 92 of file PluginManager.cpp.
int PluginManager::action | ( | const std::string & | pluginName, |
const std::string & | action, | ||
void * | data | ||
) |
void PluginManager::addPlugin | ( | const std::string & | fileName | ) |
Definition at line 319 of file PluginManager.cpp.
Referenced by registerDefaultPlugins().
|
inline |
Definition at line 44 of file PluginManager.h.
|
inline |
Definition at line 48 of file PluginManager.h.
Referenced by PrintOptionsDoc().
GMSH_Plugin * PluginManager::find | ( | const std::string & | pluginName | ) |
Definition at line 99 of file PluginManager.cpp.
Referenced by action(), and setPluginOption().
GMSH_SolverPlugin * PluginManager::findSolverPlugin | ( | ) |
|
static |
Definition at line 169 of file PluginManager.cpp.
Referenced by GmshFinalize(), GmshInitialize(), GmshMainFLTK(), and PrintOptionsDoc().
void PluginManager::registerDefaultPlugins | ( | ) |
Definition at line 175 of file PluginManager.cpp.
Referenced by GmshInitialize(), and GmshMainFLTK().
void PluginManager::setPluginOption | ( | const std::string & | pluginName, |
const std::string & | option, | ||
const std::string & | value | ||
) |
void PluginManager::setPluginOption | ( | const std::string & | pluginName, |
const std::string & | option, | ||
double | value | ||
) |
|
inline |
Definition at line 35 of file PluginManager.h.
|
staticprivate |
Definition at line 18 of file PluginManager.h.
Referenced by instance(), and ~PluginManager().
|
private |
Definition at line 19 of file PluginManager.h.
Referenced by addPlugin(), begin(), end(), find(), findSolverPlugin(), registerDefaultPlugins(), and ~PluginManager().