![]() |
VR-Forces Developer's Guide
|
Logic of the entity control panel widget: tasks executions, handling selection change, handling data updates and so on.
Protected Member Functions | |
| virtual void | initialize () |
| virtual bool | extractDataBasedOnEntityType (const DtEntityType &entityType, DtString &movementParamsType, double &minSpeed, double &maxSpeed, double &maxOrderedIas, double &maxOrderedMach, double &minAlt, double &maxAlt, bool &enableAlt, double &maxTurn, double &maxClimb, bool &isSupported) |
| virtual void | setDataFromMovementParamsType (const DtString &movementParamsType) |
| virtual void | sendSetDataRequest (const DtSetDataRequest &request, const std::set< makVrv::DtUniqueID > &idSet) |
| virtual void | sendTaskRequest (const DtSimTask &task, const std::set< makVrv::DtUniqueID > &idSet) |
| virtual void | clear () |
| virtual void | refreshDisplayUnitsLabels () |
| virtual void | initializeHeadingUnits () |
| virtual void | slot_displayUnitDecimalsChanged (const makVrv::DtUnicode &category, const makVrv::DtUnicode &type) |
| virtual void | setAltitudeRange (double minAlt, double maxAlt) |
| virtual void | setActualAltitude (double altitude) |
| virtual void | setRequestedAltitude (double altitude) |
| virtual void | setTerrainHeight (double altitude) |
| virtual void | setSpeedRange (double minSpeed, double maxSpeed) |
| virtual void | setActualSpeed (const DtVector &velocity) |
| virtual void | setActualSpeed (double speed) |
| virtual void | setRequestedSpeed (double speed) |
| virtual double | requestedSpeed () const |
| virtual bool | requestedSpeedChanged (const makVrv::DtStateView< DtVrfObjectDataState > *, boost::optional< DtReal > &reqSpeed) const |
| virtual double | convertNativeToDisplaySpeed (double speed) const |
| virtual double | convertDisplaySpeedToNative (double speed) const |
| makVrf::DtEntityControlPanelWidgetLogic::DtEntityControlPanelWidgetLogic | ( | makVrv::DtDe & | de, |
| DtEntityControlPanelWidgetInterface * | i | ||
| ) |
|
virtual |
|
virtual |
call to the interface update functions
|
virtual |
called from init to make sure requested sliders start at the initial actual sliders
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
enable the myUpdateRequestedHeading flag
|
virtual |
each stationary entity will move towards it's own heading
| void makVrf::DtEntityControlPanelWidgetLogic::resetSelectedMapperKey | ( | ) |
|
virtual |
|
virtual |
Block boost signals from being sent.
| bool makVrf::DtEntityControlPanelWidgetLogic::signalsBlocked | ( | ) | const |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
all altitude values in meters
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
all speed values in meters per second
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
convert native speed to display speed taking into account if the control panel is working in air speed type or not
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
selection is valid if all selected entity types are of the same movement parameters type and all alt and speed ranges need to fall into a single common alt range and a single common speed range if not, the panel will be reset and disabled
|
protected |
selection is supported if all selected entity types are supported if not, the panel will still display updated data (e.g. actual heading) but will be disabled
|
protected |
|
protected |
flags to update the requested UI from the network
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Keep track of current speed range in ms to be used when changing air speed type.
|
protected |
|
protected |
|
protected |
|
protected |