![]() |
VR-Forces 4.8 Class Documentation
|

Public Types | |
| typedef std::vector < DtVrfMessagePluginInformation > | PluginInformationList |
| typedef std::map< std::string, PluginInformationList > | PluginInformationMap |
Public Types inherited from DtVrfPluginRecordManager | |
| typedef std::vector < DtVrfPluginRecord > | PluginRecords |
Public Member Functions | |
| DtVrfGuiPluginManager (makVrv::DtDe &) | |
| virtual | ~DtVrfGuiPluginManager () |
| virtual void | readPluginsFrom (makVrv::DtVrvApplicationConfiguration &config) |
| Fills in all plugins to load and places them into the configuration. More... | |
| virtual const std::vector < std::string > & | additionalPluginsToLoad () |
| virtual void | setAdditionalPluginsToLoad (const std::vector< std::string > &) |
| virtual bool | loadDefaultPlugins () |
| virtual void | setLoadDefaultPlugins (bool) |
| virtual void | setPluginsDirectory (const std::string &) |
| virtual const std::string & | pluginsDirectory () const |
| virtual void | addPluginRecord (const DtVrfPluginRecord &) |
| Adds the specified plugin record. More... | |
| virtual bool | removePluginRecord (const std::string &) |
| The record to remove must be the filename that matches a plugin record. Emits signal if removed. More... | |
| virtual bool | renamePluginRecord (const std::string &curFileName, const std::string &newName) |
| Renames plugin to new file name. More... | |
| virtual void | initializeCommandLineArguments (DtVrfGuiCommandLineParser *) |
| Loads plugins from xml and command line to see if they have the function to install additional command line arguments. More... | |
| virtual bool | removePlugin (const std::string &fileName, const std::string &application, const std::string &platform, const std::string &configuration, const std::string &transport) |
| Removes the plugin line from the specified plugin. More... | |
| virtual bool | addPlugin (const std::string &fileName, const std::string &application, const std::string &platform, const std::string &configuration, const std::string &transport) |
| Adds the plugin line to the specified plugin. Emits signal if added. More... | |
| virtual void | setLoadPlugin (const std::string &fileName, bool b) |
| Sets to load plugin. Will emit signal after set. More... | |
| const PluginInformationMap & | loadedPlugins () const |
| Plugins known about (back and front-end) More... | |
| void | setVrvPluginManager (makVrv::DtPluginManager *m) |
| void | setCheckPluginVersions (bool) |
| Set to false to not check plugin versions on load. More... | |
| bool | checkPluginVersions () const |
Public Member Functions inherited from DtVrfPluginRecordManager | |
| DtVrfPluginRecordManager () | |
| CTOR. More... | |
| virtual | ~DtVrfPluginRecordManager () |
| virtual void | clear () |
| Clears records of plugins to load. More... | |
| virtual void | readPluginsFrom (const std::string &directory) |
| Reads the plugins to load from the specified directory. More... | |
| void | setApplication (const std::string &application) |
| Map by application (vrfSim, vrfGui, etc.) More... | |
| virtual const std::string & | application () const |
| void | setPlatform (const std::string &platform) |
| Map by platform (Windows, Irix, Linux, etc.) More... | |
| virtual const std::string & | platform () const |
| virtual void | addTransport (const std::string &) |
| Map by protocol (DIS, HLA13, HLA1516 or Independent) More... | |
| virtual void | removeTransport (const std::string &) |
| virtual const std::vector < std::string > & | transports () const |
| void | setConfiguration (const std::string &) |
| Map by build configuration (Release, Debug or Unknown) More... | |
| virtual const std::string & | configuration () const |
| virtual std::vector< std::string > | pluginsToLoad () const |
| Returns a list of all plugins to load given. More... | |
| virtual const PluginRecords & | plugins () const |
| virtual PluginRecords & | plugins () |
| virtual DtVrfPluginRecord | pluginRecord (const std::string &fileName) const |
| Returns a record with the given filename. If no record exists, blank record is returned. More... | |
| virtual void | setPlugin (const std::string &fileName, const std::string &application, const std::string &platform, const std::string &configuration, const std::string &transport, const std::string &plugin) |
| Sets the plugin to load. More... | |
| bool | autoSave () const |
| void | setAutoSave (bool) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtVrfGuiPluginManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. More... | |
Public Attributes | |
| boost::signals2::signal< void(const DtVrfPluginRecord &)> | signal_pluginRecordAdded |
| boost::signals2::signal< void(const DtVrfPluginRecord &)> | signal_pluginRecordRemoved |
| boost::signals2::signal< void(const std::string &, const std::string &)> | signal_pluginRecordRenamed |
| boost::signals2::signal< void(const std::string &, const std::string &, const std::string &, const std::string &, const std::string &)> | signal_pluginRemoved |
| boost::signals2::signal< void(const std::string &, const std::string &, const std::string &, const std::string &, const std::string &)> | signal_pluginAdded |
| boost::signals2::signal< void(const std::string &, bool)> | signal_pluginLoadStateChanged |
| boost::signals2::signal< void(const std::string &, const PluginInformationList &)> | signal_pluginsAdded |
| boost::signals2::signal< void(const std::string &, const PluginInformationList &)> | signal_pluginsRemoved |
Protected Member Functions | |
| virtual void | initializePlugins () |
| Initializes back-end plugins and structures as well as front-end. More... | |
| virtual void | initializeFrontEndPlugins () |
| virtual void | initializeBackEndPlugins () |
| virtual void | slot_backendDiscovered (const DtVrfBackendState &) |
| virtual void | slot_backendRemoved (const DtVrfBackendState &) |
| virtual void | slot_allBackendsAboutToBeRemoved () |
| virtual void | processPluginData (DtSimMessage *) |
| virtual void | removePendingRequest (const DtVrfBackendState &) |
| virtual bool | checkVersion (DtDynamicLibrary *lib, const std::string &appVer) const |
| virtual std::string | pluginVersion () const |
| Returns the acceptable version for loading plugins. Must be an exact match. More... | |
Protected Attributes | |
| std::vector< std::string > | myAdditionalPluginsToLoad |
| bool | myLoadDefaultPlugins |
| bool | myCheckPluginVersions |
| std::string | myPluginsDirectory |
| makVrv::DtDe & | myDe |
| std::vector< std::string > | myPendingPluginRequests |
| PluginInformationMap | myPlugins |
| makVrv::DtPluginManager * | myVrvPluginManager |
Protected Attributes inherited from DtVrfPluginRecordManager | |
| PluginRecords | myPluginRecords |
| std::string | myPlatform |
| std::string | myConfiguration |
| std::string | myApplication |
| std::vector< std::string > | myTransports |
| bool | myAutoSave |
| typedef std::vector<DtVrfMessagePluginInformation> makVrf::DtVrfGuiPluginManager::PluginInformationList |
| typedef std::map<std::string, PluginInformationList> makVrf::DtVrfGuiPluginManager::PluginInformationMap |
| makVrf::DtVrfGuiPluginManager::DtVrfGuiPluginManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
virtual |
Fills in all plugins to load and places them into the configuration.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Adds the specified plugin record.
Reimplemented from DtVrfPluginRecordManager.
|
virtual |
The record to remove must be the filename that matches a plugin record. Emits signal if removed.
Reimplemented from DtVrfPluginRecordManager.
|
virtual |
Renames plugin to new file name.
Will save new record if save is true. Does not delete original. Will emit signal if successfully renamed
Reimplemented from DtVrfPluginRecordManager.
|
virtual |
Loads plugins from xml and command line to see if they have the function to install additional command line arguments.
|
virtual |
Removes the plugin line from the specified plugin.
Will return true if the plugin line exists and is removed. Emits signal if removed
Reimplemented from DtVrfPluginRecordManager.
|
virtual |
Adds the plugin line to the specified plugin. Emits signal if added.
Reimplemented from DtVrfPluginRecordManager.
|
virtual |
Sets to load plugin. Will emit signal after set.
Reimplemented from DtVrfPluginRecordManager.
| const PluginInformationMap& makVrf::DtVrfGuiPluginManager::loadedPlugins | ( | ) | const |
Plugins known about (back and front-end)
|
inline |
| void makVrf::DtVrfGuiPluginManager::setCheckPluginVersions | ( | bool | ) |
Set to false to not check plugin versions on load.
| bool makVrf::DtVrfGuiPluginManager::checkPluginVersions | ( | ) | const |
|
protectedvirtual |
Initializes back-end plugins and structures as well as front-end.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Returns the acceptable version for loading plugins. Must be an exact match.
| boost::signals2::signal<void (const DtVrfPluginRecord&)> makVrf::DtVrfGuiPluginManager::signal_pluginRecordAdded |
| boost::signals2::signal<void (const DtVrfPluginRecord&)> makVrf::DtVrfGuiPluginManager::signal_pluginRecordRemoved |
| boost::signals2::signal<void (const std::string&, const std::string&)> makVrf::DtVrfGuiPluginManager::signal_pluginRecordRenamed |
| boost::signals2::signal<void (const std::string&, const std::string&, const std::string&, const std::string&, const std::string&)> makVrf::DtVrfGuiPluginManager::signal_pluginRemoved |
| boost::signals2::signal<void (const std::string&, const std::string&, const std::string&, const std::string&, const std::string&)> makVrf::DtVrfGuiPluginManager::signal_pluginAdded |
| boost::signals2::signal<void (const std::string&, bool)> makVrf::DtVrfGuiPluginManager::signal_pluginLoadStateChanged |
| boost::signals2::signal<void (const std::string&, const PluginInformationList&)> makVrf::DtVrfGuiPluginManager::signal_pluginsAdded |
| boost::signals2::signal<void (const std::string&, const PluginInformationList&)> makVrf::DtVrfGuiPluginManager::signal_pluginsRemoved |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |