![]() |
VR-Forces 4.8 Class Documentation
|
The DtVrfScriptedTaskSettingsManager class will keep track of settings that are scenario specific for scripted tasks. More...

Public Member Functions | |
| DtVrfScriptedTaskSettingsManager (makVrv::DtDe &) | |
| virtual | ~DtVrfScriptedTaskSettingsManager () |
| virtual bool | systemScriptAvailable (const std::string &) const |
| Returns true if system script is available for task menu. More... | |
| virtual void | setSystemScriptAvailable (const std::string &id, bool) |
| Set whether or not system script is available. Will emit signal if value changes. More... | |
| virtual void | removeSystemScript (const std::string &id, bool signal=true) |
| Removes script. More... | |
| virtual void | clear () |
| Clears all settings. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtVrfScriptedTaskSettingsManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. More... | |
| static void | registerInstance (makVrv::DtDe &, DtVrfScriptedTaskSettingsManager *) |
Public Attributes | |
| boost::signals2::signal< void(std::string, bool)> | signal_systemScriptAvailabilityChanged |
Protected Types | |
| typedef std::map< std::string, bool > | SystemScriptsAvailable |
Protected Member Functions | |
| virtual void | read (boost::archive::xml_iarchive &ar, int version) |
| virtual void | write (boost::archive::xml_oarchive &ar, int version) const |
| virtual void | scriptIdChanged (const std::string &oldId, const std::string &newId) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| SystemScriptsAvailable | mySystemScriptsAvailable |
| makVrv::DtSignalConnectionManager | myConnections |
The DtVrfScriptedTaskSettingsManager class will keep track of settings that are scenario specific for scripted tasks.
Currently the only setting is whether or not system scripts are available on the task menu.
|
protected |
| makVrf::DtVrfScriptedTaskSettingsManager::DtVrfScriptedTaskSettingsManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
static |
|
virtual |
Returns true if system script is available for task menu.
|
virtual |
Set whether or not system script is available. Will emit signal if value changes.
|
virtual |
Removes script.
|
virtual |
Clears all settings.
|
protectedvirtual |
Implements makVrf::DtGuiSetting.
|
protectedvirtual |
Implements makVrf::DtGuiSetting.
|
protectedvirtual |
| boost::signals2::signal<void (std::string, bool)> makVrf::DtVrfScriptedTaskSettingsManager::signal_systemScriptAvailabilityChanged |
|
protected |
|
mutableprotected |
|
protected |