![]() |
VR-Forces Developer's Guide
|
Public Types | |
| typedef std::list< std::string > | TokenList |
| typedef TokenList::const_iterator | TokenIter |
| typedef std::map< std::string, boost::function< void(const TokenList &)> > | CommandMap |
Protected Member Functions | |
| void | prompt () |
| TokenList | tokenize (const std::string &str, const std::string &delim) |
| void | packageAndSend (vrvControlToolkit::DtVrvControl_v1 *cmd) |
Protected Attributes | |
| bool | myTimeToQuit |
| DtExerciseConn * | myExconn |
| CommandMap | myCommands |
| DtEntityIdentifier | mySenderId |
| DtEntityIdentifier | myReceiverId |
| typedef std::list<std::string> DtTextInterface::TokenList |
| typedef TokenList::const_iterator DtTextInterface::TokenIter |
| typedef std::map<std::string, boost::function<void (const TokenList& )> > DtTextInterface::CommandMap |
| DtTextInterface::DtTextInterface | ( | DtExerciseConn * | controller | ) |
|
virtual |
| void DtTextInterface::readStdin | ( | ) |
Process entered text.
|
virtual |
Set/Get time to quit.
|
virtual |
| void DtTextInterface::helpCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::quitCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::resetViewCmd | ( | const TokenList & | tokens | ) |
Functions for parsing command strings and sending the right commands.
| void DtTextInterface::absViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::followViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::mimicViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::tetherViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::trackViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::mimicTrackViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::tetherTrackViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::mimicLocationTrackViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::tetherLocationTrackViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::spaceFollowViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::observerSettingCmd | ( | vrvControlToolkit::DtVrvControlTypeEnum | settingType, |
| const TokenList & | tokens | ||
| ) |
| void DtTextInterface::groundClampingCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::modelSetCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::tacticalGraphicsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::tacticalGraphicsLabelsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::tacticalGraphicsShowActiveCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::radioCommsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::commLinesCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::squawkIndicatorsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::entityLabelsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::entitySmoothingCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::fireDetonateLinesCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::fogCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::elevationalFogCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::hazeCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::precipitationCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::dateTimeCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::timeScaleCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::shadowCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::shadowSettingsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::performanceStatsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::hudsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::remoteGraphicsSetCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::wireframeCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::observerModeCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::zoomCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::viewMagnificationCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::sensorModeCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::sensorBoolParameterCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::sensorFloatParameterCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::sensorStringParameterCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::sensorIntParameterCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::streamingVideoCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::observerSpeedLinearCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::observerSpeedRotationalCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::observerSpeedOrbitalCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::modelScaleTypeCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::modelScaleFactorCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::projectionCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::audioCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::audioVolumeCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::terrainScalingCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::terrainScaleFactorCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::trackHistoryRibbonLengthCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::trackHistoryRibbonSpacingCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::trackHistoryRibbonTimeoutCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::observerModeRestoreCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::savedViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::advancedLightingCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::planarReflectionsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::lensFlareCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::crepuscularRaysCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::rainSplashCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::waveSplashCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::oceanSprayCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::depthOfFieldCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::hbaoCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::entityHatCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::tacticalGraphicsHatCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::emitterVolumesCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::senderIdCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::receiverIdCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::wakesCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::laserDesignatorsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::wavesSprayEffectCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::rotorWashDecalCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::seaStateCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::seaStateCtrlCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::swellStateCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::depthOfFieldAutoFocusCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::depthOfFieldFocusDistanceCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::depthOfFieldDepthCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::hbaoRadiusCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::hbaoBiasCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::hbaoExponentCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::hbaoSmallScalarCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::hbaoLargeScalarCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::hbaoDepthClampModeCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::windDirectionCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::elevationalWindDirectionCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::windSpeedCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::elevationalWindSpeedCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::visibilityCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::elevationalVisibilityCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::globalEnvironmentCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::snowGroundAccumulationCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::snowRoadAccumulationCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::snowMinimumElevationCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::snowElevationTransitionCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::rainGroundAccumulationCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::observerCameraShakeCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::observerCameraShakeIntensityCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::terrainMagnificationHighLodAngleCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::pauseSimTimeCmd | ( | ) |
| void DtTextInterface::resumeSimTimeCmd | ( | ) |
| void DtTextInterface::lightPointGroupColorCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::useGlobalTimeZoneCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::detachViewCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::hideModelOnAttachCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::diffuseLightScaleCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::ambientLightScaleCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::occupantsVisibleCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::occupantsVisibleOnEntityCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::openTerrainCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::wheelRotationCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::adaptiveTickRateCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::defaultRunwayLightGroupColorCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::createSensorViewCmd | ( | const TokenList & | tokens | ) |
command for creating a sensor view for an entity
| void DtTextInterface::paperMapEnableCmd | ( | const TokenList & | tokens | ) |
Paper map (aka 2D Active Layer) commands.
| void DtTextInterface::paperMapGroupCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::paperMapLayerTimeoutCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::paperMapIntersectionOverrideCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::tidalStreamWakesCmd | ( | const TokenList & | tokens | ) |
command to enable/disable tidal stream wakes
| void DtTextInterface::tidalCurrentDirection | ( | const TokenList & | tokens | ) |
command set tidal current direction
| void DtTextInterface::tidalCurrentSpeed | ( | const TokenList & | tokens | ) |
command set tidal current speed
| void DtTextInterface::processCmd | ( | const std::string & | buff | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |