VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrf::DtGuiThreadVrfRemoteController Class Reference

This class is a thread-safe API to the DtVrfRemoteController. More...

Inheritance diagram for makVrf::DtGuiThreadVrfRemoteController:
Inheritance graph
[legend]

Public Member Functions

 DtGuiThreadVrfRemoteController (makVrv::DtDe &)
virtual ~DtGuiThreadVrfRemoteController ()
DtVrfBackendSettingsManagerbackendSettingsManager ()
 Use this manager to set or retrieve information about backend specific settings set by the DtSettingsObject.
DtVrfSimBackendManagerbackendManager ()
 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.
DtVrfSpotReportManagerspotReportManager ()
 Use this manager to modify all information related to the spot report system.
DtVrfResourceManagerresourceManager ()
 Use this manager to handle resource requests.
DtGuiThreadNetworkCallbackManagermessageHandler ()
 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 ()
Scenario Management
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.
Scenario Control
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.
Control and Overlay Object Creation
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 &params, 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.
Entity and Aggregate Creation and Management
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.
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 * >())
 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.
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)
 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.
Tasks

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.
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)
 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.
- Public Member Functions inherited from makVrf::DtQueuedManager
 DtQueuedManager (makVrv::DtDe &)
virtual ~DtQueuedManager ()
virtual void tick ()
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static
DtGuiThreadVrfRemoteController
instance (makVrv::DtDe &de)

Public Attributes

boost::signal< void(const
DtScenario *)> 
signal_loadedScenario
 Called after both signal_new and signal_load scenario.
boost::signal< void()> signal_scenarioModified
 Signal send whenever the scenario has been modified by the user.
boost::signal< void(const
DtScenarioLoadInformation &)> 
signal_loadScenario
 Calls down to simulation to load the scenario based on load scenario message.
boost::signal< void(const
DtScenario
*, DtPreserveMappingsFcn fcn,
void *userData)> 
signal_saveScenario
 Sends signal to save the specified scenario.
boost::signal< void(const
DtUUID &, bool &shouldDelete)> 
signal_shouldDeleteObject
 Sent before deleting the object, set the shouldDeleteObject flag to false to not delete the specified object.
boost::signal< void()> signal_closeScenario
 Sent when the scenario is closing.
boost::signal< void(DtIfCreateVrfObject &)> signal_aboutToSendCreateMessage
 Sent when create message is about to be sent.
boost::signal< void(DtIfModifyVrfObject &)> signal_aboutToSendModifyMessage
 Sent when about to send modify message. Can change message to effect content.

Protected Types

typedef std::map< unsigned int,
DtVrfObjectCreatedCallbackFunction
CreateCallbacks
typedef std::map< unsigned int,
DtComputedRouteResponseCallbackFunction
ComputedRouteCallbacks
- 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 *)
 Callback made when an object is created if a developer wishes to be notified of that callback.
virtual void processComputedRouteCreated (DtSimMessage *)
 Callback made when a computed route is created if a developer wishes to be notified of that callback.
virtual void setActivated (bool)
 Override to also activate message handler.
virtual bool addStatementsAndSendPlan (const DtPlan &plan, DtIfPlan &planMsg, const DtSimulationAddress &addr=DtSimSendToAll, int *retiStatus=0, DtString *retsStmt=0)
 Adds the statements from plan to planMsg, and sends planMsg to the specified address.
virtual void indirectArtilleryCreated (DtString, const DtUUID &, const DtEntityIdentifier &, DtIfIndirectArtilleryData)
 Called when indirect fire is created, if there is modification data, then, send that off.
virtual void checkIfContentMessageShouldMarkScenarioAsModified (const DtSimInterfaceContent &)
 If this message should mark the scenario as modified, do so. Currently DtIfExecuteSimCommand will do tha.
virtual void slot_preTick (makVrv::DtDe *de)
 Check to see if there is at least 1 active driver.
- Protected Member Functions inherited from makVrf::DtQueuedManager
virtual void queueSimulationFunction (const boost::function< void()> &function)
 Put a function in the sim function queue, for threadsafe calling.
virtual void runFunctionQueue (DtVrfBackendManagerCallQueue &queue)
 Execute a function queue.

Protected Attributes

bool myAggregateOnCreate
CreateCallbacks myCreateCallbacks
ComputedRouteCallbacks myCreateComputedRouteCallbacks
std::set< int > myContentMessagesThatModifyScenario
- Protected Attributes inherited from makVrf::DtQueuedManager
makVrv::DtDemyDe
DtVrfBackendManagerCallQueue myFunctionCallQueue
bool myActivated

Detailed Description

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.

Related examples
Other uses in examples

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

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtGuiThreadVrfRemoteController::DtGuiThreadVrfRemoteController ( makVrv::DtDe )
virtual makVrf::DtGuiThreadVrfRemoteController::~DtGuiThreadVrfRemoteController ( )
virtual

Member Function Documentation

static DtGuiThreadVrfRemoteController& makVrf::DtGuiThreadVrfRemoteController::instance ( makVrv::DtDe de)
static
Returns
The singleton instance of the DtGuiThreadVrfRemoteController.
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 void makVrf::DtGuiThreadVrfRemoteController::newScenario ( const DtScenario ,
time_t  startTimeOfDay = 12 *3600 
)
virtual

Create a new scenario using the specific scenario data provided, or at using the default scenario parameters on the specified terrain.

Note
Calling this function replaces any previous call to loadScenario. Also, this function does not send a message if no backends are running in our session. Start time of day is when scenario is to start. Default is noon
virtual void makVrf::DtGuiThreadVrfRemoteController::newScenario ( const DtFilename &  terrainDatabase,
time_t  startTimeOfDay = 12 *3600 
)
virtual

