| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/io/plugin.h>
Static Public Member Functions | |
| static bool | isLoaded (const std::string &plugInName) |
| static bool | load (const std::string &plugInFileNameWithPath, const std::string &initFunctionName=std::string()) |
| static std::string | fullName (const std::string &plugInName="") |
| static bool | AddDllSearchDirectory (const std::string &directory) |
| static bool VRS::PlugIn::isLoaded | ( | const std::string & | plugInName | ) | [static] |
Returns if the given plugin has alreay been loaded, (e.g. "vrs_qt", or "vrs_qt.dll"). Use only the plugin filename without a path.
| static bool VRS::PlugIn::load | ( | const std::string & | plugInFileNameWithPath, | |
| const std::string & | initFunctionName = std::string() | |||
| ) | [static] |
Tries to load the given plugin and returns true on success.
| static std::string VRS::PlugIn::fullName | ( | const std::string & | plugInName = "" |
) | [static] |
Returns the full filename to the given (loaded) plugin or "" if the filename cannot be determined. If "" is used as plugin name, the full filename for the running application is returned.
| static bool VRS::PlugIn::AddDllSearchDirectory | ( | const std::string & | directory | ) | [static] |
Calls kernel function SetDllDirectory if available (on Windows XP SP1 and later) otherwise does nothing and returns false.