Public Member Functions |
| | DtGuiThreadVrfRemoteController (makVrv::DtDe &) |
| virtual | ~DtGuiThreadVrfRemoteController () |
| DtVrfBackendSettingsManager & | backendSettingsManager () |
| | Use this manager to set or retrieve information about backend specific settings set by the DtSettingsObject.
|
| DtVrfSimBackendManager & | 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 & | spotReportManager () |
| | Use this manager to modify all information related to the spot report system.
|
| DtVrfResourceManager & | resourceManager () |
| | Use this manager to handle resource requests.
|
| DtGuiThreadNetworkCallbackManager & | messageHandler () |
| | Use this manager to register callback messages.
|
| virtual void | deleteObject (const DtUUID &, DtSimulationAddress addr=DtSimSendToAll) |
| | 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 void | setTimeoutInterval (int) |
| | Sets how long the GUI should wait (milliseconds) for a back-end to time out without receiving a status message.
|
| virtual void | requestDIGuyAppearancesAndAnimations (const std::vector< DtUUID > &name) |
| | Requests the DI-Guy Appearances and animations available for the DI-Guy character associated with this entity.
|
| virtual void | requestResourcesFor (std::vector< DtUUID > names, DtSimulationAddress addr=DtSimSendToAll) |
| | Request the resource information from the simulation engine for a set of entities.
|
| virtual void | sendMessageToObject (const DtVrfObjectMessage &, DtSimulationAddress addr=DtSimSendToAll) |
| | Send the object message to the specified object in the message.
|
| virtual void | sendObjectMessageAndDeleteContent (DtVrfObjectMessage *message, DtSimulationAddress addr=DtSimSendToAll) |
| | Sends the message then deletes the message after it is sent.
|
| virtual void | sendSensorFieldOfViewControlInteraction (const DtSensorFieldOfViewControlInteractionData &interData) |
| | Sends a sensor field of view control interaction.
|
| virtual void | sendSensorFieldOfViewControlInteractionAndDelete (DtSensorFieldOfViewControlInteractionData *data) |
| | Sends a sensor field of view control interaction then deletes it after it is sent.
|
| virtual void | requestForces (DtSimulationAddress addr) |
| | Requests all the forces in the currently scenario.
|
| virtual void | requestDoctrines () |
| | Requests all the doctrines currently in the system.
|
| virtual void | requestAssignedDoctrines () |
| | Requests all the doctrines currently in the system.
|
| virtual unsigned long | generateRequestId () |
| | Generate a unique request id.
|
| virtual void | takeControlOf (const DtUUID &, const std::set< std::string > &functionalGroups=std::set< std::string >(), const DtSimulationAddress &addr=DtSimSendToAll) |
| | Joystick.
|
| virtual void | releaseControlOf (const DtUUID &, const std::set< std::string > &functionalGroups=std::set< std::string >(), const DtSimulationAddress &addr=DtSimSendToAll) |
| | Releases control of this entity for the given set of functional groups.
|
| virtual void | sendJoystickControl (const DtUUID &, const std::string &functionGroup, const std::string &function, double value, bool repeat=false, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Sends a joystick control message to the given entity for the given function group and function using the supplied value.
|
| virtual void | addSetCreatorFcn (const DtSetMessageType &, DtSetDataRequestCreatorFcn) |
| | Signal to register set creator.
|
| virtual void | addTaskCreatorFcn (const DtSimTaskMessageType &, DtSimTaskCreatorFcn) |
| | Signal to register task creator.
|
| virtual void | addInterfaceContentCreatorFcn (int t, DtInterfaceContentCreatorFcn) |
| | Signal sent to register an interface content message.
|
| virtual void | addAdminContentCreatorFcn (const DtAdminContentMessageType &, DtAdminContentCreatorFcn) |
| | Signal to register admin content command creator.
|
| virtual void | addConditionCreatorFcn (std::string, int, DtCondExprCreatorFcn) |
| | Signal to register condition creator.
|
| virtual void | addReportCreatorFcn (const DtSimReportMessageType &, DtSimReportCreatorFcn) |
| | Signal to register report creator.
|
| virtual void | addObjectMessageCreatorFcn (int, DtVrfObjectMessageCreatorFcn) |
| | Signal to register object message creator.
|
| virtual void | addSimulationCommandCreatorFcn (const DtSimCommandMessageType &, DtSimCommandCreatorFcn) |
| | Signal to register simulation command creator.
|
| virtual void | sendMessage (const DtSimInterfaceContent &message, DtSimulationAddress addr=DtSimSendToAll) |
| | Signal send to send interface content message to specified back-end.
|
| 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(), DtSimulationAddress addr=DtSimSendToAll) |
| | These routines will send interface messages to tell the back-end to embark or disembark the specified objects.
|
| virtual void | disembark (const std::vector< DtUUID > &children, DtSimulationAddress addr=DtSimSendToAll) |
| | Signal to disembark the specified object.
|
| virtual void | disembarkAll (const std::vector< DtUUID > &parents, DtSimulationAddress addr=DtSimSendToAll) |
| | Signal to disembark all objects on the parent.
|
| virtual void | attachTo (const std::vector< DtUUID > &ids, const DtUUID &parent) |
| | Attaches all specified objects to specified parent name.
|
| virtual void | detachAll (const std::vector< DtUUID > &ids) |
| | Sends overlay modify message to detach all the specified objects from their parents.
|
| virtual void | logObjectConsoleToFile (const DtUUID &uuid, const std::string &filename) |
| | Tell the back-end to start (or stop if filename is blank) logging the console output for the specified entity.
|
| virtual void | stopLoggingObjectConsoleToFile (const DtUUID &uuid) |
| | Stops any sim engine which is currently writing a log file for this object.
|
| virtual void | setObjectNotifyLevel (const DtUUID &uuid, int) |
| | Sets the notify level on console messages for object.
|
| virtual void | setTimeOfDay (time_t seconds) |
| | Sets the current scenario time of day past midnight. Time is in seconds.
|
| virtual void | setTimeOfDay (int hours, int minutes, int seconds) |
| virtual void | setDateAndTimeOfDay (time_t seconds) |
| | Sets the current scenario date and time of day past midnight. Time is in seconds past 01/01/1970 00:00:00 UTC.
|
| virtual void | setDateAndTimeOfDay (int year, int month, int day, int hours, int minutes, int seconds) |
| virtual void | setUseDayNightIlluminationModel (bool) |
| | Sets wheter or not to use the day/night illumination model (true) or to always assume noon GMT.
|
| virtual void | setAggregateOnCreate (bool) |
| | Sets whether or not that aggregates are aggregated or disaggregated on create. By default, false.
|
| bool | aggregateOnCreate () const |
| virtual void | requestScenarioDescription (DtSimulationAddress) |
| | Requests scenario description.
|
| virtual void | setScenarioDescription (const DtString &, DtSimulationAddress addr=DtSimSendToAll) |
| | Sets scenario description. Use DtSimSendToAll to make sure all back-ends get the description.
|
| virtual void | addContentMessagesThatModifyScenario (int) |
| | Adds or removes message type that will be used to mark the scenario as modified if sent.
|
| virtual void | removeContentMessagesThatModifyScenario (int) |
| const std::set< int > & | contentMessagesThatModifyScenario () const |
| virtual void | sendLoggerSetFilename (std::string filename) |
| | Logger controls.
|
| virtual void | sendLoggerRecordMessage () |
| virtual void | sendLoggerStopMessage () |
|
| virtual void | newScenario (const DtScenario *, time_t startTimeOfDay=12 *3600) |
| | Create a new scenario using the specific scenario data provided, or at using the default scenario parameters on the specified terrain.
|
| virtual void | newScenario (const DtFilename &terrainDatabase, time_t startTimeOfDay=12 *3600) |
| |
|
| virtual void | importScenarioDescriptionFile (const std::string &file, DtSimulationAddress, const std::string &description, const std::map< std::string, std::string > &importData) |
| | Imports the specified scenario description file into the given back-end.
|
| virtual void | createSimulationObjectGroup (const DtSimulationAddress &, const DtString &simulationObjectGroup, const DtVector &createPosition, double offsetRotation, int createFlags, int force) |
| | Creates the contents of the simulation object group at the given geocentric position and flags.
|
| 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 >()) |
| | Saves a simulation object group with the contents of the items specified on the given back-end (DtSimSendToAll is not valid).
|
| virtual void | exportScenarioDescriptionFile (const std::string &file, DtSimulationAddress, const std::string &description, const std::map< std::string, std::string > &importData) |
| | Exports the specified scenario description file into the given format.
|
| virtual void | loadScenario (const DtScenarioLoadInformation &) |
| | Loads scenario specified by DtScenario.
|
| virtual bool | loadScenario (const DtFilename &) |
| |
|
| virtual bool | importScenario (const DtFilename &) |
| | Create a new scenario using the specific scenario data provided, or at using the default scenario parameters on the specified terrain.
|
| virtual void | saveScenario (const DtScenario *, DtPreserveMappingsFcn fcn=0, void *userData=0) |
| | Save a scenario.
|
| virtual void | closeScenario (const DtFilename &databaseToOpen="") |
| | Close the current scenario.
|
|
| virtual void | setScenarioRunDuration (double time, bool duration=false) |
| | Sets the amount of time to run the scenario.
|
| virtual void | runScenario (bool useStartStopInteraction=false, DtSimulationAddress addr=DtSimSendToAll) |
| | Put the scenario in run mode (start playing) if it is not already.
|
| virtual void | pauseScenario (bool useStartStopInteraction=false, DtSimulationAddress addr=DtSimSendToAll) |
| | Pause the scenario execution.
|
| virtual void | rewindScenario (DtSimulationAddress addr=DtSimSendToAll) |
| | Rewind the scenario to the last save state.
|
| virtual void | exitServer (DtSimulationAddress addr=DtSimSendToAll) |
| | Cause simulation engine to quit.
|
| virtual void | stepScenario (DtSimulationAddress addr=DtSimSendToAll) |
| | Advance simulation by a single time step.
|
|
| virtual void | removeObjectCreatedCallback (unsigned int) |
| | Removes an object created callback function.
|
| virtual void | createWaypoint (const DtSimulationAddress &addr, const DtVector &geocentricPosition, const std::string &uniqueName="", const std::string &label="", unsigned int requestId=0) |
| | Create a new waypoint.
|
| virtual unsigned int | createWaypoint (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const DtVector &geocentricPosition, const std::string &uniqueName="", const std::string &label="") |
| | Create a new waypoint.
|
| virtual void | modifyWaypoint (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, DtVector *geocentricPosition=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Modify the given waypoint.
|
| virtual void | createRoute (const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0) |
| | Create a new route.
|
| virtual unsigned int | createRoute (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="") |
| | Create a new route.
|
| virtual void | modifyRoute (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, std::vector< DtVector > *vertices=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Modify the given route.
|
| virtual void | createPhaseLine (const DtSimulationAddress &addr, const DtVector &dbPoint1, const DtVector &dbPoint2, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0) |
| | Create a new phase line.
|
| virtual unsigned int | createPhaseLine (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const DtVector &dbPoint1, const DtVector &dbPoint2, const std::string &uniqueName="", const std::string &label="") |
| | Create a new phase line.
|
| virtual void | modifyPhaseLine (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, DtVector *newDbPoint1=0, DtVector *newDbPoint2=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Modify the given phase line.
|
| virtual void | createControlArea (const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0) |
| | Create a new control area.
|
| virtual unsigned int | createControlArea (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="") |
| | Create a new control area.
|
| virtual void | modifyControlArea (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, std::vector< DtVector > *newVertices=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| | modify the given control area
|
| virtual void | createObstacle (const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0) |
| | Create a new obstacle.
|
| virtual unsigned int | createObstacle (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="") |
| | Create a new obstacle.
|
| virtual void | modifyObstacle (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, std::vector< DtVector > *newVertices=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| | modify the given obstacle
|
| virtual void | createDisaggregationArea (const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0) |
| | Create a new disaggregation area (triggers automatic disaggregation whenever an aggregate enters the area).
|
| virtual unsigned int | createDisaggregationArea (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="") |
| | Create a new disaggregation area (triggers automatic disaggregation whenever an aggregate enters the area).
|
| virtual void | modifyDisaggregationArea (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, std::vector< DtVector > *newVertices=0, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Modify given disaggregation area.
|
| 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) |
| | 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.
|
| virtual void | setPhysicalLineWidth (const DtSimulationAddress &addr, const DtUUID &entityId, double w) |
| | Sets the physical line width of the object, if the object can use it.
|
| virtual void | setPhysicalLineHeight (const DtSimulationAddress &addr, const DtUUID &entityId, double h) |
| | Sets the physical line height of the object, if the object can use it.
|
| virtual void | setCeiling (const DtSimulationAddress &addr, const DtUUID &entityId, double c) |
| | Sets the ceiling of the object, if the object can use it.
|
| virtual void | createIndirectArtillery (const DtIfIndirectArtilleryData ¶ms, const std::string &overlayParent, const DtSimulationAddress &addr) |
| | Create an indirect artillery area on the specified backend with the given parameters.
|
| 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) |
| | Create a new computed route.
|
| virtual void | cancelCreateComputedRoute (const DtSimulationAddress &addr, unsigned int requestId) |
| | Previously started create computed route job.
|
| 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 >()) |
| | Create a new computed route.
|
|
| virtual unsigned int | createEntity (DtVrfObjectCreatedCallbackFunction fcn, DtSimulationAddress addr, DtEntityCreationData, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >()) |
| | Create entity based on creation data.
|
| virtual void | createEntity (DtSimulationAddress addr, DtEntityCreationData, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >()) |
| | Create entity based on creation data.
|
| 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 >()) |
| | Create a new entity.
|
| 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 >()) |
| | Create a new entity.
|
| 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 >()) |
| | Create a new aggregate.
|
| virtual void | aggregateAs (const std::vector< DtUUID > &uuids, const DtEntityType &type, int force, DtAggregateState initialAggregateState, DtSimulationAddress addr, unsigned int requestId=0) |
| | Create an aggregate.
|
| virtual unsigned int | aggregateAs (DtVrfObjectCreatedCallbackFunction fcn, const std::vector< DtUUID > &uuids, const DtEntityType &type, int force, DtAggregateState initialAggregateState, DtSimulationAddress addr) |
| | Create an aggregate.
|
| virtual void | addToOrganization (const DtUUID &child, const DtUUID &superior, DtSimulationAddress addr=DtSimSendToAll) |
| | Adds the specified object to as a subordinate to the specified superior.
|
| virtual void | addToForceLevelOrganization (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| | Adds the specified object as a subordinate to the Force Level aggregate corresponding to the objects force type.
|
| virtual void | removeFromOrganization (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Removes the specified object from whatever aggregate it is a part of and leaves it with no superior.
|
|
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 * >()) |
| | Generally create an environmental object.
|
| 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) |
| | This function can be used to modify vrf objects that cannot be created using the more specific methods above.
|
| 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 >()) |
| | This function can be used to create vrf objects that cannot be created using the more specific methods above.
|
| virtual unsigned int | addCreateCallbackFunction (DtVrfObjectCreatedCallbackFunction) |
| | 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 unsigned int | addCreateComputedRouteCallbackFunction (DtComputedRouteResponseCallbackFunction) |
| | 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 void | removeCreateComputedRouteCallbackFunction (int rId) |
| | Removes a computed route function callback by the request id.
|
| 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) |
| | This function is only used to modify information that is specific to an overlay object (waypoint, route, overlay objects, etc.)
|
| virtual void | sendVrfIndirectArtilleryObjectModifyMsg (const DtSimulationAddress &addr, const DtUUID &uuid, const DtIfIndirectArtilleryData &mod) |
| | Modification message for given indirect artillery fire area.
|
|
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) |
| | Change the label field of an object.
|
| virtual void | setExtendedLabels (const DtUUID &uuid, const std::map< int, DtString > &extendedLabels, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Change the extended labels field of an object.
|
| virtual void | setOverlayParent (const DtUUID &uuid, const std::string &label, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Change which overlay an overlay graphic or entity is on.
|
| virtual void | setAltitude (const DtUUID &uuid, double altitude, bool aboveGroundLevel=false, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set altitude (in meters)
|
| virtual void | setLocation (const DtUUID &uuid, DtVector coord, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set location (geocentric coordinates)
|
| virtual void | setAppearance (const DtUUID &uuid, int appearance, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set appearance of entity.
|
| virtual void | setCapabilities (const DtUUID &uuid, int capabilities, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set capabilities of entity.
|
| virtual void | setHeading (const DtUUID &uuid, double degrees, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set heading (in degrees)
|
| virtual void | setForce (const DtUUID &uuid, DtForceType force, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Change force type of an object.
|
| virtual void | setResource (const DtUUID &uuid, const char *resourceType, double value, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set resource.
|
| virtual void | setRulesOfEngagement (const DtUUID &uuid, const char *rulesType, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set rules of engagement.
|
| virtual void | setSectorOfResponsibility (const DtUUID &uuid, double center, double size, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set sector of responsibility (center and size are in degrees)
|
| virtual void | setSpeed (const DtUUID &uuid, double speed, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set ordered speed (in meters per second)
|
| virtual void | setCurrentSpeed (const DtUUID &uuid, double speed, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set current speed (in meters per second)
|
| virtual void | setTarget (const DtUUID &uuid, const DtUUID &target, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set preferred weapons target.
|
| virtual void | setSuperior (const DtUUID &uuid, const DtUUID &superior, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set superior.
|
| virtual void | setTaskedBySuperior (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll) |
| | 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 void | setConcealed (const DtUUID &uuid, bool yes, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Changes the concealed appearance bit for the entity.
|
| virtual void | setEmitter (const DtUUID &uuid, int emitterId, bool on, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set a given emitter system on or off.
|
| 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) |
| | Set the IFF parameters for an entity with and IFF transponder.
|
| virtual void | restore (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Restore to start state Entity will become healthy again (if damaged) and all resources are restored to initial state.
|
| virtual void | setDestroyed (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Sets the damage state of the specified entity/aggregate to destroyed.
|
| virtual void | setLifeformWeaponState (const DtUUID &uuid, DtWeaponState weapon, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set lifeform weapon.
|
| virtual void | setLifeformPosture (const DtUUID &uuid, DtLifeformState posture, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set lifeform posture.
|
| virtual void | setAggregateFormation (const DtUUID &leader, const std::string &formationName, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Set an aggregate formation.
|
| virtual void | reorganizeAggregate (const DtUUID &leader, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Reorganize the aggregate.
|
| virtual void | disaggregate (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| | Disaggregate the entity, resulting in its DtAggregateState to become DtDisaggregated, and simulation of its subordinates as distinct entities.
|
| virtual void | aggregate (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| | Aggregate the entity, resulting in its DtAggregateState to become DtAggregated, with subordinates not simulated as distinct entities.
|
| virtual void | sendSetDataMsg (const DtUUID &recipient, DtSetDataRequest *msg, const DtSimulationAddress &addr=DtSimSendToAll, bool updateScenario=true) |
| | General set data message.
|
| virtual void | sendSetRequest (const DtSetDataRequest &s, const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll, bool updateScenario=true) |
| | General set data message.
|
| virtual void | sendSetRequest (const DtSetDataRequest &s, const std::vector< DtUUID > &names, const DtSimulationAddress &addr=DtSimSendToAll, bool updateScenario=true) |
| | Send a set request to multiple objects.
|
| virtual void | requestIndirectArtilleryInformation (const DtString &) |
| | Request indirect artillery information by environmental name.
|
|
These functions send tasks to entities in the simulation.
|
| virtual void | moveAlongRoute (const DtUUID &entity, const DtUUID &route, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send a 'move along route' task to the entity/aggregate specified by 'name'.
|
| virtual void | moveToWaypoint (const DtUUID &entity, const DtUUID &waypoint, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send a 'move to waypoint' task to the entity/aggregate specified by 'name'.
|
| virtual void | moveToLocation (const DtUUID &entity, const DtVector &destinationLocation, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send a 'move to location' task to the entity/aggregate specified by 'name'.
|
| virtual void | patrolBetweenWaypoints (const DtUUID &entity, const DtUUID &waypoint1, const DtUUID &waypoint2, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send a 'patrol waypoints' task to the entity/aggregate specified by 'name'.
|
| virtual void | patrolAlongRoute (const DtUUID &entity, const DtUUID &route, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send a 'patrol route' task to the entity/aggregate specified by 'name'.
|
| virtual void | followEntity (const DtUUID &entity, const DtUUID &leader, const DtVector &offset, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send a 'follow' task to the given entity/aggregate.
|
| virtual void | wait (const DtUUID &entity, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send a 'wait' task to the entity/aggregate specified by 'name'.
|
| virtual void | waitDuration (const DtUUID &entity, DtTime duration, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send a 'wait X seconds' task to the entity/aggregate specified by 'name'.
|
| virtual void | waitElapsed (const DtUUID &entity, DtTime elapsed, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send a 'wait until the simulation time has increased by X' task to the entity/aggregate specified by 'name'.
|
| virtual void | requestCurrentTasks (const DtUUID &entity) |
| | Request the set of current tasks for an entity.
|
| virtual void | subscribeForTaskInformation (const DtUUID &entity) |
| | 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 void | unsubscribeForTaskInformation (const DtUUID &entity) |
| | Stop sending current task information for an entity that was previously requested with subscribeForTaskInformation().
|
| virtual void | sendTaskMsg (const DtUUID &recipient, DtSimTask *task, const DtSimulationAddress &addr=DtSimSendToAll) |
| | 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 void | sendTaskRequest (const DtSimTask &s, const std::vector< DtUUID > &names, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send any DtSimTask subclass to a set of entities.
|
| virtual void | sendTaskRequest (const DtSimTask &s, const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll) |
| | Send any DtSimTask subclass to a single entity.
|
| virtual void | requestTasksAndSetsFor (const std::vector< DtUUID > &name) |
| | Requests the tasks and sets that are available for the list of named objects.
|
|
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) |
| | Command the entity/aggregate corresponding to the given entity to abandon its plan.
|
| virtual void | skipTask (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| | Command the entity/aggregate to skip the current task.
|
| virtual void | cancelReactiveTask (const DtUUID &uuid, std::string scriptId, DtSimulationAddress addr=DtSimSendToAll) |
| | Command the entity/aggregte to cancel the reactive task supplied.
|
| virtual void | restartPlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| | Command the entity/aggregate corresponding to the given entity to restart its current plan from the beginning.
|
| virtual void | assignPlanByName (const DtUUID &uuid, const DtPlan *, DtSimulationAddress addr=DtSimSendToAll) |
| | Assign a plan to the named entity/aggregate.
|
| virtual void | assignMultiplePlanByName (std::vector< DtUUID > names, const DtPlan *, DtSimulationAddress addr=DtSimSendToAll) |
| | Assigns a single plan to a multiple entities.
|
| virtual void | requestPlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| | Send a message to all VRF sim engines requesting plan updates messages for the specified entity name.
|
| virtual void | subscribePlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll) |
| | Requests plan status update messages from the sim engine for a particular entity.
|
| virtual void | requestMultiplePlans (std::vector< DtUUID > names, DtSimulationAddress addr=DtSimSendToAll) |
| | Requests plans for a set of entities from the sim engine.
|
| virtual void | requestGlobalPlans (DtSimulationAddress addr=DtSimSendToAll) |
| | Requests the list of all global plans from the simulation engine.
|
| virtual void | assignGlobalPlanByName (const DtUUID &name, const DtPlan *, DtSimulationAddress addr) |
| | Assigns a global plan of the specified name to the sim engine specified in addr.
|
| virtual void | deleteGlobalPlan (const DtUUID &, DtSimulationAddress addr) |
| | Deletes any global plan matching the specified name.
|
| virtual void | launchGlobalPlan (const DtUUID &, DtSimulationAddress addr) |
| | Launches the global plan. If already launched then this will have no effect.
|
| | DtQueuedManager (makVrv::DtDe &) |
| virtual | ~DtQueuedManager () |
| virtual void | tick () |
| | DtVirtualBaseClass () |
| | Do nothing constructor.
|
| virtual | ~DtVirtualBaseClass () |
| | Virtual do nothing destructor.
|