virtual void makVrf::DtGuiThreadVrfRemoteController::importScenarioDescriptionFile ( const std::string &  file,
DtSimulationAddress  ,
const std::string &  description,
const std::map< std::string, std::string > &  importData 
)
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 void makVrf::DtGuiThreadVrfRemoteController::createSimulationObjectGroup ( const DtSimulationAddress &  ,
const DtString simulationObjectGroup,
const DtVector createPosition,
double  offsetRotation,
int  createFlags,
int  force 
)
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

virtual bool makVrf::DtGuiThreadVrfRemoteController::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< DtStringDtString >() 
)
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 void makVrf::DtGuiThreadVrfRemoteController::exportScenarioDescriptionFile ( const std::string &  file,
DtSimulationAddress  ,
const std::string &  description,
const std::map< std::string, std::string > &  importData 
)
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 void makVrf::DtGuiThreadVrfRemoteController::loadScenario ( const DtScenarioLoadInformation )
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.

Note
Calling this function replaces any previous call to loadScenario. Also, this function does not send a message if no backends are running in our session.
Before loading a scenario you must call closeScenario and wait for all backends to close before loading or creating a new scenario. This is so any scenario data that might exist in the backend is cleaned up. NOT calling closeScenario before a load or a new can leave the backend in an undefined state. This is especially important to do for distributed scenarios.
virtual bool makVrf::DtGuiThreadVrfRemoteController::loadScenario ( const DtFilename &  )
virtual

virtual bool makVrf::DtGuiThreadVrfRemoteController::importScenario ( const DtFilename &  )
virtual

Create a new scenario using the specific scenario data provided, or at using the default scenario parameters on the specified terrain.

Note
Calling this function replaces any previous call to loadScenario. Also, this function does not send a message if no backends are running in our session. Start time of day is when scenario is to start. Default is noon
virtual void makVrf::DtGuiThreadVrfRemoteController::saveScenario ( const DtScenario ,
DtPreserveMappingsFcn  fcn = 0,
void *  userData = 0 
)
virtual

Save a scenario.

Note
Calling this function replaces any previous call to loadScenario. Also, this function does not send a message if no backends are running in our session. If the scenario was remapped during load by a DtBackendRemappingFcn, an optional DtPreserveMappingsFcn is called to determine if the original mappings should be preserved (default), or if the current mappings should be saved. To get notification when the save is complete, call addScenarioSavedCallback.
Returns
bool indicates if the save message was sent
Return values
truethe save message was successfully sent to the back-end
falseeither a file or directory was not writable or the DtPreserveMappingsFcn returned false.
virtual void makVrf::DtGuiThreadVrfRemoteController::closeScenario ( const DtFilename &  databaseToOpen = "")
virtual

Close the current scenario.

The databaseToOpen is a hint to keep the current terrain database opened for a pending load

