![]() |
VR-Forces 5.0.3 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 |
Static Public Member Functions | |
| static void | listCmd (char *s, DtTextInterface *a) |
| static void | loadCmd (char *s, DtTextInterface *a) |
| static bool | missingBackends (DtBackendMap *map, const std::set< DtSimulationAddress > ¤tBackends, void *usr) |
| static void | newCmd (char *s, DtTextInterface *a) |
| static void | saveCmd (char *s, DtTextInterface *a) |
| static void | createCmd (char *s, DtTextInterface *a) |
| static void | printCmd (char *s, DtTextInterface *a) |
| static void | setCmd (char *s, DtTextInterface *a) |
| static void | setSpeedCmd (char *s, DtTextInterface *a) |
| static void | setSensorCmd (char *s, DtTextInterface *a) |
| static void | taskCmd (char *s, DtTextInterface *a) |
| static void | aggregateCmd (char *s, DtTextInterface *a) |
| static void | deleteCmd (char *s, DtTextInterface *a) |
| static void | closeCmd (char *s, DtTextInterface *a) |
| static void | monitorResourcesCmd (char *s, DtTextInterface *a) |
| static void | removeMonitorResourcesCmd (char *s, DtTextInterface *a) |
| static void | rewindCmd (char *s, DtTextInterface *a) |
| static void | runCmd (char *s, DtTextInterface *a) |
| static void | pauseCmd (char *s, DtTextInterface *a) |
| static void | simrunCmd (char *s, DtTextInterface *a) |
| static void | simpauseCmd (char *s, DtTextInterface *a) |
| static void | timemultiplierCmd (char *s, DtTextInterface *a) |
| static void | quitCmd (char *s, DtTextInterface *a) |
| static void | helpCmd (char *s, DtTextInterface *a) |
| static void | bigRouteCmd (char *s, DtTextInterface *a) |
| static void | listSnapshotsCmd (char *s, DtTextInterface *a) |
| static void | takeSnapshotCmd (char *s, DtTextInterface *a) |
| static void | turnOnSnapshotsCmd (char *s, DtTextInterface *a) |
| static void | turnOffSnapshotsCmd (char *s, DtTextInterface *a) |
| static void | rollbackToSnapshotCmd (char *s, DtTextInterface *a) |
| static void | simulationStatusCmd (char *s, DtTextInterface *a) |
| static void | backendAddedCb (const DtSimulationAddress &addr, void *usr) |
| static void | backendRemovedCb (const DtSimulationAddress &addr, void *usr) |
| static void | simulationStatusChanged (DtSimulationStatus, void *usr) |
| static void | backendLoadedCb (const DtSimulationAddress &addr, void *usr) |
| static void | backendSavedCb (const DtSimulationAddress &addr, DtSaveResult result, void *usr) |
| static void | ScenarioLoadedCb (void *usr) |
| static void | ScenarioSavedCb (void *usr) |
| static void | vrfObjectCreatedCb (const DtString &name, const DtEntityIdentifier &id, const DtUUID &uuid, void *usr) |
| static void | printStatement (const DtSimStatement *stmt, int indent=1) |
| static void | printBlock (const DtSimBlock *stmt, int indent=1) |
| static void | planCb (const DtUUID &name, const std::vector< DtSimStatement * > &statements, bool append, void *usr) |
| static void | planStmtCb (const DtUUID &id, DtPlanStatus status, void *usr) |
| static void | planCompleteCb (const DtUUID &id, void *usr) |
| static void | resourcesProcessedCb (DtSimMessage *msg, void *usr) |
| static void | scenarioSnapshotResponseCb (DtSimMessage *msg, void *usr) |
| static void | objectConsoleMessageCb (const DtEntityIdentifier &id, int notifyLevel, const DtString &message, void *usr) |
| static void | scenarioStatusCallback (DtSimMessage *msg, void *usr) |
| static void | setCmd (char *s, DtTextInterface *a) |
| static void | getCmd (char *s, DtTextInterface *a) |
| static void | quitCmd (char *s, DtTextInterface *a) |
| static void | helpCmd (char *s, DtTextInterface *a) |
| static void | listCmd (char *s, DtTextInterface *a) |
| static void | printCmd (char *s, DtTextInterface *a) |
| static void | printAllCmd (char *s, DtTextInterface *a) |
| static void | controlObjectAddedCallback (DtReflectedControlObject *, void *usr) |
Protected Member Functions | |
| void | prompt () |
| void | processCmd (char *buff) |
| void | prompt () |
| void | processCmd (char *buff) |
| virtual DtReflectedControlObject * | lookupVrfControlObjectByName (const std::string &markingText) |
| void | prompt () |
| TokenList | tokenize (const std::string &str, const std::string &delim) |
| void | packageAndSend (vrvControlToolkit::DtVrvControl_v1 *cmd) |
Protected Attributes | |
| bool | myTimeToQuit |
| makVrf::DtVrlinkVrfRemoteController * | myController |
| DtSelectParam | sparam |
| bool | myRemoveListCallback |
| DtVrfRemoteController * | myController |
| DtExerciseConn * | myExconn |
| CommandMap | myCommands |
| DtEntityIdentifier | mySenderId |
| DtEntityIdentifier | myReceiverId |
Static Protected Attributes | |
| static unsigned int | theNextAggregateId |
| static unsigned int | theNextSubordinateId |
Private Attributes | |
| int | kbInterest |
| 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 | ( | makVrf::DtVrlinkVrfRemoteController * | controller | ) |
|
virtual |
| DtTextInterface::DtTextInterface | ( | DtVrfRemoteController * | controller | ) |
|
virtual |
| DtTextInterface::DtTextInterface | ( | DtExerciseConn * | controller | ) |
|
virtual |
| void DtTextInterface::readStdin | ( | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
References myRemoveListCallback.
|
protected |
|
protected |
| void DtTextInterface::readStdin | ( | ) |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
virtual |
|
protected |
|
protected |
|
protectedvirtual |
| 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::groundClampingCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::modelSetCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::tacticalGraphicsCmd | ( | const TokenList & | tokens | ) |
| void DtTextInterface::tacticalGraphicsLabelsCmd | ( | 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 |
Referenced by setRemoveListCallback().
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |