![]() |
VR-Forces 5.0.2 Developer's Guide
|
This class is a thread-safe API to the DtVrfRemoteController. Since DtVrfRemoteController is instantiated and used by the driver thread in VRF GUI, it cannot be accessed directly by functions executing in the main thread. Instead, similar functions can be called in this class. The calls are then put in a queue and executed on the actual DtVrfRemoteController instance by the driver thread.
Any callbacks registered in calls to this class will be executed by the main thread.
See the "Threading in GUI API" section of the VR-Forces Developer's Guide for more information on the threading structure of VR-Forces GUI.
NOTE: Currently extended data is only supported for Aggregates and Environmentals when published on the network. Extended data can be sent to the back-end but is not currently received by the front-end

Public Member Functions | |
| DtGuiThreadVrfRemoteController (makVrv::DtDe &) | |
| virtual | ~DtGuiThreadVrfRemoteController () |
| DtVrfBackendSettingsManager & | backendSettingsManager () |
| DtVrfSimBackendManager & | backendManager () |
| DtVrfSpotReportManager & | spotReportManager () |
| DtVrfResourceManager & | resourceManager () |
| DtGuiThreadNetworkCallbackManager & | messageHandler () |
| virtual void | deleteObject (const DtUUID &, bool andDeleteFromOrbat=false, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | setTimeoutInterval (int) |
| virtual void | requestDIGuyAppearancesAndAnimations (const std::vector< DtUUID > &name) |
| virtual void | requestResourcesFor (std::vector< DtUUID > names, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | sendMessageToObject (const DtVrfObjectMessage &, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | sendObjectMessageAndDeleteContent (DtVrfObjectMessage *message, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | sendSensorFieldOfViewControlInteraction (const DtSensorFieldOfViewControlInteractionData &interData) |
| virtual void | sendSensorFieldOfViewControlInteractionAndDelete (DtSensorFieldOfViewControlInteractionData *data) |
| virtual void | sendDetonationInteraction (const DtDetonationInteractionData &interData) |
| virtual void | sendDetonationInteractionAndDelete (DtDetonationInteractionData *data) |
| virtual void | requestForces (DtSimulationAddress addr) |
| virtual void | requestDoctrines () |
| virtual void | requestAssignedDoctrines () |
| virtual unsigned long | generateRequestId () |
| virtual void | quitAllBackends () |
| virtual void | takeControlOf (const DtUUID &, const std::set< std::string > &functionalGroups=std::set< std::string >(), const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | releaseControlOf (const DtUUID &, const std::set< std::string > &functionalGroups=std::set< std::string >(), const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | sendJoystickControl (const DtUUID &, const std::string &functionGroup, const std::string &function, double value, bool repeat=false, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | addSetCreatorFcn (const DtSetMessageType &, DtSetDataRequestCreatorFcn) |
| virtual void | addTaskCreatorFcn (const DtSimTaskMessageType &, DtSimTaskCreatorFcn) |
| virtual void | addInterfaceContentCreatorFcn (int t, DtInterfaceContentCreatorFcn) |
| virtual void | addAdminContentCreatorFcn (const DtAdminContentMessageType &, DtAdminContentCreatorFcn) |
| virtual void | addConditionCreatorFcn (std::string, int, DtCondExprCreatorFcn) |
| virtual void | addReportCreatorFcn (const DtSimReportMessageType &, DtSimReportCreatorFcn) |
| virtual void | addObjectMessageCreatorFcn (int, DtVrfObjectMessageCreatorFcn) |
| virtual void | addSimulationCommandCreatorFcn (const DtSimCommandMessageType &, DtSimCommandCreatorFcn) |
| virtual void | sendMessage (const DtSimInterfaceContent &message, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | sendMessageAndDeleteContent (DtSimInterfaceContent *message, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | embarkOn (const std::vector< DtUUID > &children, const DtUUID &parent, bool useSlot=true, const DtVector &overridePosition=DtVector::zero(), int embarkInSlot=-1, const DtString &slotName="*", const DtString &slotType="*", bool chooseAnyIfNotAvailable=true, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | disembark (const std::vector< DtUUID > &children, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | disembarkAll (const std::vector< DtUUID > &parents, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | attachTo (const std::vector< DtUUID > &ids, const DtUUID &parent) |
| virtual void | detachAll (const std::vector< DtUUID > &ids) |
| virtual void | logObjectConsoleToFile (const DtUUID &uuid, const std::string &filename) |
| virtual void | stopLoggingObjectConsoleToFile (const DtUUID &uuid) |
| virtual void | setObjectNotifyLevel (const DtUUID &uuid, int) |
| virtual void | setTimeOfDay (time_t seconds) |
| virtual void | setTimeOfDay (int hours, int minutes, int seconds) |
| virtual void | setDateAndTimeOfDay (time_t seconds) |
| virtual void | setDateAndTimeOfDay (int year, int month, int day, int hours, int minutes, int seconds) |
| virtual void | setUseDayNightIlluminationModel (bool) |
| virtual void | requestScenarioDescription (DtSimulationAddress) |
| virtual void | setScenarioDescription (const DtString &, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | setScenarioName (const DtString &, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | addContentMessagesThatModifyScenario (int) |
| virtual void | removeContentMessagesThatModifyScenario (int) |
| const std::set< int > & | contentMessagesThatModifyScenario () const |
| virtual void | requestSyncMatrices (DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | createSyncMatrix (const DtString &name, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | renameSyncMatrix (const DtUUID &uuid, const DtString &name, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | deleteSyncMatrix (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | deleteSyncMatrixPhase (const DtUUID &uuid, const DtString &phaseName, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | requestSyncMatrixInfo (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | addSyncMatrixObjects (const DtUUID &uuid, const std::vector< DtUUID > &objects, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | removeSyncMatrixObject (const DtUUID &syncMatrix, const DtUUID &object, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | requestSyncMatrixPlan (const DtUUID &syncMatrix, const DtUUID &object, const DtString &phaseName, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | setSyncMatrixPlan (const DtUUID &syncMatrix, const DtUUID &object, const DtString &phaseName, const DtPlan *plan, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | removeSyncMatrixPlan (const DtUUID &syncMatrix, const DtUUID &object, const DtString &phaseName, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | setSyncMatrixPhaseInfo (const DtUUID &syncMatrix, const DtString ¤tName, int phaseIndex, const DtString &requestedName, bool endConditionSpecified, const DtSimCondExpr *endCondition=NULL, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | activateSyncMatrixPlan (const DtUUID &syncMatrix, const DtUUID &object, const DtString &phaseName, bool activate, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | sendLoggerSetFilename (std::string filename) |
| virtual void | sendLoggerRecordMessage () |
| virtual void | sendLoggerStopMessage () |
Scenario Management | |
| virtual void | rollbackToSnapshot (double simTime) |
| virtual void | newScenario (const DtScenario *, time_t startTimeOfDay=12 *3600, const DtChangeWeatherCommand &=DtChangeWeatherCommand()) |
| virtual void | newScenario (const DtFilename &terrainDatabase, time_t startTimeOfDay=12 *3600, const DtChangeWeatherCommand &=DtChangeWeatherCommand()) |
| virtual void | importScenarioDescriptionFile (const std::string &file, DtSimulationAddress, const std::string &description, const std::map< std::string, std::string > &importData) |
| virtual void | createSimulationObjectGroup (const DtSimulationAddress &, const DtString &simulationObjectGroup, const DtVector &createPosition, double offsetRotation, int createFlags, int force, bool inZipFile=false) |
| virtual bool | saveSimulationObjectGroup (const DtFilename &smsDirectory, const std::string &groupName, const std::string &groupDescription, int creationFlags, const DtSimulationAddress &addr, const std::map< DtString, DtString > &additionalInformation=std::map< DtString, DtString >(), bool saveAsZipFile=false) |
| virtual void | exportScenarioDescriptionFile (const std::string &file, DtSimulationAddress, const std::string &description, const std::map< std::string, std::string > &importData) |
| virtual bool | loadScenario (const DtScenarioLoadInformation &) |
| virtual bool | loadScenario (const DtFilename &) |
| virtual bool | importScenario (const DtFilename &) |
| virtual void | saveScenario (const DtScenario *, DtPreserveMappingsFcn fcn=0, void *userData=0, bool saveScenarioToZipFile=false, bool queueSave=false, int putIntoPlayMode=0) |
| virtual void | saveCheckpoints (const std::vector< DtScenario * > &, const DtFilename &scenarioName) |
| virtual void | clearSavingCheckpoints () |
| virtual void | takeSnapshot (DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | takeBaseSnapshot () |
| virtual void | closeScenario (const DtFilename &databaseToOpen="", bool forceCloseScenario=false) |
| virtual void | reinitializeScenario () |
Scenario Control | |
| virtual void | setScenarioRunDuration (double time, bool duration=false) |
| virtual void | runScenario (bool useStartStopInteraction=false, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | pauseScenario (bool useStartStopInteraction=false, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | rewindScenario (DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | exitServer (DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | stepScenario (DtSimulationAddress addr=DtSimSendToAll) |
Control and Overlay Object Creation | |
| virtual void | removeObjectCreatedCallback (unsigned int) |
| virtual void | createWaypoint (const DtSimulationAddress &addr, const DtVector &geocentricPosition, const std::string &uniqueName="", const std::string &label="", unsigned int requestId=0) |
| virtual unsigned int | createWaypoint (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const DtVector &geocentricPosition, const std::string &uniqueName="", const std::string &label="") |
| virtual void | modifyWaypoint (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, DtVector *geocentricPosition=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | createRoute (const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0) |
| virtual unsigned int | createRoute (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="") |
| virtual void | modifyRoute (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, std::vector< DtVector > *vertices=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | createPhaseLine (const DtSimulationAddress &addr, const DtVector &dbPoint1, const DtVector &dbPoint2, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0) |
| virtual unsigned int | createPhaseLine (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const DtVector &dbPoint1, const DtVector &dbPoint2, const std::string &uniqueName="", const std::string &label="") |
| virtual void | modifyPhaseLine (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, DtVector *newDbPoint1=0, DtVector *newDbPoint2=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | createControlArea (const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0) |
| virtual unsigned int | createControlArea (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="") |
| virtual void | modifyControlArea (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, std::vector< DtVector > *newVertices=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | createObstacle (const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0) |
| virtual unsigned int | createObstacle (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="") |
| virtual void | modifyObstacle (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, std::vector< DtVector > *newVertices=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual unsigned int | createOverlayObject (const DtSimulationAddress &addr, const DtEntityType &type, const std::vector< DtVector > &vertices, const DtForceType &force, const std::string &name, const std::string &label, int color, const std::string &parentName, bool projection, bool closedFigure, const DtAppearance &appearance=DtAppearance::nullAppearance(), const std::string &attachTo="", char *userData=0, int dataSize=0, const std::map< std::string, std::string > &extendedData=std::map< std::string, std::string >(), const std::map< int, DtString > &extendedLabels=std::map< int, DtString >(), DtVrfObjectCreatedCallbackFunction fcn=0) |
| virtual void | setPhysicalLineWidth (const DtSimulationAddress &addr, const DtUUID &entityId, double w) |
| virtual void | setPhysicalLineHeight (const DtSimulationAddress &addr, const DtUUID &entityId, double h) |
| virtual void | setCeiling (const DtSimulationAddress &addr, const DtUUID &entityId, double c) |
| virtual void | createIndirectArtillery (const DtIfIndirectArtilleryData ¶ms, const std::string &overlayParent, const DtSimulationAddress &addr) |
| virtual void | createComputedRoute (const DtSimulationAddress &addr, const DtVector &sourcePoint, const DtVector &destPoint, const std::list< std::string > &obstacleTypes, const std::list< std::string > &pathTypes, const std::string &uniqueName="", const std::string &label="", const std::string &overlay="", const int forceId=DtForceOther, const std::map< int, DtString > &extendedLabels=std::map< int, DtString >(), unsigned int requestId=0) |
| virtual void | cancelCreateComputedRoute (const DtSimulationAddress &addr, unsigned int requestId) |
| virtual void | createComputedRoute (DtComputedRouteResponseCallbackFunction fcn, const DtSimulationAddress &addr, const DtVector &sourcePoint, const DtVector &destPoint, const std::list< std::string > &obstacleTypes, const std::list< std::string > &pathTypes, const std::string &uniqueName="", const std::string &label="", const std::string &overlay="", const int forceId=DtForceOther, const std::map< int, DtString > &extendedLabels=std::map< int, DtString >()) |
| virtual void | cancelComputeAerodrome (const DtSimulationAddress &addr, unsigned int requestId) |
| virtual void | computeAerodrome (const DtSimulationAddress &addr, const std::string &icao="", const DtUUID &areaUUID=DtUUID::nullUUID(), const std::string &overlay="", const int forceId=DtForceOther, unsigned int requestId=0, const int color=0) |
Entity and Aggregate Creation and Management | |
| virtual unsigned int | createEntity (DtVrfObjectCreatedCallbackFunction fcn, DtSimulationAddress addr, const DtEntityCreationData &, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >()) |
| virtual void | createEntity (DtSimulationAddress addr, const DtEntityCreationData &, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >()) |
| virtual void | createEntity (const DtSimulationAddress &addr, const DtEntityType &type, const DtVector &geocentricPosition, DtForceType force, DtReal heading, const std::string &uniqueName="", const std::string &label="", bool groundClamp=true, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >(), const std::map< std::string, std::string > &extendedData=std::map< std::string, std::string >(), const std::map< int, DtString > &extendedLabels=std::map< int, DtString >()) |
| virtual unsigned int | createEntity (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const DtEntityType &type, const DtVector &geocentricPosition, DtForceType force, DtReal heading, const std::string &uniqueName="", const std::string &label="", bool groundClamp=true, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >(), const std::map< std::string, std::string > &extendedData=std::map< std::string, std::string >(), const std::map< int, DtString > &extendedLabels=std::map< int, DtString >()) |
| virtual unsigned int | createAggregate (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const DtEntityType &type, const DtVector &geocentricPosition, DtForceType force, DtReal heading, const std::string &uniqueName, const std::string &label="", DtAggregateState initialAggregateState=DtDisaggregated, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >(), const std::map< std::string, std::string > &extendedData=std::map< std::string, std::string >(), const std::map< int, DtString > &extendedLabels=std::map< int, DtString >(), bool createSubordinates=true) |
| virtual void | aggregateAs (const std::vector< DtUUID > &uuids, const DtEntityType &type, int force, DtAggregateState initialAggregateState, DtSimulationAddress addr, unsigned int requestId=0) |
| virtual unsigned int | aggregateAs (DtVrfObjectCreatedCallbackFunction fcn, const std::vector< DtUUID > &uuids, const DtEntityType &type, int force, DtAggregateState initialAggregateState, DtSimulationAddress addr) |
| virtual void | addToOrganization (const DtUUID &child, const DtUUID &superior, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | addToForceLevelOrganization (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | removeFromOrganization (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll) |
Advanced | |
These methods allow for some additional controls in creating and managing simulation objects. Most of the other creation methods result in a call to one of these advanced methods. | |
| virtual void | createEnvironmentalObject (DtSimulationAddress addr, DtEntityType, int force, const std::vector< DtVector > &, const DtEnvironmentalCreationData &data=DtEnvironmentalCreationData(), const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >()) |
| virtual void | sendVrfObjectModifyMsg (const DtSimulationAddress &addr, const DtUUID &uuid, const std::string *name=0, const std::vector< DtVector > &=std::vector< DtVector >(), int *force=0, double *heading=0, const std::string *label=0, DtAppearance *appearance=0, const std::string *overlayParent=0, const std::string *userData=0, const std::map< std::string, std::string > *extendedData=0, const std::map< int, DtString > *extendedLabels=0, bool mergeExtendedData=true) |
| virtual void | sendVrfObjectCreateMsg (const DtSimulationAddress &addr, unsigned int requestId, const std::string &name, const DtObjectType &type, const std::vector< DtVector > &vertices, const std::string &label, const DtAppearance &appearance, DtForceType force, bool projection, bool closedFigure, DtReal heading, bool createSubObjects, const std::string &overlayParent="", bool clampToGroundFlag=true, const std::string &initialFormation="", DtAggregateState initialAggregateState=DtDisaggregated, const std::string &userData="", const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >(), const std::map< std::string, std::string > &extendedData=std::map< std::string, std::string >(), const std::map< int, DtString > &extendedLabels=std::map< int, DtString >(), const DtUUID &uuidForCreation=DtUUID::nullUUID(), double pitch=0.) |
| virtual unsigned int | addCreateCallbackFunction (DtVrfObjectCreatedCallbackFunction) |
| virtual unsigned int | addCreateComputedRouteCallbackFunction (DtComputedRouteResponseCallbackFunction) |
| virtual void | removeCreateComputedRouteCallbackFunction (int rId) |
| virtual unsigned int | addComputeAerodromeCallbackFunction (DtComputedAerodromeResponseCallbackFunction) |
| virtual void | removeComputeAerodromeCallbackFunction (int rId) |
| virtual void | sendVrfOverlayObjectModifyMsg (const DtSimulationAddress &addr, const DtUUID &uuid, int *color=0, const std::string *parentName=0, const DtUUID *attachTo=0, const std::string *userData=0) |
| virtual void | sendVrfIndirectArtilleryObjectModifyMsg (const DtSimulationAddress &addr, const DtUUID &uuid, const DtIfIndirectArtilleryData &mod) |
Modify Existing Objects | |
These methods send DtSetDataRequest messages to the named object. Not all objects can will respond to all set requests. They must have a controller that responds to the message. | |
| virtual void | setLabel (const DtUUID &uuid, const std::string &label, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setExtendedLabels (const DtUUID &uuid, const std::map< int, DtString > &extendedLabels, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setOverlayParent (const DtUUID &uuid, const std::string &label, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setAltitude (const DtUUID &uuid, double altitude, bool aboveGroundLevel=false, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setLocation (const DtUUID &uuid, DtVector coord, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setAppearance (const DtUUID &uuid, int appearance, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setCapabilities (const DtUUID &uuid, int capabilities, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setHeading (const DtUUID &uuid, double degrees, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setForce (const DtUUID &uuid, DtForceType force, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setResource (const DtUUID &uuid, const char *resourceType, double value, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setRulesOfEngagement (const DtUUID &uuid, const char *rulesType, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setSectorOfResponsibility (const DtUUID &uuid, double center, double size, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setSpeed (const DtUUID &uuid, double speed, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setCurrentSpeed (const DtUUID &uuid, double speed, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setTarget (const DtUUID &uuid, const DtUUID &target, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setSuperior (const DtUUID &uuid, const DtUUID &superior, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setTaskedBySuperior (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setConcealed (const DtUUID &uuid, bool yes, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setEmitter (const DtUUID &uuid, int emitterId, bool on, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setEmergencyBeacon (const DtUUID &uuid, bool on, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setIff (const DtUUID &uuid, bool mode1on, int mode1code, bool mode2on, int mode2code, bool mode3on, int mode3code, bool mode4on, int mode4code, DtIffAtcNavaidsAltParm4 altParm4, bool modeCon, bool useAltModeC, bool modeSon, bool emergency, bool flash, bool sti, bool modeSTcasI, int pin, bool mode5LevelSelection, unsigned int messageFormatsPresent, unsigned int nationalOrigin, unsigned int navigationSource, unsigned int figureOfMerit, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | restore (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setDestroyed (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setLifeformWeaponState (const DtUUID &uuid, DtWeaponState weapon, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setSkillLevel (const DtUUID &uuid, const unsigned int level, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setLifeformPosture (const DtUUID &uuid, DtLifeformState posture, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | setAggregateFormation (const DtUUID &leader, const std::string &formationName, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | reorganizeAggregate (const DtUUID &leader, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | sendSetDataMsg (const DtUUID &recipient, DtSetDataRequest *msg, const DtSimulationAddress &addr=DtSimSendToAll, bool updateScenario=true) |
| virtual void | sendSetRequest (const DtSetDataRequest &s, const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll, bool updateScenario=true) |
| virtual void | sendSetRequest (const DtSetDataRequest &s, const std::vector< DtUUID > &names, const DtSimulationAddress &addr=DtSimSendToAll, bool updateScenario=true) |
| virtual void | requestIndirectArtilleryInformation (const DtUUID &) |
Tasks | |
These functions send tasks to entities in the simulation. | |
| virtual void | moveAlongRoute (const DtUUID &entity, const DtUUID &route, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | moveToWaypoint (const DtUUID &entity, const DtUUID &waypoint, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | moveToLocation (const DtUUID &entity, const DtVector &destinationLocation, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | patrolBetweenWaypoints (const DtUUID &entity, const DtUUID &waypoint1, const DtUUID &waypoint2, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | patrolAlongRoute (const DtUUID &entity, const DtUUID &route, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | followEntity (const DtUUID &entity, const DtUUID &leader, const DtVector &offset, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | wait (const DtUUID &entity, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | waitDuration (const DtUUID &entity, DtTime duration, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | waitElapsed (const DtUUID &entity, DtTime elapsed, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | requestCurrentTasks (const DtUUID &entity) |
| virtual void | subscribeForTaskInformation (const DtUUID &entity) |
| virtual void | unsubscribeForTaskInformation (const DtUUID &entity) |
| virtual void | sendTaskMsg (const DtUUID &recipient, DtSimTask *task, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | sendTaskRequest (const DtSimTask &s, const std::vector< DtUUID > &names, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | sendTaskRequest (const DtSimTask &s, const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll) |
| virtual void | requestTasksAndSetsFor (const std::vector< DtUUID > &name) |
Plan Management | |
These function manage plans for entities in the simulation. Many of these methods will return data though messages that must be first registered for using DtGuiThreadNetworkCallbackManager::registerSimMessageCallbackFor(). The DtGuiThreadNetworkCallbackManager instance can be accessed using messageHandler(). | |
| virtual void | abandonPlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | skipTask (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | cancelReactiveTask (const DtUUID &uuid, std::string scriptId, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | restartPlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | assignPlanByName (const DtUUID &uuid, const DtPlan *, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | assignMultiplePlanByName (std::vector< DtUUID > names, const DtPlan *, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | requestPlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | subscribePlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | requestMultiplePlans (std::vector< DtUUID > names, DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | requestGlobalPlans (DtSimulationAddress addr=DtSimSendToAll) |
| virtual void | assignGlobalPlanByName (const DtUUID &name, const DtPlan *, DtSimulationAddress addr) |
| virtual void | deleteGlobalPlan (const DtUUID &, DtSimulationAddress addr) |
| virtual void | launchGlobalPlan (const DtUUID &, DtSimulationAddress addr) |
Public Member Functions inherited from makVrf::DtQueuedManager | |
| DtQueuedManager (makVrv::DtDe &) | |
| virtual | ~DtQueuedManager () |
| virtual void | tick () |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtGuiThreadVrfRemoteController & | instance (makVrv::DtDe &de) |
Public Attributes | |
| boost::signals2::signal< void(const DtScenario *)> | signal_loadedScenario |
| boost::signals2::signal< void()> | signal_communicationDriverStarted |
| boost::signals2::signal< void()> | signal_scenarioModified |
| boost::signals2::signal< void(const DtScenarioLoadInformation &)> | signal_loadScenario |
| boost::signals2::signal< void(const DtScenario *, DtPreserveMappingsFcn fcn, void *userData, bool saveToZipFile, bool queueSave, int putIntoPlayMode)> | signal_saveScenario |
| boost::signals2::signal< void(double)> | signal_rollbackToSnapshot |
| boost::signals2::signal< void(std::vector < DtScenario * >, DtFilename)> | signal_saveCheckpoints |
| boost::signals2::signal< void()> | signal_clearSavingCheckpoints |
| boost::signals2::signal< void(const DtUUID &, bool &shouldDelete)> | signal_shouldDeleteObject |
| boost::signals2::signal< void()> | signal_closeScenario |
| boost::signals2::signal< void()> | signal_reinitializeScenario |
| boost::signals2::signal< void(DtIfCreateVrfObject &)> | signal_aboutToSendCreateMessage |
| boost::signals2::signal< void(DtIfModifyVrfObject &)> | signal_aboutToSendModifyMessage |
Protected Types | |
| typedef std::map< unsigned int, DtVrfObjectCreatedCallbackFunction > | CreateCallbacks |
| typedef std::map< unsigned int, DtComputedRouteResponseCallbackFunction > | ComputedRouteCallbacks |
| typedef std::map< unsigned int, DtComputedAerodromeResponseCallbackFunction > | ComputedAerodromeCallbacks |
Protected Types inherited from makVrf::DtQueuedManager | |
| typedef makVrv::DtLockedBufferedQueue < boost::function< void()> > | DtVrfBackendManagerCallQueue |
| typedef std::vector < boost::function< void()> > | DtVrfBackendManagerCallList |
Protected Member Functions | |
| virtual void | processObjectCreated (DtSimMessage *) |
| virtual void | processComputedRouteCreated (DtSimMessage *) |
| virtual void | processAerodromeCreated (DtSimMessage *) |
| virtual void | setActivated (bool) |
| virtual bool | addStatementsAndSendPlan (const DtPlan &plan, DtIfPlan &planMsg, const DtSimulationAddress &addr=DtSimSendToAll, int *retiStatus=0, DtString *retsStmt=0) |
| virtual void | indirectArtilleryCreated (DtString, const DtUUID &, const DtEntityIdentifier &, DtIfIndirectArtilleryData) |
| virtual void | checkIfContentMessageShouldMarkScenarioAsModified (const DtSimInterfaceContent &) |
| virtual void | slot_preTick (makVrv::DtDe *de) |
Protected Member Functions inherited from makVrf::DtQueuedManager | |
| virtual void | queueSimulationFunction (const boost::function< void()> &function) |
| virtual void | runFunctionQueue (DtVrfBackendManagerCallQueue &queue) |
Protected Attributes | |
| CreateCallbacks | myCreateCallbacks |
| ComputedRouteCallbacks | myCreateComputedRouteCallbacks |
| ComputedAerodromeCallbacks | myComputedAerodromeCallbacks |
| std::set< int > | myContentMessagesThatModifyScenario |
Protected Attributes inherited from makVrf::DtQueuedManager | |
| makVrv::DtDe & | myDe |
| DtVrfBackendManagerCallQueue | myFunctionCallQueue |
| bool | myActivated |
|
protected |
|
protected |
|
protected |
| makVrf::DtGuiThreadVrfRemoteController::DtGuiThreadVrfRemoteController | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
| DtVrfBackendSettingsManager& makVrf::DtGuiThreadVrfRemoteController::backendSettingsManager | ( | ) |
Use this manager to set or retrieve information about backend specific settings set by the DtSettingsObject.
| DtVrfSimBackendManager& makVrf::DtGuiThreadVrfRemoteController::backendManager | ( | ) |
Use this manager to retrieve information about the back-ends that are present in the system, including connecting to signals when back-ends are added or removed.
| DtVrfSpotReportManager& makVrf::DtGuiThreadVrfRemoteController::spotReportManager | ( | ) |
Use this manager to modify all information related to the spot report system.
| DtVrfResourceManager& makVrf::DtGuiThreadVrfRemoteController::resourceManager | ( | ) |
Use this manager to handle resource requests.
| DtGuiThreadNetworkCallbackManager& makVrf::DtGuiThreadVrfRemoteController::messageHandler | ( | ) |
Use this manager to register callback messages.
|
virtual |
Rolls back to the current snapshot given the scenario time to roll back to.
|
virtual |
Create a new scenario using the specific scenario data provided, or at using the default scenario parameters on the specified terrain.
|
virtual |
|
virtual |
Imports the specified scenario description file into the given back-end. If DtSimSendToAll is given as the back-end the routine will return false, as it also will if the scenario description file does not exist. This routine does not check to be sure if the msdl file is a valid file before sending over the tcp socket to the requested back-end. It will also send a udp message with the msdl file to import.
|
virtual |
Creates the contents of the simulation object group at the given geocentric position and flags. The simulation object group to create will need to be in the same directory as the files that will be referenced to create this simulation object group in the back-end that this group is to be created on. The offset rotation is the amount to rotate the entire simulation object group around the center of mass (including changing headings). Rotation is in radians. If there is a simulation object group in the object groups directory with a name <simulationObjectGroup>.sogx use that, else look in sub-directory.
|
virtual |
Saves a simulation object group with the contents of the items specified on the given back-end (DtSimSendToAll is not valid). Will save the results in the given simulation model set directory.
|
virtual |
Exports the specified scenario description file into the given format. If DtSimSendToAll is given this send will fail as only one back-end can process the request. Once complete thf filename given will be present on the requesting front-end.
|
virtual |
Loads scenario specified by DtScenario. Parses and transfers configuration files to the appropriate backends based on the info in scenario; Then tells backends to load the relevant files.
|
virtual |
|
virtual |
Rolls back to the current snapshot given the scenario time to roll back to.
|
virtual |
Save a scenario.
| true | the save message was successfully sent to the back-end |
| false | either a file or directory was not writable or the DtPreserveMappingsFcn returned false. |
|
virtual |
Saves a checkpointed scenario at the given sim time as a local scenario with the given scenario name as the base. The actual scenario name will be the scenario name plus the sim time. Note that there will be NO preserve questions asked for the saving of the checkpoint. The object map will be however the scenario is currently running.
|
virtual |
Clears out any checkpoints that are still yet to be saved.
|
virtual |
Takes a snapshot of the scenario in the various back-ends in memory. This will not return any saved scenario files to the front-end.
|
virtual |
Takes a snapshot and makes it the base snapshot that can be rewound to by the rewind to scenario start button. Sent to all back-ends. The old base snapshot simply becomes a snapshot.
|
virtual |
Close the current scenario. Hint that if the back-end has the current database opened keep it open. Normally, if the scenario is closed and there are snapshots and the database to open is the same database opened in the back-end the database will stay open. If you want to force a closing of everything in the case of snapshots being present, pass the forceCloseAll flag as true. If the database to open is supplied and the forceCloseAll flag is true, only the snapshots will be removed if the database to open is the same database that is currently opened.
|
virtual |
Send a message to all back-ends to reinitialize the current scenario by deleting and recreating all scenario objects without restoring PSR context in controllers.
|
virtual |
Sets the amount of time to run the scenario. If duration is true run for that amount of time, else run until the simulation time is reached. 0 means run continuously.
|
virtual |
Put the scenario in run mode (start playing) if it is not already. If useStartStopInteraction is true sends the DIS specific start/freeze interaction, else send VRF style stop/start. In order to send the stop/start interaction a signal is emitted to allow for the protocol specific layer to send the actual message off. It is not sent by this class directly.
|
virtual |
Pause the scenario execution.
|
virtual |
Rewind the scenario to the last save state.
|
virtual |
Cause simulation engine to quit.
|
virtual |
Advance simulation by a single time step.
|
virtual |
Delete VR-Force's object by name This will work for any object published by the simulation engine, including entities, aggregates, control objects, and overlay objects.
|
virtual |
Removes an object created callback function. This is important to call if you have decided to create an object with a callback but remove that object before receiving the callback. A crash will occur if you delete an object that is expected a callback but does not get it.
|
virtual |
Create a new waypoint. Note that the name must be unique (if specified) and that the position needs to be in geocentric coordinates. This function simply sends the info to the given address – it's up to users to do error checking before making this call!
|
virtual |
Create a new waypoint. This version of create allows users to register a callback function that will be invoked once the object has been created.
|
virtual |
Modify the given waypoint.
|
virtual |
Create a new route. Note that the name must be unique (if specified) and that the vertices needs to be in geocentric coordinates. This function simply sends the info to the given address – it's up to users to do error checking before making this call!
|
virtual |
Create a new route. This version of create allows users to register a callback function that will be invoked once the object has been created.
|
virtual |
Modify the given route.
|
virtual |
Create a new phase line. Note that the name must be unique (if specified) and that the vertices needs to be in geocentric coordinates. This function simply sends the info to the given address – it's up to users to do error checking before making this call!
|
virtual |
Create a new phase line. This version of create allows users to register a callback function that will be invoked once the object has been created.
|
virtual |
Modify the given phase line.
|
virtual |
Create a new control area. Note that the name must be unique (if specified) and that the vertices needs to be in geocentric coordinates. Also, the vertices should form a convex polygon! This function simply sends the info to the given address – it's up to users to do error checking before making this call!
|
virtual |
Create a new control area. This version of create allows users to register a callback function that will be invoked once the object has been created.
|
virtual |
modify the given control area
|
virtual |
Create a new obstacle. Note that the name must be unique (if specified) and that the vertices needs to be in geocentric coordinates. Also, the vertices should form a convex polygon! This function simply sends the info to the given address – it's up to users to do error checking before making this call!
|
virtual |
Create a new obstacle. This version of create allows users to register a callback function that will be invoked once the object has been created.
|
virtual |
modify the given obstacle
|
virtual |
Overlay objects are considered objects that both be used in a simulated environment (control objects as listed above) and objects that can be used to annotate a scenario as one might do with an overlay on an overhead projector.
Creating an overlay object is a two step process. The first step is to create the object, and the second is to apply modifications to that created object (color, parent). This call will do both. It will send the create message, wait for the object to be created, and then send the modify message for that object.
|
virtual |
Sets the physical line width of the object, if the object can use it.
|
virtual |
Sets the physical line height of the object, if the object can use it.
|
virtual |
Sets the ceiling of the object, if the object can use it.
|
virtual |
Create an indirect artillery area on the specified backend with the given parameters.
|
virtual |
Create a new computed route. Note that the name must be unique (if specified) and that the position needs to be in geocentric coordinates. This function simply sends the info to the given address – it's up to users to do error checking before making this call!
|
virtual |
Previously started create computed route job.
|
virtual |
Create a new computed route. This version of create allows users to register a callback function that will be invoked once the object has been created.
|
virtual |
Previously started create computed route job.
|
virtual |
Create a new aerodrome. Note that the ICAO name must be specified. This function simply sends the info to the given address – it's up to users to do error checking before making this call!
|
virtual |
Create entity based on creation data. All methods below call this method with entity creation data filled in.
|
virtual |
Create entity based on creation data. All methods below call this method with entity creation data filled in.
|
virtual |
Create a new entity.
|
virtual |
Create a new entity. This version of create allows users to register a callback function that will be invoked once the object has been created.
|
virtual |
Create a new aggregate.
|
virtual |
Create an aggregate.
|
virtual |
Create an aggregate. This version of create allows users to register a callback function that will be invoked once the object has been created.
|
virtual |
Adds the specified object to as a subordinate to the specified superior. Object will be detached from any superior it currently belongs to first.
|
virtual |
Adds the specified object as a subordinate to the Force Level aggregate corresponding to the objects force type. It will be detached from any superior it currently belongs to first.
|
virtual |
Removes the specified object from whatever aggregate it is a part of and leaves it with no superior.
|
virtual |
Generally create an environmental object.
|
virtual |
This function can be used to modify vrf objects that cannot be created using the more specific methods above. Please note that calling this function for entity values will not work in most cases. Instead, the SetData family of methods should be used. In general, users should not need to call this.
For extended data, to remove an item from extended data supply the key and leave the string value for that key empty. All other extended data items will be left alone
|
virtual |
This function can be used to create vrf objects that cannot be created using the more specific methods above. In general, users should not need to call this.
|
virtual |
Adds a new create function callback and returns the request id that can be used to associate that callback to be invoked when the item is created.
|
virtual |
Adds a new computed route function callback and returns the request id that can be used to associate that callback to be invoked when the item is created.
|
virtual |
Removes a computed route function callback by the request id.
|
virtual |
Adds a new computed aerodrome function callback and returns the request id that can be used to associate that callback to be invoked when the item is created.
|
virtual |
Removes a computed aerodrome function callback by the request id.
|
virtual |
This function is only used to modify information that is specific to an overlay object (waypoint, route, overlay objects, etc.)
For extended data, to remove an item from extended data supply the key and leave the string value for that key empty. All other extended data items will be left alone
|
virtual |
Modification message for given indirect artillery fire area.
|
virtual |
Change the label field of an object.
|
virtual |
Change the extended labels field of an object.
|
virtual |
Change which overlay an overlay graphic or entity is on.
|
virtual |
Set altitude (in meters)
|
virtual |
Set location (geocentric coordinates)
|
virtual |
Set appearance of entity.
| appearance | A set of appearance bits, defined by RPR FOM and DIS. |
|
virtual |
Set capabilities of entity.
| capabilities | A set of capabilities bits, defined by RPR FOM and DIS. |
|
virtual |
Set heading (in degrees)
|
virtual |
Change force type of an object.
|
virtual |
Set resource.
|
virtual |
Set rules of engagement.
|
virtual |
Set sector of responsibility (center and size are in degrees)
|
virtual |
Set ordered speed (in meters per second)
|
virtual |
Set current speed (in meters per second)
|
virtual |
Set preferred weapons target.
|
virtual |
Set superior. If superior is blank will set superior as force of the current item.
|
virtual |
Set tasked by superior Causes entity to abandon its own tasking, and resume taking tasks from its superior, if it is part of an aggregate.
|
virtual |
Changes the concealed appearance bit for the entity.
|
virtual |
Set a given emitter system on or off.
|
virtual |
Set a given emergency beacon on or off.
|
virtual |
Set the IFF parameters for an entity with and IFF transponder.
|
virtual |
Restore to start state Entity will become healthy again (if damaged) and all resources are restored to initial state.
|
virtual |
Sets the damage state of the specified entity/aggregate to destroyed.
|
virtual |
Set lifeform weapon.
|
virtual |
Set skill level.
|
virtual |
Set lifeform posture.
|
virtual |
Set an aggregate formation.
|
virtual |
Reorganize the aggregate. This function is only useful when automatic reorganization is not enabled. If 'leader' is not an aggregate leader making this call will have no effect.
|
virtual |
General set data message. The recipient is the name of the object to receive the set message.
|
virtual |
General set data message. The recipient is the name of the object to receive the set message.
|
virtual |
Send a set request to multiple objects.
|
virtual |
Request indirect artillery information by environmental name. In order to receive the results of this callback you must use the DtNetworkMessageCallback manager and register for the DtIndirectArtilleryMessageType type: DtGuiThreadNetworkCallbackManager::instance(myDe).registerSimMessageCallbackFor(DtIndirectArtilleryMessageType, boost::bind(&MyClass::indirectArtilleryData, this, _1));.
|
virtual |
Send a 'move along route' task to the entity/aggregate specified by 'name'.
|
virtual |
Send a 'move to waypoint' task to the entity/aggregate specified by 'name'.
|
virtual |
Send a 'move to location' task to the entity/aggregate specified by 'name'. destinationLocation is specified in geocentric coordinates.
|
virtual |
Send a 'patrol waypoints' task to the entity/aggregate specified by 'name'.
|
virtual |
Send a 'patrol route' task to the entity/aggregate specified by 'name'.
|
virtual |
Send a 'follow' task to the given entity/aggregate. The vrf object specified by 'name' will follow 'leader' at the given offset . The offset should be specified in meters. To specify an offset in front, to the right, or below, use a negative sign for x, y, or z.
|
virtual |
Send a 'wait' task to the entity/aggregate specified by 'name'.
|
virtual |
Send a 'wait X seconds' task to the entity/aggregate specified by 'name'.
|
virtual |
Send a 'wait until the simulation time has increased by X' task to the entity/aggregate specified by 'name'.
| elapsed | Simulation time. |
|
virtual |
Request the set of current tasks for an entity.
|
virtual |
Request the set of current tasks for an entity, and have new task information messages sent each time the current task set for the entity changes.
|
virtual |
Stop sending current task information for an entity that was previously requested with subscribeForTaskInformation().
|
virtual |
Send a general task message to the entity/aggregate specified by 'recipient' argument, which is the name of the entity/aggregate to receive the task message.
|
virtual |
Send any DtSimTask subclass to a set of entities.
|
virtual |
Send any DtSimTask subclass to a single entity.
|
virtual |
Requests the tasks and sets that are available for the list of named objects.
|
virtual |
Command the entity/aggregate corresponding to the given entity to abandon its plan.
|
virtual |
Command the entity/aggregate to skip the current task. If it is executing a plan, it will move to the next statement in the plan.
|
virtual |
Command the entity/aggregte to cancel the reactive task supplied.
|
virtual |
Command the entity/aggregate corresponding to the given entity to restart its current plan from the beginning.
|
virtual |
Assign a plan to the named entity/aggregate.
|
virtual |
Assigns a single plan to a multiple entities.
|
virtual |
Send a message to all VRF sim engines requesting plan updates messages for the specified entity name.
|
virtual |
Requests plan status update messages from the sim engine for a particular entity. Messages will be sent every time the status changes.
|
virtual |
Requests plans for a set of entities from the sim engine. The response will contain only a single plan, and a flag indicating whether all the requested entities had the same plan already.
|
virtual |
Requests the list of all global plans from the simulation engine.
|
virtual |
Assigns a global plan of the specified name to the sim engine specified in addr. If addr is DtSimSendToAll, the first sim engine is chosen.
|
virtual |
Deletes any global plan matching the specified name.
|
virtual |
Launches the global plan. If already launched then this will have no effect.
|
virtual |
Sets how long the GUI should wait (milliseconds) for a back-end to time out without receiving a status message.
|
virtual |
Requests the DI-Guy Appearances and animations available for the DI-Guy character associated with this entity.
|
virtual |
Request the resource information from the simulation engine for a set of entities.
|
virtual |
Send the object message to the specified object in the message.
|
virtual |
Sends the message then deletes the message after it is sent.
|
virtual |
Sends a sensor field of view control interaction.
|
virtual |
Sends a sensor field of view control interaction then deletes it after it is sent.
|
virtual |
Sends a detonation interaction.
|
virtual |
Sends a detonation interaction then deletes it after it is sent.
|
virtual |
Requests all the forces in the currently scenario.
|
virtual |
Requests all the doctrines currently in the system. Will be sent to currently selected back-end. Connect to the DtDoctrinesListMessageType type to receive response.
|
virtual |
Requests all the doctrines currently in the system. Will be sent to currently selected back-end. Connect to the DtDoctrinesOperationsMessageType type to receive response.
Generate a unique request id.
|
virtual |
Uses the shared signaler to signal to quit all backends. Part of this process will be setting a variable in the shared state that the message has been sent.
|
virtual |
Joystick.
Takes control of the current entity given the functional groups. Will send a message to the back-end letting it know that this entity is to be taken control of for the specified functional group. When in play mode a message will also be sent to the entity with appropriate joystick information. If functional group is empty all controls are assumed to be taken control of
|
virtual |
Releases control of this entity for the given set of functional groups. If the functional groups are empty then all control is released. A message will be sent ot the back-end letting it know.
|
virtual |
Sends a joystick control message to the given entity for the given function group and function using the supplied value.
|
virtual |
Signal to register set creator.
|
virtual |
Signal to register task creator.
|
virtual |
Signal sent to register an interface content message.
|
virtual |
Signal to register admin content command creator.
|
virtual |
Signal to register condition creator.
|
virtual |
Signal to register report creator.
|
virtual |
Signal to register object message creator.
|
virtual |
Signal to register simulation command creator.
|
virtual |
Signal send to send interface content message to specified back-end. If clone is true message will be cloned before sent to driver.
|
virtual |
|
virtual |
These routines will send interface messages to tell the back-end to embark or disembark the specified objects. All information sent is by object name. If loadOverride is false, then the system will use to occupancy director to determine where to embark the entity, else it will use the offset (in body coordinates) supplied by the user.
|
virtual |
Signal to disembark the specified object.
|
virtual |
Signal to disembark all objects on the parent.
|
virtual |
Attaches all specified objects to specified parent name.
|
virtual |
Sends overlay modify message to detach all the specified objects from their parents.
|
virtual |
Tell the back-end to start (or stop if filename is blank) logging the console output for the specified entity.
|
virtual |
Stops any sim engine which is currently writing a log file for this object.
|
virtual |
Sets the notify level on console messages for object.
|
virtual |
Sets the current scenario time of day past midnight. Time is in seconds.
|
virtual |
|
virtual |
Sets the current scenario date and time of day past midnight. Time is in seconds past 01/01/1970 00:00:00 UTC.
|
virtual |
|
virtual |
Sets wheter or not to use the day/night illumination model (true) or to always assume noon GMT.
|
virtual |
Requests scenario description. Use selected back-end rather than DtSimSendToAll to prevent multiple return messages.
|
virtual |
Sets scenario description. Use DtSimSendToAll to make sure all back-ends get the description.
|
virtual |
Sets scenario name. Use DtSimSendToAll to make sure all back-ends get the description.
|
virtual |
Adds or removes message type that will be used to mark the scenario as modified if sent.
|
virtual |
|
inline |
|
virtual |
Requests the list of all synchronization matrices from the simulation engine.
|
virtual |
Creates a new synchronization matrix in the sim engine specified in addr. If addr is DtSimSendToAll, the first sim engine is chosen.
|
virtual |
Renames the synchronization matrix matching the specified uuid.
|
virtual |
Deletes the synchronization matrix matching the specified uuid.
|
virtual |
Deletes a phase of the synchronization matrix matching the specified uuid.
|
virtual |
Requests info of the synchronization matrix matching the specified uuid.
|
virtual |
Add objects to the synchronization matrix matching the specified uuid.
|
virtual |
Remove objects from the synchronization matrix matching the specified uuid.
|
virtual |
Request a synchronization matrix plan for an object in a phase.
|
virtual |
set a plan in a synchronization matrix for a specific object in a phase.
|
virtual |
Remove a plan from a synchronization matrix for an object in a phase.
|
virtual |
Set a synchronization matrix phase info.
|
virtual |
Activate/Deactivate a plan of an object in a synchronization matrix phase.
|
virtual |
Logger controls.
|
virtual |
|
virtual |
|
protectedvirtual |
Callback made when an object is created if a developer wishes to be notified of that callback.
|
protectedvirtual |
Callback made when a computed route is created if a developer wishes to be notified of that callback.
|
protectedvirtual |
Callback made when a computed aerodrome is created if a developer wishes to be notified of that callback.
|
protectedvirtual |
Override to also activate message handler.
Reimplemented from makVrf::DtQueuedManager.
|
protectedvirtual |
Adds the statements from plan to planMsg, and sends planMsg to the specified address. If the plan gets too long, multiple plan messages are sent, to be appended on the sim engine side. If any of the statements are too large to be encoded into the planMsg, an error code and the text of the invalid statement are returned in retiStatus and retsStmt.
|
protectedvirtual |
Called when indirect fire is created, if there is modification data, then, send that off.
|
protectedvirtual |
If this message should mark the scenario as modified, do so. Currently DtIfExecuteSimCommand will do tha.
|
protectedvirtual |
Check to see if there is at least 1 active driver.
| boost::signals2::signal<void (const DtScenario*)> makVrf::DtGuiThreadVrfRemoteController::signal_loadedScenario |
This section represents the collection of all signals sent by the various methods listed above. These signals are needed to communicate with the network driver thread.
Called after both signal_new and signal_load scenario
| boost::signals2::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_communicationDriverStarted |
Signal sent when the communication driver has been started.
| boost::signals2::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_scenarioModified |
Signal send whenever the scenario has been modified by the user.
| boost::signals2::signal<void (const DtScenarioLoadInformation&)> makVrf::DtGuiThreadVrfRemoteController::signal_loadScenario |
Calls down to simulation to load the scenario based on load scenario message.
| boost::signals2::signal<void (const DtScenario*, DtPreserveMappingsFcn fcn, void* userData, bool saveToZipFile, bool queueSave, int putIntoPlayMode)> makVrf::DtGuiThreadVrfRemoteController::signal_saveScenario |
Sends signal to save the specified scenario.
| boost::signals2::signal<void (double)> makVrf::DtGuiThreadVrfRemoteController::signal_rollbackToSnapshot |
Signal to roll back to the give sim time.
| boost::signals2::signal<void (std::vector<DtScenario*>, DtFilename)> makVrf::DtGuiThreadVrfRemoteController::signal_saveCheckpoints |
Sends signal to save the specified checkpoints. The sim time specified in the scenario will be the checkpoint time to try and save.
| boost::signals2::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_clearSavingCheckpoints |
Sends a signal to clear out all the checkpoints that have not yet been saved.
| boost::signals2::signal<void (const DtUUID&, bool& shouldDelete)> makVrf::DtGuiThreadVrfRemoteController::signal_shouldDeleteObject |
Sent before deleting the object, set the shouldDeleteObject flag to false to not delete the specified object.
| boost::signals2::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_closeScenario |
Sent when the scenario is closing.
| boost::signals2::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_reinitializeScenario |
Signal send after signal to reinitialize scenario.
| boost::signals2::signal<void (DtIfCreateVrfObject&)> makVrf::DtGuiThreadVrfRemoteController::signal_aboutToSendCreateMessage |
Sent when create message is about to be sent. Can change object create message to effect content.
| boost::signals2::signal<void (DtIfModifyVrfObject&)> makVrf::DtGuiThreadVrfRemoteController::signal_aboutToSendModifyMessage |
Sent when about to send modify message. Can change message to effect content.
|
protected |
|
protected |
|
protected |
|
protected |