![]() |
VR-Forces 4.0.4 Class Documentation
|
Public Member Functions | |
| DtVrfPluginManager () | |
| virtual | ~DtVrfPluginManager () |
| Calls unloadPlugins. | |
| const std::vector< DtVrfPlugin * > & | plugins () const |
| virtual bool | init () |
| Currently does nothing. Entry point for future use. | |
| virtual DtVrfPlugin * | loadPlugin (const DtString &, DtCgf *) |
| Loads and initializes plugin. | |
| virtual void | postInitializePlugins (DtCgf *) |
| Goes through all plugins and calls postInitializePlugin on them. | |
| void | setLoadIfVersionMismatch (bool) |
| Set to true if plugins should be loaded regardless of whether or not there is a version mismatch. | |
| bool | loadIfVersionMismatch () const |
| virtual void | setVrfMessageInterface (DtVrfMessageInterface *) |
| Sets message interface to listen for plugin information requests. | |
Protected Member Functions | |
| virtual void | processPluginInformationRequest (const DtIfPluginDataRequest &rsp) |
| virtual DtVrfPlugin * | loadPlugin (const DtString &) |
| Creates a DtVrfPlugin object which will load the plugin from disk. | |
| virtual void | initializePlugin (DtVrfPlugin *, DtCgf *) |
| virtual void | unloadPlugins () |
Static Protected Member Functions | |
| static void | pluginInformationRequestCallback (DtSimMessage *msg, void *usr) |
| Callback to handle sensor data arriving from the sim engine. | |
Protected Attributes | |
| std::vector< DtVrfPlugin * > | myPlugins |
| bool | myLoadIfVersionMismatch |
| DtVrfMessageInterface * | myVrfMessageInterface |
| virtual DtVrfPluginManager::~DtVrfPluginManager | ( | ) | [virtual] |
Calls unloadPlugins.
| const std::vector< DtVrfPlugin * > & DtVrfPluginManager::plugins | ( | ) | const [inline] |
References myPlugins.
| virtual bool DtVrfPluginManager::init | ( | ) | [virtual] |
Currently does nothing. Entry point for future use.
| virtual DtVrfPlugin* DtVrfPluginManager::loadPlugin | ( | const DtString & | , |
| DtCgf * | |||
| ) | [virtual] |
Loads and initializes plugin.
| virtual void DtVrfPluginManager::postInitializePlugins | ( | DtCgf * | ) | [virtual] |
Goes through all plugins and calls postInitializePlugin on them.
| void DtVrfPluginManager::setLoadIfVersionMismatch | ( | bool | b | ) | [inline] |
Set to true if plugins should be loaded regardless of whether or not there is a version mismatch.
By default, this is false. Note that the version check is done by a string compare
References myLoadIfVersionMismatch.
| bool DtVrfPluginManager::loadIfVersionMismatch | ( | ) | const [inline] |
References myLoadIfVersionMismatch.
| virtual void DtVrfPluginManager::setVrfMessageInterface | ( | DtVrfMessageInterface * | ) | [virtual] |
Sets message interface to listen for plugin information requests.
| static void DtVrfPluginManager::pluginInformationRequestCallback | ( | DtSimMessage * | msg, |
| void * | usr | ||
| ) | [static, protected] |
Callback to handle sensor data arriving from the sim engine.
| virtual void DtVrfPluginManager::processPluginInformationRequest | ( | const DtIfPluginDataRequest & | rsp | ) | [protected, virtual] |
| virtual DtVrfPlugin* DtVrfPluginManager::loadPlugin | ( | const DtString & | ) | [protected, virtual] |
Creates a DtVrfPlugin object which will load the plugin from disk.
| virtual void DtVrfPluginManager::initializePlugin | ( | DtVrfPlugin * | , |
| DtCgf * | |||
| ) | [protected, virtual] |
| virtual void DtVrfPluginManager::unloadPlugins | ( | ) | [protected, virtual] |
std::vector<DtVrfPlugin*> DtVrfPluginManager::myPlugins [protected] |
Referenced by plugins().
bool DtVrfPluginManager::myLoadIfVersionMismatch [protected] |
Referenced by loadIfVersionMismatch(), and setLoadIfVersionMismatch().