virtual void makVrf::DtGuiThreadVrfRemoteController::setScenarioRunDuration ( double  time,
bool  duration = false 
)
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 void makVrf::DtGuiThreadVrfRemoteController::runScenario ( bool  useStartStopInteraction = false,
DtSimulationAddress  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::pauseScenario ( bool  useStartStopInteraction = false,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Pause the scenario execution.

virtual void makVrf::DtGuiThreadVrfRemoteController::rewindScenario ( DtSimulationAddress  addr = DtSimSendToAll)
virtual

Rewind the scenario to the last save state.

virtual void makVrf::DtGuiThreadVrfRemoteController::exitServer ( DtSimulationAddress  addr = DtSimSendToAll)
virtual

Cause simulation engine to quit.

virtual void makVrf::DtGuiThreadVrfRemoteController::stepScenario ( DtSimulationAddress  addr = DtSimSendToAll)
virtual

Advance simulation by a single time step.

virtual void makVrf::DtGuiThreadVrfRemoteController::deleteObject ( const DtUUID ,
DtSimulationAddress  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::removeObjectCreatedCallback ( unsigned  int)
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 void makVrf::DtGuiThreadVrfRemoteController::createWaypoint ( const DtSimulationAddress &  addr,
const DtVector geocentricPosition,
const std::string &  uniqueName = "",
const std::string &  label = "",
unsigned int  requestId = 0 
)
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 unsigned int makVrf::DtGuiThreadVrfRemoteController::createWaypoint ( DtVrfObjectCreatedCallbackFunction  fcn,
const DtSimulationAddress &  addr,
const DtVector geocentricPosition,
const std::string &  uniqueName = "",
const std::string &  label = "" 
)
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 void makVrf::DtGuiThreadVrfRemoteController::modifyWaypoint ( const DtUUID uuid,
std::string *  uniqueName = 0,
std::string *  label = 0,
DtVector geocentricPosition = 0,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Modify the given waypoint.

virtual void makVrf::DtGuiThreadVrfRemoteController::createRoute ( const DtSimulationAddress &  addr,
const std::vector< DtVector > &  vertices,
const std::string &  uniqueName = "",
const std::string &  label = "",
unsigned int  rId = 0 
)
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 unsigned int makVrf::DtGuiThreadVrfRemoteController::createRoute ( DtVrfObjectCreatedCallbackFunction  fcn,
const DtSimulationAddress &  addr,
const std::vector< DtVector > &  vertices,
const std::string &  uniqueName = "",
const std::string &  label = "" 
)
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 void makVrf::DtGuiThreadVrfRemoteController::modifyRoute ( const DtUUID uuid,
std::string *  uniqueName = 0,
std::string *  label = 0,
std::vector< DtVector > *  vertices = 0,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Modify the given route.

virtual void makVrf::DtGuiThreadVrfRemoteController::createPhaseLine ( const DtSimulationAddress &  addr,
const DtVector dbPoint1,
const DtVector dbPoint2,
const std::string &  uniqueName = "",
const std::string &  label = "",
unsigned int  rId = 0 
)
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 unsigned int makVrf::DtGuiThreadVrfRemoteController::createPhaseLine ( DtVrfObjectCreatedCallbackFunction  fcn,
const DtSimulationAddress &  addr,
const DtVector dbPoint1,
const DtVector dbPoint2,
const std::string &  uniqueName = "",
const std::string &  label = "" 
)
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 void makVrf::DtGuiThreadVrfRemoteController::modifyPhaseLine ( const DtUUID uuid,
std::string *  uniqueName = 0,
std::string *  label = 0,
DtVector newDbPoint1 = 0,
DtVector newDbPoint2 = 0,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Modify the given phase line.

virtual void makVrf::DtGuiThreadVrfRemoteController::createControlArea ( const DtSimulationAddress &  addr,
const std::vector< DtVector > &  vertices,
const std::string &  uniqueName = "",
const std::string &  label = "",
unsigned int  rId = 0 
)
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 unsigned int makVrf::DtGuiThreadVrfRemoteController::createControlArea ( DtVrfObjectCreatedCallbackFunction  fcn,
const DtSimulationAddress &  addr,
const std::vector< DtVector > &  vertices,
const std::string &  uniqueName = "",
const std::string &  label = "" 
)
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 void makVrf::DtGuiThreadVrfRemoteController::modifyControlArea ( const DtUUID uuid,
std::string *  uniqueName = 0,
std::string *  label = 0,
std::vector< DtVector > *  newVertices = 0,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

modify the given control area

virtual void makVrf::DtGuiThreadVrfRemoteController::createObstacle ( const DtSimulationAddress &  addr,
const std::vector< DtVector > &  vertices,
const std::string &  uniqueName = "",
const std::string &  label = "",
unsigned int  rId = 0 
)
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 unsigned int makVrf::DtGuiThreadVrfRemoteController::createObstacle ( DtVrfObjectCreatedCallbackFunction  fcn,
const DtSimulationAddress &  addr,
const std::vector< DtVector > &  vertices,
const std::string &  uniqueName = "",
const std::string &  label = "" 
)
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 void makVrf::DtGuiThreadVrfRemoteController::modifyObstacle ( const DtUUID uuid,
std::string *  uniqueName = 0,
std::string *  label = 0,
std::vector< DtVector > *  newVertices = 0,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

modify the given obstacle

virtual void makVrf::DtGuiThreadVrfRemoteController::createDisaggregationArea ( const DtSimulationAddress &  addr,
const std::vector< DtVector > &  vertices,
const std::string &  uniqueName = "",
const std::string &  label = "",
unsigned int  rId = 0 
)
virtual

Create a new disaggregation area (triggers automatic disaggregation whenever an aggregate enters the area).

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 unsigned int makVrf::DtGuiThreadVrfRemoteController::createDisaggregationArea ( DtVrfObjectCreatedCallbackFunction  fcn,
const DtSimulationAddress &  addr,
const std::vector< DtVector > &  vertices,
const std::string &  uniqueName = "",
const std::string &  label = "" 
)
virtual

Create a new disaggregation area (triggers automatic disaggregation whenever an aggregate enters the area).

This version of create allows users to register a callback function that will be invoked once the object has been created.

virtual void makVrf::DtGuiThreadVrfRemoteController::modifyDisaggregationArea ( const DtUUID uuid,
std::string *  uniqueName = 0,
std::string *  label = 0,
std::vector< DtVector > *  newVertices = 0,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Modify given disaggregation area.

virtual unsigned int makVrf::DtGuiThreadVrfRemoteController::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

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 void makVrf::DtGuiThreadVrfRemoteController::setPhysicalLineWidth ( const DtSimulationAddress &  addr,
const DtUUID entityId,
double  w 
)
virtual

Sets the physical line width of the object, if the object can use it.

virtual void makVrf::DtGuiThreadVrfRemoteController::setPhysicalLineHeight ( const DtSimulationAddress &  addr,
const DtUUID entityId,
double  h 
)
virtual

Sets the physical line height of the object, if the object can use it.

virtual void makVrf::DtGuiThreadVrfRemoteController::setCeiling ( const DtSimulationAddress &  addr,
const DtUUID entityId,
double  c 
)
virtual

Sets the ceiling of the object, if the object can use it.

virtual void makVrf::DtGuiThreadVrfRemoteController::createIndirectArtillery ( const DtIfIndirectArtilleryData params,
const std::string &  overlayParent,
const DtSimulationAddress &  addr 
)
virtual

Create an indirect artillery area on the specified backend with the given parameters.

virtual void makVrf::DtGuiThreadVrfRemoteController::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

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 void makVrf::DtGuiThreadVrfRemoteController::cancelCreateComputedRoute ( const DtSimulationAddress &  addr,
unsigned int  requestId 
)
virtual

Previously started create computed route job.

virtual void makVrf::DtGuiThreadVrfRemoteController::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

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 unsigned int makVrf::DtGuiThreadVrfRemoteController::createEntity ( DtVrfObjectCreatedCallbackFunction  fcn,
DtSimulationAddress  addr,
DtEntityCreationData  ,
const std::list< DtAdminContent * > &  content = std::list< DtAdminContent * >(),
const std::list< DtSimInterfaceContent * > &  ifaceContent = std::list< DtSimInterfaceContent * >() 
)
virtual

Create entity based on creation data.

All methods below call this method with entity creation data filled in

virtual void makVrf::DtGuiThreadVrfRemoteController::createEntity ( DtSimulationAddress  addr,
DtEntityCreationData  ,
const std::list< DtAdminContent * > &  content = std::list< DtAdminContent * >(),
const std::list< DtSimInterfaceContent * > &  ifaceContent = std::list< DtSimInterfaceContent * >() 
)
virtual

Create entity based on creation data.

All methods below call this method with entity creation data filled in

virtual void makVrf::DtGuiThreadVrfRemoteController::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

Create a new entity.

virtual unsigned int makVrf::DtGuiThreadVrfRemoteController::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

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 unsigned int makVrf::DtGuiThreadVrfRemoteController::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 >() 
)
virtual

Create a new aggregate.

virtual void makVrf::DtGuiThreadVrfRemoteController::aggregateAs ( const std::vector< DtUUID > &  uuids,
const DtEntityType &  type,
int  force,
DtAggregateState  initialAggregateState,
DtSimulationAddress  addr,
unsigned int  requestId = 0 
)
virtual

Create an aggregate.

virtual unsigned int makVrf::DtGuiThreadVrfRemoteController::aggregateAs ( DtVrfObjectCreatedCallbackFunction  fcn,
const std::vector< DtUUID > &  uuids,
const DtEntityType &  type,
int  force,
DtAggregateState  initialAggregateState,
DtSimulationAddress  addr 
)
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 void makVrf::DtGuiThreadVrfRemoteController::addToOrganization ( const DtUUID child,
const DtUUID superior,
DtSimulationAddress  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::addToForceLevelOrganization ( const DtUUID uuid,
DtSimulationAddress  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::removeFromOrganization ( const DtUUID uuid,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Removes the specified object from whatever aggregate it is a part of and leaves it with no superior.

virtual void makVrf::DtGuiThreadVrfRemoteController::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

Generally create an environmental object.

virtual void makVrf::DtGuiThreadVrfRemoteController::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

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 void makVrf::DtGuiThreadVrfRemoteController::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 >() 
)
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 unsigned int makVrf::DtGuiThreadVrfRemoteController::addCreateCallbackFunction ( DtVrfObjectCreatedCallbackFunction  )
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 unsigned int makVrf::DtGuiThreadVrfRemoteController::addCreateComputedRouteCallbackFunction ( DtComputedRouteResponseCallbackFunction  )
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 void makVrf::DtGuiThreadVrfRemoteController::removeCreateComputedRouteCallbackFunction ( int  rId)
virtual

Removes a computed route function callback by the request id.

virtual void makVrf::DtGuiThreadVrfRemoteController::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

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 void makVrf::DtGuiThreadVrfRemoteController::sendVrfIndirectArtilleryObjectModifyMsg ( const DtSimulationAddress &  addr,
const DtUUID uuid,
const DtIfIndirectArtilleryData mod 
)
virtual

Modification message for given indirect artillery fire area.

virtual void makVrf::DtGuiThreadVrfRemoteController::setLabel ( const DtUUID uuid,
const std::string &  label,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Change the label field of an object.

virtual void makVrf::DtGuiThreadVrfRemoteController::setExtendedLabels ( const DtUUID uuid,
const std::map< int, DtString > &  extendedLabels,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Change the extended labels field of an object.

virtual void makVrf::DtGuiThreadVrfRemoteController::setOverlayParent ( const DtUUID uuid,
const std::string &  label,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Change which overlay an overlay graphic or entity is on.

virtual void makVrf::DtGuiThreadVrfRemoteController::setAltitude ( const DtUUID uuid,
double  altitude,
bool  aboveGroundLevel = false,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set altitude (in meters)

virtual void makVrf::DtGuiThreadVrfRemoteController::setLocation ( const DtUUID uuid,
DtVector  coord,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set location (geocentric coordinates)

virtual void makVrf::DtGuiThreadVrfRemoteController::setAppearance ( const DtUUID uuid,
int  appearance,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set appearance of entity.

Parameters
appearanceA set of appearance bits, defined by RPR FOM and DIS.
See Also
DtAppearance class in VR-Link.
virtual void makVrf::DtGuiThreadVrfRemoteController::setCapabilities ( const DtUUID uuid,
int  capabilities,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set capabilities of entity.

Parameters
capabilitiesA set of capabilities bits, defined by RPR FOM and DIS.
See Also
DtCapability class in VR-Link.
virtual void makVrf::DtGuiThreadVrfRemoteController::setHeading ( const DtUUID uuid,
double  degrees,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set heading (in degrees)

virtual void makVrf::DtGuiThreadVrfRemoteController::setForce ( const DtUUID uuid,
DtForceType  force,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Change force type of an object.

virtual void makVrf::DtGuiThreadVrfRemoteController::setResource ( const DtUUID uuid,
const char resourceType,
double  value,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set resource.

virtual void makVrf::DtGuiThreadVrfRemoteController::setRulesOfEngagement ( const DtUUID uuid,
const char rulesType,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set rules of engagement.

See Also
DtSetEngagementRulesRequest for a list of defined rules of engagement types that can be passed as the rulesType.
virtual void makVrf::DtGuiThreadVrfRemoteController::setSectorOfResponsibility ( const DtUUID uuid,
double  center,
double  size,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set sector of responsibility (center and size are in degrees)

virtual void makVrf::DtGuiThreadVrfRemoteController::setSpeed ( const DtUUID uuid,
double  speed,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set ordered speed (in meters per second)

Note
This will not change the instantaneous speed of the entity, but will change the target speed of the dynamics model for the entity.
virtual void makVrf::DtGuiThreadVrfRemoteController::setCurrentSpeed ( const DtUUID uuid,
double  speed,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set current speed (in meters per second)

Note
This will change the instantaneous speed of the entity,
virtual void makVrf::DtGuiThreadVrfRemoteController::setTarget ( const DtUUID uuid,
const DtUUID target,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set preferred weapons target.

virtual void makVrf::DtGuiThreadVrfRemoteController::setSuperior ( const DtUUID uuid,
const DtUUID superior,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set superior.

If superior is blank will set superior as force of the current item

virtual void makVrf::DtGuiThreadVrfRemoteController::setTaskedBySuperior ( const DtUUID uuid,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::setConcealed ( const DtUUID uuid,
bool  yes,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Changes the concealed appearance bit for the entity.

virtual void makVrf::DtGuiThreadVrfRemoteController::setEmitter ( const DtUUID uuid,
int  emitterId,
bool  on,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set a given emitter system on or off.

virtual void makVrf::DtGuiThreadVrfRemoteController::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

Set the IFF parameters for an entity with and IFF transponder.

virtual void makVrf::DtGuiThreadVrfRemoteController::restore ( const DtUUID uuid,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Restore to start state Entity will become healthy again (if damaged) and all resources are restored to initial state.

virtual void makVrf::DtGuiThreadVrfRemoteController::setDestroyed ( const DtUUID uuid,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Sets the damage state of the specified entity/aggregate to destroyed.

virtual void makVrf::DtGuiThreadVrfRemoteController::setLifeformWeaponState ( const DtUUID uuid,
DtWeaponState  weapon,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set lifeform weapon.

virtual void makVrf::DtGuiThreadVrfRemoteController::setLifeformPosture ( const DtUUID uuid,
DtLifeformState  posture,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set lifeform posture.

virtual void makVrf::DtGuiThreadVrfRemoteController::setAggregateFormation ( const DtUUID leader,
const std::string &  formationName,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set an aggregate formation.

virtual void makVrf::DtGuiThreadVrfRemoteController::reorganizeAggregate ( const DtUUID leader,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::disaggregate ( const DtUUID uuid,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Disaggregate the entity, resulting in its DtAggregateState to become DtDisaggregated, and simulation of its subordinates as distinct entities.

virtual void makVrf::DtGuiThreadVrfRemoteController::aggregate ( const DtUUID uuid,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Aggregate the entity, resulting in its DtAggregateState to become DtAggregated, with subordinates not simulated as distinct entities.

virtual void makVrf::DtGuiThreadVrfRemoteController::sendSetDataMsg ( const DtUUID recipient,
DtSetDataRequest msg,
const DtSimulationAddress &  addr = DtSimSendToAll,
bool  updateScenario = true 
)
virtual

General set data message.

The recipient is the name of the object to receive the set message.

virtual void makVrf::DtGuiThreadVrfRemoteController::sendSetRequest ( const DtSetDataRequest s,
const DtUUID uuid,
const DtSimulationAddress &  addr = DtSimSendToAll,
bool  updateScenario = true 
)
virtual

General set data message.

The recipient is the name of the object to receive the set message.

virtual void makVrf::DtGuiThreadVrfRemoteController::sendSetRequest ( const DtSetDataRequest s,
const std::vector< DtUUID > &  names,
const DtSimulationAddress &  addr = DtSimSendToAll,
bool  updateScenario = true 
)
virtual

Send a set request to multiple objects.

virtual void makVrf::DtGuiThreadVrfRemoteController::requestIndirectArtilleryInformation ( const DtString )
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 void makVrf::DtGuiThreadVrfRemoteController::moveAlongRoute ( const DtUUID entity,
const DtUUID route,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Send a 'move along route' task to the entity/aggregate specified by 'name'.

virtual void makVrf::DtGuiThreadVrfRemoteController::moveToWaypoint ( const DtUUID entity,
const DtUUID waypoint,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Send a 'move to waypoint' task to the entity/aggregate specified by 'name'.

virtual void makVrf::DtGuiThreadVrfRemoteController::moveToLocation ( const DtUUID entity,
const DtVector destinationLocation,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Send a 'move to location' task to the entity/aggregate specified by 'name'.

destinationLocation is specified in geocentric coordinates.

virtual void makVrf::DtGuiThreadVrfRemoteController::patrolBetweenWaypoints ( const DtUUID entity,
const DtUUID waypoint1,
const DtUUID waypoint2,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Send a 'patrol waypoints' task to the entity/aggregate specified by 'name'.

virtual void makVrf::DtGuiThreadVrfRemoteController::patrolAlongRoute ( const DtUUID entity,
const DtUUID route,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Send a 'patrol route' task to the entity/aggregate specified by 'name'.

virtual void makVrf::DtGuiThreadVrfRemoteController::followEntity ( const DtUUID entity,
const DtUUID leader,
const DtVector offset,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::wait ( const DtUUID entity,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Send a 'wait' task to the entity/aggregate specified by 'name'.

virtual void makVrf::DtGuiThreadVrfRemoteController::waitDuration ( const DtUUID entity,
DtTime  duration,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Send a 'wait X seconds' task to the entity/aggregate specified by 'name'.

virtual void makVrf::DtGuiThreadVrfRemoteController::waitElapsed ( const DtUUID entity,
DtTime  elapsed,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Send a 'wait until the simulation time has increased by X' task to the entity/aggregate specified by 'name'.

Parameters
elapsedSimulation time.
virtual void makVrf::DtGuiThreadVrfRemoteController::requestCurrentTasks ( const DtUUID entity)
virtual

Request the set of current tasks for an entity.

Note
To receive the result, you must first register a callback using DtGuiThreadNetworkCallbackManager::registerSimMessageCallbackFor() for type DtCapableTaskAndSetResponseType, and the message type will be DtCapableTaskAndSetResponse.
virtual void makVrf::DtGuiThreadVrfRemoteController::subscribeForTaskInformation ( const DtUUID 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 void makVrf::DtGuiThreadVrfRemoteController::unsubscribeForTaskInformation ( const DtUUID entity)
virtual

Stop sending current task information for an entity that was previously requested with subscribeForTaskInformation().

virtual void makVrf::DtGuiThreadVrfRemoteController::sendTaskMsg ( const DtUUID recipient,
DtSimTask task,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::sendTaskRequest ( const DtSimTask s,
const std::vector< DtUUID > &  names,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Send any DtSimTask subclass to a set of entities.

virtual void makVrf::DtGuiThreadVrfRemoteController::sendTaskRequest ( const DtSimTask s,
const DtUUID uuid,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Send any DtSimTask subclass to a single entity.

virtual void makVrf::DtGuiThreadVrfRemoteController::requestTasksAndSetsFor ( const std::vector< DtUUID > &  name)
virtual

Requests the tasks and sets that are available for the list of named objects.

Note
To receive the result, you must first register a callback using DtGuiThreadNetworkCallbackManager::registerSimMessageCallbackFor() for type DtCapableTaskAndSetResponseType, and the message type will be DtCapableTaskAndSetResponse.
virtual void makVrf::DtGuiThreadVrfRemoteController::abandonPlan ( const DtUUID uuid,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Command the entity/aggregate corresponding to the given entity to abandon its plan.

virtual void makVrf::DtGuiThreadVrfRemoteController::skipTask ( const DtUUID uuid,
DtSimulationAddress  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::cancelReactiveTask ( const DtUUID uuid,
std::string  scriptId,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Command the entity/aggregte to cancel the reactive task supplied.

virtual void makVrf::DtGuiThreadVrfRemoteController::restartPlan ( const DtUUID uuid,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Command the entity/aggregate corresponding to the given entity to restart its current plan from the beginning.

virtual void makVrf::DtGuiThreadVrfRemoteController::assignPlanByName ( const DtUUID uuid,
const DtPlan ,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Assign a plan to the named entity/aggregate.

virtual void makVrf::DtGuiThreadVrfRemoteController::assignMultiplePlanByName ( std::vector< DtUUID names,
const DtPlan ,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Assigns a single plan to a multiple entities.

virtual void makVrf::DtGuiThreadVrfRemoteController::requestPlan ( const DtUUID uuid,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Send a message to all VRF sim engines requesting plan updates messages for the specified entity name.

Note
To receive the result, you must first register a callback using DtGuiThreadNetworkCallbackManager::registerSimMessageCallbackFor() for type DtPlanMessageType, and the message type will be DtIfPlan.
virtual void makVrf::DtGuiThreadVrfRemoteController::subscribePlan ( const DtUUID uuid,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Requests plan status update messages from the sim engine for a particular entity.

Messages will be sent every time the status changes.

Note
To receive the result, you must first register a callback using DtGuiThreadNetworkCallbackManager::registerSimMessageCallbackFor() for type DtPlanCurStatementMessageType.
virtual void makVrf::DtGuiThreadVrfRemoteController::requestMultiplePlans ( std::vector< DtUUID names,
DtSimulationAddress  addr = DtSimSendToAll 
)
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.

Note
To receive the result, you must first register a callback using DtGuiThreadNetworkCallbackManager::registerSimMessageCallbackFor() for type DtMultiplePlanResponseMessageType, and the message type will be DtIfMultiplePlanResponse.
virtual void makVrf::DtGuiThreadVrfRemoteController::requestGlobalPlans ( DtSimulationAddress  addr = DtSimSendToAll)
virtual

Requests the list of all global plans from the simulation engine.

Note
To receive the result, you must first register a callback using DtGuiThreadNetworkCallbackManager::registerSimMessageCallbackFor() for type DtGlobalPlanListMessageType, and the message type will be DtIfGlobalPlanList.
virtual void makVrf::DtGuiThreadVrfRemoteController::assignGlobalPlanByName ( const DtUUID name,
const DtPlan ,
DtSimulationAddress  addr 
)
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 void makVrf::DtGuiThreadVrfRemoteController::deleteGlobalPlan ( const DtUUID ,
DtSimulationAddress  addr 
)
virtual

Deletes any global plan matching the specified name.

virtual void makVrf::DtGuiThreadVrfRemoteController::launchGlobalPlan ( const DtUUID ,
DtSimulationAddress  addr 
)
virtual

Launches the global plan. If already launched then this will have no effect.

virtual void makVrf::DtGuiThreadVrfRemoteController::setTimeoutInterval ( int  )
virtual

Sets how long the GUI should wait (milliseconds) for a back-end to time out without receiving a status message.

virtual void makVrf::DtGuiThreadVrfRemoteController::requestDIGuyAppearancesAndAnimations ( const std::vector< DtUUID > &  name)
virtual

Requests the DI-Guy Appearances and animations available for the DI-Guy character associated with this entity.

Note
To receive the result, you must first register a callback using DtGuiThreadNetworkCallbackManager::registerSimMessageCallbackFor() for type DtIfDIGuyAppearAndAnimationsResponseType, and the message type will be DtIfDIGuyAppearAndAnimationsResponse.
virtual void makVrf::DtGuiThreadVrfRemoteController::requestResourcesFor ( std::vector< DtUUID names,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Request the resource information from the simulation engine for a set of entities.

Note
To receive the result, you must first register a callback using DtGuiThreadNetworkCallbackManager::registerSimMessageCallbackFor() for type DtEntityResourceResponseMessageType, and the message type will be DtIfEntityResourceResponse.
A separate response message will be received for each entity.
virtual void makVrf::DtGuiThreadVrfRemoteController::sendMessageToObject ( const DtVrfObjectMessage ,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Send the object message to the specified object in the message.

virtual void makVrf::DtGuiThreadVrfRemoteController::sendObjectMessageAndDeleteContent ( DtVrfObjectMessage message,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Sends the message then deletes the message after it is sent.

virtual void makVrf::DtGuiThreadVrfRemoteController::sendSensorFieldOfViewControlInteraction ( const DtSensorFieldOfViewControlInteractionData interData)
virtual

Sends a sensor field of view control interaction.

virtual void makVrf::DtGuiThreadVrfRemoteController::sendSensorFieldOfViewControlInteractionAndDelete ( DtSensorFieldOfViewControlInteractionData data)
virtual

Sends a sensor field of view control interaction then deletes it after it is sent.

virtual void makVrf::DtGuiThreadVrfRemoteController::requestForces ( DtSimulationAddress  addr)
virtual

Requests all the forces in the currently scenario.

virtual void makVrf::DtGuiThreadVrfRemoteController::requestDoctrines ( )
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 void makVrf::DtGuiThreadVrfRemoteController::requestAssignedDoctrines ( )
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

virtual unsigned long makVrf::DtGuiThreadVrfRemoteController::generateRequestId ( )
virtual

Generate a unique request id.

virtual void makVrf::DtGuiThreadVrfRemoteController::takeControlOf ( const DtUUID ,
const std::set< std::string > &  functionalGroups = std::set< std::string >(),
const DtSimulationAddress &  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::releaseControlOf ( const DtUUID ,
const std::set< std::string > &  functionalGroups = std::set< std::string >(),
const DtSimulationAddress &  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::sendJoystickControl ( const DtUUID ,
const std::string &  functionGroup,
const std::string &  function,
double  value,
bool  repeat = false,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Sends a joystick control message to the given entity for the given function group and function using the supplied value.

virtual void makVrf::DtGuiThreadVrfRemoteController::addSetCreatorFcn ( const DtSetMessageType ,
DtSetDataRequestCreatorFcn   
)
virtual

Signal to register set creator.

virtual void makVrf::DtGuiThreadVrfRemoteController::addTaskCreatorFcn ( const DtSimTaskMessageType ,
DtSimTaskCreatorFcn   
)
virtual

Signal to register task creator.

virtual void makVrf::DtGuiThreadVrfRemoteController::addInterfaceContentCreatorFcn ( int  t,
DtInterfaceContentCreatorFcn   
)
virtual

Signal sent to register an interface content message.

virtual void makVrf::DtGuiThreadVrfRemoteController::addAdminContentCreatorFcn ( const DtAdminContentMessageType ,
DtAdminContentCreatorFcn   
)
virtual

Signal to register admin content command creator.

virtual void makVrf::DtGuiThreadVrfRemoteController::addConditionCreatorFcn ( std::string  ,
int  ,
DtCondExprCreatorFcn   
)
virtual

Signal to register condition creator.

virtual void makVrf::DtGuiThreadVrfRemoteController::addReportCreatorFcn ( const DtSimReportMessageType ,
DtSimReportCreatorFcn   
)
virtual

Signal to register report creator.

virtual void makVrf::DtGuiThreadVrfRemoteController::addObjectMessageCreatorFcn ( int  ,
DtVrfObjectMessageCreatorFcn   
)
virtual

Signal to register object message creator.

virtual void makVrf::DtGuiThreadVrfRemoteController::addSimulationCommandCreatorFcn ( const DtSimCommandMessageType ,
DtSimCommandCreatorFcn   
)
virtual

Signal to register simulation command creator.

virtual void makVrf::DtGuiThreadVrfRemoteController::sendMessage ( const DtSimInterfaceContent message,
DtSimulationAddress  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::sendMessageAndDeleteContent ( DtSimInterfaceContent message,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual
virtual void makVrf::DtGuiThreadVrfRemoteController::embarkOn ( const std::vector< DtUUID > &  children,
const DtUUID parent,
bool  useSlot = true,
const DtVector overridePosition = DtVector::zero(),
DtSimulationAddress  addr = DtSimSendToAll 
)
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 void makVrf::DtGuiThreadVrfRemoteController::disembark ( const std::vector< DtUUID > &  children,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Signal to disembark the specified object.

virtual void makVrf::DtGuiThreadVrfRemoteController::disembarkAll ( const std::vector< DtUUID > &  parents,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Signal to disembark all objects on the parent.

virtual void makVrf::DtGuiThreadVrfRemoteController::attachTo ( const std::vector< DtUUID > &  ids,
const DtUUID parent 
)
virtual

Attaches all specified objects to specified parent name.

virtual void makVrf::DtGuiThreadVrfRemoteController::detachAll ( const std::vector< DtUUID > &  ids)
virtual

Sends overlay modify message to detach all the specified objects from their parents.

virtual void makVrf::DtGuiThreadVrfRemoteController::logObjectConsoleToFile ( const DtUUID uuid,
const std::string &  filename 
)
virtual

Tell the back-end to start (or stop if filename is blank) logging the console output for the specified entity.

virtual void makVrf::DtGuiThreadVrfRemoteController::stopLoggingObjectConsoleToFile ( const DtUUID uuid)
virtual

Stops any sim engine which is currently writing a log file for this object.

virtual void makVrf::DtGuiThreadVrfRemoteController::setObjectNotifyLevel ( const DtUUID uuid,
int   
)
virtual

Sets the notify level on console messages for object.

virtual void makVrf::DtGuiThreadVrfRemoteController::setTimeOfDay ( time_t  seconds)
virtual

Sets the current scenario time of day past midnight. Time is in seconds.

virtual void makVrf::DtGuiThreadVrfRemoteController::setTimeOfDay ( int  hours,
int  minutes,
int  seconds 
)
virtual
virtual void makVrf::DtGuiThreadVrfRemoteController::setDateAndTimeOfDay ( time_t  seconds)
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 void makVrf::DtGuiThreadVrfRemoteController::setDateAndTimeOfDay ( int  year,
int  month,
int  day,
int  hours,
int  minutes,
int  seconds 
)
virtual
virtual void makVrf::DtGuiThreadVrfRemoteController::setUseDayNightIlluminationModel ( bool  )
virtual

Sets wheter or not to use the day/night illumination model (true) or to always assume noon GMT.

virtual void makVrf::DtGuiThreadVrfRemoteController::setAggregateOnCreate ( bool  )
virtual

Sets whether or not that aggregates are aggregated or disaggregated on create. By default, false.

bool makVrf::DtGuiThreadVrfRemoteController::aggregateOnCreate ( ) const
virtual void makVrf::DtGuiThreadVrfRemoteController::requestScenarioDescription ( DtSimulationAddress  )
virtual

Requests scenario description.

Use selected back-end rather than DtSimSendToAll to prevent multiple return messages

virtual void makVrf::DtGuiThreadVrfRemoteController::setScenarioDescription ( const DtString ,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Sets scenario description. Use DtSimSendToAll to make sure all back-ends get the description.

virtual void makVrf::DtGuiThreadVrfRemoteController::addContentMessagesThatModifyScenario ( int  )
virtual

Adds or removes message type that will be used to mark the scenario as modified if sent.

virtual void makVrf::DtGuiThreadVrfRemoteController::removeContentMessagesThatModifyScenario ( int  )
virtual
const std::set<int>& makVrf::DtGuiThreadVrfRemoteController::contentMessagesThatModifyScenario ( ) const
inline
virtual void makVrf::DtGuiThreadVrfRemoteController::sendLoggerSetFilename ( std::string  filename)
virtual

Logger controls.

virtual void makVrf::DtGuiThreadVrfRemoteController::sendLoggerRecordMessage ( )
virtual
virtual void makVrf::DtGuiThreadVrfRemoteController::sendLoggerStopMessage ( )
virtual
virtual void makVrf::DtGuiThreadVrfRemoteController::processObjectCreated ( DtSimMessage )
protectedvirtual

Callback made when an object is created if a developer wishes to be notified of that callback.

virtual void makVrf::DtGuiThreadVrfRemoteController::processComputedRouteCreated ( DtSimMessage )
protectedvirtual

Callback made when a computed route is created if a developer wishes to be notified of that callback.

virtual void makVrf::DtGuiThreadVrfRemoteController::setActivated ( bool  )
protectedvirtual

Override to also activate message handler.

Reimplemented from makVrf::DtQueuedManager.

virtual bool makVrf::DtGuiThreadVrfRemoteController::addStatementsAndSendPlan ( const DtPlan plan,
DtIfPlan planMsg,
const DtSimulationAddress &  addr = DtSimSendToAll,
int *  retiStatus = 0,
DtString retsStmt = 0 
)
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.

Returns
True if successful.
virtual void makVrf::DtGuiThreadVrfRemoteController::indirectArtilleryCreated ( DtString  ,
const DtUUID ,
const DtEntityIdentifier &  ,
DtIfIndirectArtilleryData   
)
protectedvirtual

Called when indirect fire is created, if there is modification data, then, send that off.

virtual void makVrf::DtGuiThreadVrfRemoteController::checkIfContentMessageShouldMarkScenarioAsModified ( const DtSimInterfaceContent )
protectedvirtual

If this message should mark the scenario as modified, do so. Currently DtIfExecuteSimCommand will do tha.

virtual void makVrf::DtGuiThreadVrfRemoteController::slot_preTick ( makVrv::DtDe de)
protectedvirtual

Check to see if there is at least 1 active driver.

Member Data Documentation

boost::signal<void (const DtScenario*)> makVrf::DtGuiThreadVrfRemoteController::signal_loadedScenario

Called after both signal_new and signal_load scenario.

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.

boost::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_scenarioModified

Signal send whenever the scenario has been modified by the user.

boost::signal<void (const DtScenarioLoadInformation&)> makVrf::DtGuiThreadVrfRemoteController::signal_loadScenario

Calls down to simulation to load the scenario based on load scenario message.

boost::signal<void (const DtScenario*, DtPreserveMappingsFcn fcn, void* userData)> makVrf::DtGuiThreadVrfRemoteController::signal_saveScenario

Sends signal to save the specified scenario.

boost::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::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_closeScenario

Sent when the scenario is closing.

boost::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::signal<void (DtIfModifyVrfObject&)> makVrf::DtGuiThreadVrfRemoteController::signal_aboutToSendModifyMessage

Sent when about to send modify message. Can change message to effect content.

bool makVrf::DtGuiThreadVrfRemoteController::myAggregateOnCreate
protected
CreateCallbacks makVrf::DtGuiThreadVrfRemoteController::myCreateCallbacks
protected
ComputedRouteCallbacks makVrf::DtGuiThreadVrfRemoteController::myCreateComputedRouteCallbacks
protected
std::set<int> makVrf::DtGuiThreadVrfRemoteController::myContentMessagesThatModifyScenario
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)