![]() |
VR-Forces 4.8 Class Documentation
|
DtObserverModeSettingCommand is the common base class for all VRV Commands that toggle an observer mode setting. More...

Public Member Functions | |
| DtObserverModeSettingCommand () | |
| CTOR. More... | |
| virtual | ~DtObserverModeSettingCommand () |
| DTOR. More... | |
| virtual DtObserverSettingsManager::ObserverSetting | settingToControl () const =0 |
| Return the observer mode setting that this command controls. More... | |
| virtual void | execute (DtDe &de) |
| Execute the command (change the observer mode setting) if the observer mode has view control enabled. More... | |
| virtual void | setFromControlPacket (vrvControlToolkit::DtVrvControl_v1 *control) |
| Initialize the command from a vrvControl packet. More... | |
| virtual std::string | observerModeName () const |
| Set / Get the name of the observer mode to change. More... | |
| virtual void | setObserverModeName (const std::string &mode) |
| virtual bool | isEnabled () const |
| Set / Get whether the setting is being enabled or disabled. More... | |
| virtual void | setEnabled (bool state) |
Public Member Functions inherited from makVrv::DtVrvCommand | |
| DtVrvCommand () | |
| virtual | ~DtVrvCommand () |
| virtual vrvControlToolkit::DtVrvControlTypeEnum | commandType () |
Protected Member Functions | |
| virtual void | setSettingByObserverModeIntKey (DtDe &de, int observerModeIntKey) |
| virtual void | setSettingByObserverModeName (DtDe &de, const std::string &observerModeName) |
Protected Attributes | |
| std::string | myObserverModeName |
| bool | myState |
Protected Attributes inherited from makVrv::DtVrvCommand | |
| vrvControlToolkit::DtVrvControlTypeEnum | myCommandType |
DtObserverModeSettingCommand is the common base class for all VRV Commands that toggle an observer mode setting.
| makVrv::DtObserverModeSettingCommand::DtObserverModeSettingCommand | ( | ) |
CTOR.
|
virtual |
DTOR.
|
pure virtual |
Return the observer mode setting that this command controls.
Implemented in makVrv::DtDepthOfFieldCommand, makVrv::DtOceanSprayCommand, makVrv::DtDetonationsCommand, makVrv::DtDustCloudsCommand, makVrv::DtDynamicLightsCommand, makVrv::DtDynamicOceanCommand, makVrv::DtFlamesCommand, makVrv::DtFootprintsCommand, makVrv::DtModelScalingCommand, makVrv::DtMuzzleFlashesCommand, makVrv::DtRainSplashCommand, makVrv::DtSensorFieldsOfViewCommand, makVrv::DtSkyCommand, makVrv::DtSmokePlumesCommand, makVrv::DtSpeedScalingCommand, makVrv::DtTacticalSmokeCommand, makVrv::DtTracersCommand, makVrv::DtTrackHistoriesCommand, makVrv::DtTracksCommand, makVrv::DtVaporTrailsCommand, and makVrv::DtWaveSplashCommand.
|
virtual |
Set / Get the name of the observer mode to change.
|
virtual |
|
virtual |
Set / Get whether the setting is being enabled or disabled.
|
virtual |
|
virtual |
Execute the command (change the observer mode setting) if the observer mode has view control enabled.
Implements makVrv::DtVrvCommand.
|
virtual |
Initialize the command from a vrvControl packet.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |