Thea
|
Access and modify global properties of the current application. More...
#include <Application.hpp>
Static Public Member Functions | |
static DynLibManager & | getDynLibManager () |
Get the global dynamic library manager. More... | |
static Algorithms::EigenSolverManager & | getEigenSolverManager () |
Get the global eigensolver manager. More... | |
static Algorithms::LinearSolverManager & | getLinearSolverManager () |
Get the global linear solver manager. More... | |
static Algorithms::NumericalOptimizerManager & | getNumericalOptimizerManager () |
Get the global numerical optimizer manager. More... | |
static PluginManager & | getPluginManager () |
Get the global plugin manager. More... | |
static std::string | getPluginPath (std::string const &plugin_name, Array< std::string > const *plugin_dirs=nullptr) |
Get the fully qualified path to a plugin, or the empty string if it cannot be found. More... | |
static Graphics::RenderSystemManager & | getRenderSystemManager () |
Get the global rendersystem manager. More... | |
static std::string const & | getResourceArchive () |
Get the archive in which the application will look for resources (by default the directory containing the executable). More... | |
static std::string | getResourcePath (std::string const &resource_name) |
Get the fully qualified path to a resource, or the empty string if it cannot be found. More... | |
static std::string | programPath () |
Get the path to the current program. More... | |
static void | setResourceArchive (std::string const &path) |
Set the archive in which the application will look for resources. More... | |
Access and modify global properties of the current application.
Definition at line 43 of file Application.hpp.
|
static |
Get the global dynamic library manager.
Definition at line 78 of file Application.hpp.
|
static |
Get the global eigensolver manager.
Definition at line 81 of file Application.hpp.
|
static |
Get the global linear solver manager.
Definition at line 84 of file Application.hpp.
|
static |
Get the global numerical optimizer manager.
Definition at line 87 of file Application.hpp.
|
static |
Get the global plugin manager.
Definition at line 75 of file Application.hpp.
|
static |
Get the fully qualified path to a plugin, or the empty string if it cannot be found.
The search order is:
/usr/lib
and /usr/local/lib
plugin_name | Name of the plugin, with or without extension, relative path, leading "lib", etc. |
plugin_dirs | Optional additional set of search directories. |
Definition at line 123 of file Application.cpp.
|
static |
Get the global rendersystem manager.
Definition at line 90 of file Application.hpp.
|
static |
Get the archive in which the application will look for resources (by default the directory containing the executable).
Definition at line 52 of file Application.hpp.
|
static |
Get the fully qualified path to a resource, or the empty string if it cannot be found.
Definition at line 116 of file Application.cpp.
|
static |
Get the path to the current program.
Definition at line 66 of file Application.cpp.
|
static |
Set the archive in which the application will look for resources.
Definition at line 102 of file Application.cpp.