VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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. 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

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

Public Member Functions

 DtGuiThreadVrfRemoteController (makVrv::DtDe &)
 
virtual ~DtGuiThreadVrfRemoteController ()
 
DtVrfBackendSettingsManagerbackendSettingsManager ()
 
DtVrfSimBackendManagerbackendManager ()
 
DtVrfSpotReportManagerspotReportManager ()
 
DtVrfResourceManagerresourceManager ()
 
DtGuiThreadNetworkCallbackManagermessageHandler ()
 
virtual void deleteObject (const DtUUID &, bool andDeleteFromOrbat=false, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void setTimeoutInterval (int)
 
virtual void requestDIGuyAppearancesAndAnimations (const std::vector< DtUUID > &name)
 
virtual void requestResourcesFor (std::vector< DtUUID > names, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void sendMessageToObject (const DtVrfObjectMessage &, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void sendObjectMessageAndDeleteContent (DtVrfObjectMessage *message, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void sendSensorFieldOfViewControlInteraction (const DtSensorFieldOfViewControlInteractionData &interData)
 
virtual void sendSensorFieldOfViewControlInteractionAndDelete (DtSensorFieldOfViewControlInteractionData *data)
 
virtual void sendDetonationInteraction (const DtDetonationInteractionData &interData)
 
virtual void sendDetonationInteractionAndDelete (DtDetonationInteractionData *data)
 
virtual void requestForces (DtSimulationAddress addr)
 
virtual void requestDoctrines ()
 
virtual void requestAssignedDoctrines ()
 
virtual unsigned long generateRequestId ()
 
virtual void quitAllBackends ()
 
virtual void takeControlOf (const DtUUID &, const std::set< std::string > &functionalGroups=std::set< std::string >(), const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void releaseControlOf (const DtUUID &, const std::set< std::string > &functionalGroups=std::set< std::string >(), const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void sendJoystickControl (const DtUUID &, const std::string &functionGroup, const std::string &function, double value, bool repeat=false, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void addSetCreatorFcn (const DtSetMessageType &, DtSetDataRequestCreatorFcn)
 
virtual void addTaskCreatorFcn (const DtSimTaskMessageType &, DtSimTaskCreatorFcn)
 
virtual void addInterfaceContentCreatorFcn (int t, DtInterfaceContentCreatorFcn)
 
virtual void addAdminContentCreatorFcn (const DtAdminContentMessageType &, DtAdminContentCreatorFcn)
 
virtual void addConditionCreatorFcn (std::string, int, DtCondExprCreatorFcn)
 
virtual void addReportCreatorFcn (const DtSimReportMessageType &, DtSimReportCreatorFcn)
 
virtual void addObjectMessageCreatorFcn (int, DtVrfObjectMessageCreatorFcn)
 
virtual void addSimulationCommandCreatorFcn (const DtSimCommandMessageType &, DtSimCommandCreatorFcn)
 
virtual void sendMessage (const DtSimInterfaceContent &message, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void sendMessageAndDeleteContent (DtSimInterfaceContent *message, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void embarkOn (const std::vector< DtUUID > &children, const DtUUID &parent, bool useSlot=true, const DtVector &overridePosition=DtVector::zero(), int embarkInSlot=-1, const DtString &slotName="*", const DtString &slotType="*", bool chooseAnyIfNotAvailable=true, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void disembark (const std::vector< DtUUID > &children, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void disembarkAll (const std::vector< DtUUID > &parents, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void attachTo (const std::vector< DtUUID > &ids, const DtUUID &parent)
 
virtual void detachAll (const std::vector< DtUUID > &ids)
 
virtual void logObjectConsoleToFile (const DtUUID &uuid, const std::string &filename)
 
virtual void stopLoggingObjectConsoleToFile (const DtUUID &uuid)
 
virtual void setObjectNotifyLevel (const DtUUID &uuid, int)
 
virtual void setTimeOfDay (time_t seconds)
 
virtual void setTimeOfDay (int hours, int minutes, int seconds)
 
virtual void setDateAndTimeOfDay (time_t seconds)
 
virtual void setDateAndTimeOfDay (int year, int month, int day, int hours, int minutes, int seconds)
 
virtual void setUseGlobalTimeZone (bool)
 
virtual void requestScenarioDescription (DtSimulationAddress)
 
virtual void setScenarioDescription (const DtString &, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void setScenarioName (const DtString &, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void addContentMessagesThatModifyScenario (int)
 
virtual void removeContentMessagesThatModifyScenario (int)
 
const std::set< int > & contentMessagesThatModifyScenario () const
 
virtual void requestSyncMatrices (DtSimulationAddress addr=DtSimSendToAll)
 
virtual void createSyncMatrix (const DtString &name, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void renameSyncMatrix (const DtUUID &uuid, const DtString &name, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void deleteSyncMatrix (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void deleteSyncMatrixPhase (const DtUUID &uuid, const DtString &phaseName, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void requestSyncMatrixInfo (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void addSyncMatrixObjects (const DtUUID &uuid, const std::vector< DtUUID > &objects, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void removeSyncMatrixObject (const DtUUID &syncMatrix, const DtUUID &object, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void requestSyncMatrixPlan (const DtUUID &syncMatrix, const DtUUID &object, const DtString &phaseName, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void linkPlan (const DtUUID &syncMatrix, const DtUUID &object, const DtString &phaseName, bool linkPlan, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void setSyncMatrixPlan (const DtUUID &syncMatrix, const DtUUID &object, const DtString &phaseName, const DtPlan *plan, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void removeSyncMatrixPlan (const DtUUID &syncMatrix, const DtUUID &object, const DtString &phaseName, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void setSyncMatrixPhaseInfo (const DtUUID &syncMatrix, const DtString &currentName, int phaseIndex, const DtString &requestedName, bool endConditionSpecified, const DtSimCondExpr *endCondition=NULL, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void activateSyncMatrixPlan (const DtUUID &syncMatrix, const DtUUID &object, const DtString &phaseName, bool activate, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void sendLoggerSetFilename (std::string filename)
 
virtual void sendLoggerRecordMessage ()
 
virtual void sendLoggerStopMessage ()
 
Scenario Management
virtual void rollbackToSnapshot (double simTime)
 
virtual void newScenario (const DtScenario *, time_t startTimeOfDay=12 *3600, const DtChangeWeatherCommand &=DtChangeWeatherCommand())
 
virtual void newScenario (const DtFilename &terrainDatabase, time_t startTimeOfDay=12 *3600, const DtChangeWeatherCommand &=DtChangeWeatherCommand())
 
virtual void importScenarioDescriptionFile (const std::string &file, DtSimulationAddress, const std::string &description, const std::map< std::string, std::string > &importData)
 
virtual void createSimulationObjectGroup (const DtSimulationAddress &, const DtString &simulationObjectGroup, const DtVector &createPosition, double offsetRotation, int createFlags, int force, bool inZipFile=false)
 
virtual bool saveSimulationObjectGroup (const DtFilename &smsDirectory, const std::string &groupName, const std::string &groupDescription, int creationFlags, const DtSimulationAddress &addr, const std::map< DtString, DtString > &additionalInformation=std::map< DtString, DtString >(), bool saveAsZipFile=false)
 
virtual void exportScenarioDescriptionFile (const std::string &file, DtSimulationAddress, const std::string &description, const std::map< std::string, std::string > &importData)
 
virtual bool loadScenario (const DtScenarioLoadInformation &)
 
virtual bool loadScenario (const DtFilename &)
 
virtual bool importScenario (const DtFilename &)
 
virtual void saveScenario (const DtScenario *, DtPreserveMappingsFcn fcn=0, void *userData=0, bool saveScenarioToZipFile=false, bool queueSave=false, int putIntoPlayMode=0)
 
virtual void saveCheckpoints (const std::vector< DtScenario * > &, const DtFilename &scenarioName)
 
virtual void clearSavingCheckpoints ()
 
virtual void takeSnapshot (DtSimulationAddress addr=DtSimSendToAll)
 
virtual void takeBaseSnapshot ()
 
virtual void closeScenario (const DtFilename &databaseToOpen="", bool forceCloseScenario=false)
 
virtual void reinitializeScenario ()
 
Scenario Control
virtual void setScenarioRunDuration (double time, bool duration=false)
 
virtual void runScenario (bool useStartStopInteraction=false, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void pauseScenario (bool useStartStopInteraction=false, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void rewindScenario (DtSimulationAddress addr=DtSimSendToAll)
 
virtual void exitServer (DtSimulationAddress addr=DtSimSendToAll)
 
virtual void stepScenario (DtSimulationAddress addr=DtSimSendToAll)
 
Control and Overlay Object Creation
virtual void removeObjectCreatedCallback (unsigned int)
 
virtual void createWaypoint (const DtSimulationAddress &addr, const DtVector &geocentricPosition, const std::string &uniqueName="", const std::string &label="", unsigned int requestId=0)
 
virtual unsigned int createWaypoint (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const DtVector &geocentricPosition, const std::string &uniqueName="", const std::string &label="")
 
virtual void modifyWaypoint (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, DtVector *geocentricPosition=0, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void createRoute (const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0)
 
virtual unsigned int createRoute (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="")
 
virtual void modifyRoute (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, std::vector< DtVector > *vertices=0, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void createPhaseLine (const DtSimulationAddress &addr, const DtVector &dbPoint1, const DtVector &dbPoint2, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0)
 
virtual unsigned int createPhaseLine (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const DtVector &dbPoint1, const DtVector &dbPoint2, const std::string &uniqueName="", const std::string &label="")
 
virtual void modifyPhaseLine (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, DtVector *newDbPoint1=0, DtVector *newDbPoint2=0, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void createControlArea (const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0)
 
virtual unsigned int createControlArea (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="")
 
virtual void modifyControlArea (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, std::vector< DtVector > *newVertices=0, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void createObstacle (const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="", unsigned int rId=0)
 
virtual unsigned int createObstacle (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const std::vector< DtVector > &vertices, const std::string &uniqueName="", const std::string &label="")
 
virtual void modifyObstacle (const DtUUID &uuid, std::string *uniqueName=0, std::string *label=0, std::vector< DtVector > *newVertices=0, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual unsigned int createOverlayObject (const DtSimulationAddress &addr, const DtEntityType &type, const std::vector< DtVector > &vertices, const DtForceType &force, const std::string &name, const std::string &label, int color, const std::string &parentName, bool projection, bool closedFigure, const DtAppearance &appearance=DtAppearance::nullAppearance(), const std::string &attachTo="", char *userData=0, int dataSize=0, const std::map< std::string, std::string > &extendedData=std::map< std::string, std::string >(), const std::map< int, DtString > &extendedLabels=std::map< int, DtString >(), DtVrfObjectCreatedCallbackFunction fcn=0)
 
virtual void setPhysicalLineWidth (const DtSimulationAddress &addr, const DtUUID &entityId, double w)
 
virtual void setPhysicalLineHeight (const DtSimulationAddress &addr, const DtUUID &entityId, double h)
 
virtual void setCeiling (const DtSimulationAddress &addr, const DtUUID &entityId, double c)
 
virtual void createIndirectArtillery (const DtIfIndirectArtilleryData &params, const std::string &overlayParent, const DtSimulationAddress &addr)
 
virtual void createComputedRoute (const DtSimulationAddress &addr, const DtVector &sourcePoint, const DtVector &destPoint, const std::list< std::string > &obstacleTypes, const std::list< std::string > &pathTypes, const std::string &uniqueName="", const std::string &label="", const std::string &overlay="", const int forceId=DtForceOther, const std::map< int, DtString > &extendedLabels=std::map< int, DtString >(), unsigned int requestId=0)
 
virtual void cancelCreateComputedRoute (const DtSimulationAddress &addr, unsigned int requestId)
 
virtual void createComputedRoute (DtComputedRouteResponseCallbackFunction fcn, const DtSimulationAddress &addr, const DtVector &sourcePoint, const DtVector &destPoint, const std::list< std::string > &obstacleTypes, const std::list< std::string > &pathTypes, const std::string &uniqueName="", const std::string &label="", const std::string &overlay="", const int forceId=DtForceOther, const std::map< int, DtString > &extendedLabels=std::map< int, DtString >())
 
virtual void cancelComputeAerodrome (const DtSimulationAddress &addr, unsigned int requestId)
 
virtual void computeAerodrome (const DtSimulationAddress &addr, const std::vector< std::string > &icaos=std::vector< std::string >(), const DtUUID &areaUUID=DtUUID::nullUUID(), const std::string &overlay="", const int forceId=DtForceNeutral, unsigned int requestId=0)
 
Entity and Aggregate Creation and Management
virtual unsigned int createEntity (DtVrfObjectCreatedCallbackFunction fcn, DtSimulationAddress addr, const DtEntityCreationData &, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >())
 
virtual void createEntity (DtSimulationAddress addr, const DtEntityCreationData &, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >())
 
virtual void createEntity (const DtSimulationAddress &addr, const DtEntityType &type, const DtVector &geocentricPosition, DtForceType force, DtReal heading, const std::string &uniqueName="", const std::string &label="", bool groundClamp=true, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >(), const std::map< std::string, std::string > &extendedData=std::map< std::string, std::string >(), const std::map< int, DtString > &extendedLabels=std::map< int, DtString >())
 
virtual unsigned int createEntity (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const DtEntityType &type, const DtVector &geocentricPosition, DtForceType force, DtReal heading, const std::string &uniqueName="", const std::string &label="", bool groundClamp=true, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >(), const std::map< std::string, std::string > &extendedData=std::map< std::string, std::string >(), const std::map< int, DtString > &extendedLabels=std::map< int, DtString >())
 
virtual unsigned int createAggregate (DtVrfObjectCreatedCallbackFunction fcn, const DtSimulationAddress &addr, const DtEntityType &type, const DtVector &geocentricPosition, DtForceType force, DtReal heading, const std::string &uniqueName, const std::string &label="", DtAggregateState initialAggregateState=DtDisaggregated, const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >(), const std::map< std::string, std::string > &extendedData=std::map< std::string, std::string >(), const std::map< int, DtString > &extendedLabels=std::map< int, DtString >(), bool createSubordinates=true)
 
virtual void aggregateAs (const std::vector< DtUUID > &uuids, const DtEntityType &type, int force, DtAggregateState initialAggregateState, DtSimulationAddress addr, unsigned int requestId=0)
 
virtual unsigned int aggregateAs (DtVrfObjectCreatedCallbackFunction fcn, const std::vector< DtUUID > &uuids, const DtEntityType &type, int force, DtAggregateState initialAggregateState, DtSimulationAddress addr)
 
virtual void addToOrganization (const DtUUID &child, const DtUUID &superior, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void addToForceLevelOrganization (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void removeFromOrganization (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll)
 
Advanced

These methods allow for some additional controls in creating and managing simulation objects. Most of the other creation methods result in a call to one of these advanced methods.

virtual void createEnvironmentalObject (DtSimulationAddress addr, DtEntityType, int force, const std::vector< DtVector > &, const DtEnvironmentalCreationData &data=DtEnvironmentalCreationData(), const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >())
 
virtual void sendVrfObjectModifyMsg (const DtSimulationAddress &addr, const DtUUID &uuid, const std::string *name=0, const std::vector< DtVector > &=std::vector< DtVector >(), int *force=0, double *heading=0, const std::string *label=0, DtAppearance *appearance=0, const std::string *overlayParent=0, const std::string *userData=0, const std::map< std::string, std::string > *extendedData=0, const std::map< int, DtString > *extendedLabels=0, bool mergeExtendedData=true)
 
virtual void sendVrfObjectCreateMsg (const DtSimulationAddress &addr, unsigned int requestId, const std::string &name, const DtObjectType &type, const std::vector< DtVector > &vertices, const std::string &label, const DtAppearance &appearance, DtForceType force, bool projection, bool closedFigure, DtReal heading, bool createSubObjects, const std::string &overlayParent="", bool clampToGroundFlag=true, const std::string &initialFormation="", DtAggregateState initialAggregateState=DtDisaggregated, const std::string &userData="", const std::list< DtAdminContent * > &content=std::list< DtAdminContent * >(), const std::list< DtSimInterfaceContent * > &ifaceContent=std::list< DtSimInterfaceContent * >(), const std::map< std::string, std::string > &extendedData=std::map< std::string, std::string >(), const std::map< int, DtString > &extendedLabels=std::map< int, DtString >(), const DtUUID &uuidForCreation=DtUUID::nullUUID(), double pitch=0.)
 
virtual unsigned int addCreateCallbackFunction (DtVrfObjectCreatedCallbackFunction)
 
virtual unsigned int addCreateComputedRouteCallbackFunction (DtComputedRouteResponseCallbackFunction)
 
virtual void removeCreateComputedRouteCallbackFunction (int rId)
 
virtual unsigned int addComputeAerodromeCallbackFunction (DtComputedAerodromeResponseCallbackFunction)
 
virtual void removeComputeAerodromeCallbackFunction (int rId)
 
virtual void sendVrfOverlayObjectModifyMsg (const DtSimulationAddress &addr, const DtUUID &uuid, int *color=0, const std::string *parentName=0, const DtUUID *attachTo=0, const std::string *userData=0)
 
virtual void sendVrfIndirectArtilleryObjectModifyMsg (const DtSimulationAddress &addr, const DtUUID &uuid, const DtIfIndirectArtilleryData &mod)
 
Modify Existing Objects

These methods send DtSetDataRequest messages to the named object. Not all objects can will respond to all set requests. They must have a controller that responds to the message.

virtual void setLabel (const DtUUID &uuid, const std::string &label, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setExtendedLabels (const DtUUID &uuid, const std::map< int, DtString > &extendedLabels, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setOverlayParent (const DtUUID &uuid, const std::string &label, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setAltitude (const DtUUID &uuid, double altitude, bool aboveGroundLevel=false, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setLocation (const DtUUID &uuid, DtVector coord, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setAppearance (const DtUUID &uuid, int appearance, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setCapabilities (const DtUUID &uuid, int capabilities, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setHeading (const DtUUID &uuid, double degrees, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setForce (const DtUUID &uuid, DtForceType force, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setResource (const DtUUID &uuid, const char *resourceType, double value, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setRulesOfEngagement (const DtUUID &uuid, const char *rulesType, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setSectorOfResponsibility (const DtUUID &uuid, double center, double size, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setSpeed (const DtUUID &uuid, double speed, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setCurrentSpeed (const DtUUID &uuid, double speed, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setTarget (const DtUUID &uuid, const DtUUID &target, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setSuperior (const DtUUID &uuid, const DtUUID &superior, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setTaskedBySuperior (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setConcealed (const DtUUID &uuid, bool yes, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setEmitter (const DtUUID &uuid, int emitterId, bool on, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setEmergencyBeacon (const DtUUID &uuid, bool on, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setIff (const DtUUID &uuid, bool mode1on, int mode1code, bool mode2on, int mode2code, bool mode3on, int mode3code, bool mode4on, int mode4code, DtIffAtcNavaidsAltParm4 altParm4, bool modeCon, bool useAltModeC, bool modeSon, bool emergency, bool flash, bool sti, bool modeSTcasI, int pin, bool mode5LevelSelection, unsigned int messageFormatsPresent, unsigned int nationalOrigin, unsigned int navigationSource, unsigned int figureOfMerit, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void restore (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setDestroyed (const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setLifeformWeaponState (const DtUUID &uuid, DtWeaponState weapon, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setSkillLevel (const DtUUID &uuid, const unsigned int level, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setLifeformPosture (const DtUUID &uuid, DtLifeformState posture, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void setAggregateFormation (const DtUUID &leader, const std::string &formationName, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void reorganizeAggregate (const DtUUID &leader, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void sendSetDataMsg (const DtUUID &recipient, DtSetDataRequest *msg, const DtSimulationAddress &addr=DtSimSendToAll, bool updateScenario=true)
 
virtual void sendSetRequest (const DtSetDataRequest &s, const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll, bool updateScenario=true)
 
virtual void sendSetRequest (const DtSetDataRequest &s, const std::vector< DtUUID > &names, const DtSimulationAddress &addr=DtSimSendToAll, bool updateScenario=true)
 
virtual void requestIndirectArtilleryInformation (const DtUUID &)
 
Tasks

These functions send tasks to entities in the simulation.

virtual void moveAlongRoute (const DtUUID &entity, const DtUUID &route, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void moveToWaypoint (const DtUUID &entity, const DtUUID &waypoint, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void moveToLocation (const DtUUID &entity, const DtVector &destinationLocation, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void patrolBetweenWaypoints (const DtUUID &entity, const DtUUID &waypoint1, const DtUUID &waypoint2, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void patrolAlongRoute (const DtUUID &entity, const DtUUID &route, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void followEntity (const DtUUID &entity, const DtUUID &leader, const DtVector &offset, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void wait (const DtUUID &entity, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void waitDuration (const DtUUID &entity, DtTime duration, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void waitElapsed (const DtUUID &entity, DtTime elapsed, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void requestCurrentTasks (const DtUUID &entity)
 
virtual void subscribeForTaskInformation (const DtUUID &entity)
 
virtual void unsubscribeForTaskInformation (const DtUUID &entity)
 
virtual void sendTaskMsg (const DtUUID &recipient, DtSimTask *task, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void sendTaskRequest (const DtSimTask &s, const std::vector< DtUUID > &names, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void sendTaskRequest (const DtSimTask &s, const DtUUID &uuid, const DtSimulationAddress &addr=DtSimSendToAll)
 
virtual void requestTasksAndSetsFor (const std::vector< DtUUID > &name)
 
Plan Management

These function manage plans for entities in the simulation. Many of these methods will return data though messages that must be first registered for using DtGuiThreadNetworkCallbackManager::registerSimMessageCallbackFor(). The DtGuiThreadNetworkCallbackManager instance can be accessed using messageHandler().

virtual void abandonPlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void skipTask (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void cancelReactiveTask (const DtUUID &uuid, std::string scriptId, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void restartPlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void assignPlanByName (const DtUUID &uuid, const DtPlan *, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void assignMultiplePlanByName (std::vector< DtUUID > names, const DtPlan *, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void requestPlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void subscribePlan (const DtUUID &uuid, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void requestMultiplePlans (std::vector< DtUUID > names, DtSimulationAddress addr=DtSimSendToAll)
 
virtual void requestGlobalPlans (DtSimulationAddress addr=DtSimSendToAll)
 
virtual void assignGlobalPlanByName (const DtUUID &name, const DtPlan *, DtSimulationAddress addr)
 
virtual void deleteGlobalPlan (const DtUUID &, DtSimulationAddress addr)
 
virtual void launchGlobalPlan (const DtUUID &, DtSimulationAddress addr)
 
- Public Member Functions inherited from makVrf::DtQueuedManager
 DtQueuedManager (makVrv::DtDe &)
 
virtual ~DtQueuedManager ()
 
virtual void tick ()
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static
DtGuiThreadVrfRemoteController
instance (makVrv::DtDe &de)
 

Public Attributes

boost::signals2::signal< void(const
DtScenario *)> 
signal_loadedScenario
 
boost::signals2::signal< void()> signal_communicationDriverStarted
 
boost::signals2::signal< void()> signal_scenarioModified
 
boost::signals2::signal< void(const
DtScenarioLoadInformation &)> 
signal_loadScenario
 
boost::signals2::signal< void(const
DtScenario
*, DtPreserveMappingsFcn fcn,
void *userData, bool
saveToZipFile, bool queueSave,
int putIntoPlayMode)> 
signal_saveScenario
 
boost::signals2::signal< void(double)> signal_rollbackToSnapshot
 
boost::signals2::signal< void(std::vector
< DtScenario * >, DtFilename)> 
signal_saveCheckpoints
 
boost::signals2::signal< void()> signal_clearSavingCheckpoints
 
boost::signals2::signal< void(const
DtUUID &, bool &shouldDelete)> 
signal_shouldDeleteObject
 
boost::signals2::signal< void()> signal_closeScenario
 
boost::signals2::signal< void()> signal_reinitializeScenario
 
boost::signals2::signal< void(DtIfCreateVrfObject &)> signal_aboutToSendCreateMessage
 
boost::signals2::signal< void(DtIfModifyVrfObject &)> signal_aboutToSendModifyMessage
 
boost::signals2::signal< void(DtSharedNetworkSignaler::EnvironmentalSignalCreationData &)> signal_aboutToSendCreateEnvironmentalMessage
 

Protected Types

typedef std::map< unsigned int,
DtVrfObjectCreatedCallbackFunction
CreateCallbacks
 
typedef std::map< unsigned int,
DtComputedRouteResponseCallbackFunction
ComputedRouteCallbacks
 
typedef std::map< unsigned int,
DtComputedAerodromeResponseCallbackFunction
ComputedAerodromeCallbacks
 
- Protected Types inherited from makVrf::DtQueuedManager
typedef
makVrv::DtLockedBufferedQueue
< boost::function< void()> > 
DtVrfBackendManagerCallQueue
 
typedef std::vector
< boost::function< void()> > 
DtVrfBackendManagerCallList
 

Protected Member Functions

virtual void processObjectCreated (DtSimMessage *)
 
virtual void processComputedRouteCreated (DtSimMessage *)
 
virtual void processAerodromeCreated (DtSimMessage *)
 
virtual void setActivated (bool)
 
virtual bool addStatementsAndSendPlan (const DtPlan &plan, DtIfPlan &planMsg, const DtSimulationAddress &addr=DtSimSendToAll, int *retiStatus=0, DtString *retsStmt=0)
 
virtual void indirectArtilleryCreated (DtString, const DtUUID &, const DtEntityIdentifier &, DtIfIndirectArtilleryData)
 
virtual void checkIfContentMessageShouldMarkScenarioAsModified (const DtSimInterfaceContent &)
 
virtual void slot_preTick (makVrv::DtDe *de)
 
- Protected Member Functions inherited from makVrf::DtQueuedManager
virtual void queueSimulationFunction (const boost::function< void()> &function)
 
virtual void runFunctionQueue (DtVrfBackendManagerCallQueue &queue)
 

Protected Attributes

CreateCallbacks myCreateCallbacks
 
ComputedRouteCallbacks myCreateComputedRouteCallbacks
 
ComputedAerodromeCallbacks myComputedAerodromeCallbacks
 
std::set< intmyContentMessagesThatModifyScenario
 
- Protected Attributes inherited from makVrf::DtQueuedManager
makVrv::DtDemyDe
 
DtVrfBackendManagerCallQueue myFunctionCallQueue
 
bool myActivated
 

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::rollbackToSnapshot ( double  simTime)
virtual

Rolls back to the current snapshot given the scenario time to roll back to.

virtual void makVrf::DtGuiThreadVrfRemoteController::newScenario ( const DtScenario ,
time_t  startTimeOfDay = 12 *3600,
const DtChangeWeatherCommand = DtChangeWeatherCommand() 
)
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 If the weather command is specified that will be used as the default environment conditions for the new scenario. If not specified back-end defaults will be used
virtual void makVrf::DtGuiThreadVrfRemoteController::newScenario ( const DtFilename &  terrainDatabase,
time_t  startTimeOfDay = 12 *3600,
const DtChangeWeatherCommand = DtChangeWeatherCommand() 
)
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,
bool  inZipFile = false 
)
virtual

Creates the contents of the simulation object group at the given geocentric position and flags. The simulation object group to create will need to be in the same directory as the files that will be referenced to create this simulation object group in the back-end that this group is to be created on. The offset rotation is the amount to rotate the entire simulation object group around the center of mass (including changing headings). Rotation is in radians. If there is a simulation object group in the object groups directory with a name <simulationObjectGroup>.sogx use that, else look in sub-directory.

virtual 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 >(),
bool  saveAsZipFile = false 
)
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 bool 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

Rolls back to the current snapshot given the scenario time to roll back to.

virtual void makVrf::DtGuiThreadVrfRemoteController::saveScenario ( const DtScenario ,
DtPreserveMappingsFcn  fcn = 0,
void *  userData = 0,
bool  saveScenarioToZipFile = false,
bool  queueSave = false,
int  putIntoPlayMode = 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. If queueSave is true puts the save after all checkpoints have been processed (default is to put into first position). If putIntoPlayMode is 1 will run scenario with VRF control, else stop/freeze PDU. If 0 will keep at current state
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::saveCheckpoints ( const std::vector< DtScenario * > &  ,
const DtFilename &  scenarioName 
)
virtual

Saves a checkpointed scenario at the given sim time as a local scenario with the given scenario name as the base. The actual scenario name will be the scenario name plus the sim time. Note that there will be NO preserve questions asked for the saving of the checkpoint. The object map will be however the scenario is currently running.

virtual void makVrf::DtGuiThreadVrfRemoteController::clearSavingCheckpoints ( )
virtual

Clears out any checkpoints that are still yet to be saved.

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

Takes a snapshot of the scenario in the various back-ends in memory. This will not return any saved scenario files to the front-end.

virtual void makVrf::DtGuiThreadVrfRemoteController::takeBaseSnapshot ( )
virtual

Takes a snapshot and makes it the base snapshot that can be rewound to by the rewind to scenario start button. Sent to all back-ends. The old base snapshot simply becomes a snapshot.

virtual void makVrf::DtGuiThreadVrfRemoteController::closeScenario ( const DtFilename &  databaseToOpen = "",
bool  forceCloseScenario = false 
)
virtual

Close the current scenario. Hint that if the back-end has the current database opened keep it open. Normally, if the scenario is closed and there are snapshots and the database to open is the same database opened in the back-end the database will stay open. If you want to force a closing of everything in the case of snapshots being present, pass the forceCloseAll flag as true. If the database to open is supplied and the forceCloseAll flag is true, only the snapshots will be removed if the database to open is the same database that is currently opened.

virtual void makVrf::DtGuiThreadVrfRemoteController::reinitializeScenario ( )
virtual

Send a message to all back-ends to reinitialize the current scenario by deleting and recreating all scenario objects without restoring PSR context in controllers.

virtual 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 ,
bool  andDeleteFromOrbat = false,
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 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< intDtString >(),
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< intDtString >(),
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< intDtString >() 
)
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 void makVrf::DtGuiThreadVrfRemoteController::cancelComputeAerodrome ( const DtSimulationAddress &  addr,
unsigned int  requestId 
)
virtual

Previously started create computed route job.

virtual void makVrf::DtGuiThreadVrfRemoteController::computeAerodrome ( const DtSimulationAddress &  addr,
const std::vector< std::string > &  icaos = std::vector< std::string >(),
const DtUUID areaUUID = DtUUID::nullUUID(),
const std::string &  overlay = "",
const int  forceId = DtForceNeutral,
unsigned int  requestId = 0 
)
virtual

Create a new aerodrome. Note that the ICAO name must be specified. This function simply sends the info to the given address – it's up to users to do error checking before making this call!

virtual unsigned int makVrf::DtGuiThreadVrfRemoteController::createEntity ( DtVrfObjectCreatedCallbackFunction  fcn,
DtSimulationAddress  addr,
const 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,
const 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< intDtString >() 
)
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< intDtString >() 
)
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< intDtString >(),
bool  createSubordinates = true 
)
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< intDtString >(),
const DtUUID uuidForCreation = DtUUID::nullUUID(),
double  pitch = 0. 
)
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 unsigned int makVrf::DtGuiThreadVrfRemoteController::addComputeAerodromeCallbackFunction ( DtComputedAerodromeResponseCallbackFunction  )
virtual

Adds a new computed aerodrome function callback and returns the request id that can be used to associate that callback to be invoked when the item is created.

virtual void makVrf::DtGuiThreadVrfRemoteController::removeComputeAerodromeCallbackFunction ( int  rId)
virtual

Removes a computed aerodrome 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::setEmergencyBeacon ( const DtUUID uuid,
bool  on,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set a given emergency beacon 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::setSkillLevel ( const DtUUID uuid,
const unsigned int  level,
const DtSimulationAddress &  addr = DtSimSendToAll 
)
virtual

Set skill level.

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::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 DtUUID )
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::sendDetonationInteraction ( const DtDetonationInteractionData interData)
virtual

Sends a detonation interaction.

virtual void makVrf::DtGuiThreadVrfRemoteController::sendDetonationInteractionAndDelete ( DtDetonationInteractionData data)
virtual

Sends a detonation 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::quitAllBackends ( )
virtual

Uses the shared signaler to signal to quit all backends. Part of this process will be setting a variable in the shared state that the message has been sent.

virtual 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(),
int  embarkInSlot = -1,
const DtString slotName = "*",
const DtString slotType = "*",
bool  chooseAnyIfNotAvailable = true,
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::setUseGlobalTimeZone ( bool  )
virtual

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

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::setScenarioName ( const DtString ,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Sets scenario name. 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::requestSyncMatrices ( DtSimulationAddress  addr = DtSimSendToAll)
virtual

Requests the list of all synchronization matrices from the simulation engine.

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

Creates a new synchronization matrix in the sim engine specified in addr. If addr is DtSimSendToAll, the first sim engine is chosen.

virtual void makVrf::DtGuiThreadVrfRemoteController::renameSyncMatrix ( const DtUUID uuid,
const DtString name,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Renames the synchronization matrix matching the specified uuid.

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

Deletes the synchronization matrix matching the specified uuid.

virtual void makVrf::DtGuiThreadVrfRemoteController::deleteSyncMatrixPhase ( const DtUUID uuid,
const DtString phaseName,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Deletes a phase of the synchronization matrix matching the specified uuid.

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

Requests info of the synchronization matrix matching the specified uuid.

virtual void makVrf::DtGuiThreadVrfRemoteController::addSyncMatrixObjects ( const DtUUID uuid,
const std::vector< DtUUID > &  objects,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Add objects to the synchronization matrix matching the specified uuid.

virtual void makVrf::DtGuiThreadVrfRemoteController::removeSyncMatrixObject ( const DtUUID syncMatrix,
const DtUUID object,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Remove objects from the synchronization matrix matching the specified uuid.

virtual void makVrf::DtGuiThreadVrfRemoteController::requestSyncMatrixPlan ( const DtUUID syncMatrix,
const DtUUID object,
const DtString phaseName,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Request a synchronization matrix plan for an object in a phase.

virtual void makVrf::DtGuiThreadVrfRemoteController::linkPlan ( const DtUUID syncMatrix,
const DtUUID object,
const DtString phaseName,
bool  linkPlan,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Links a sync matrix plan in the specified phase with the previous phase.

virtual void makVrf::DtGuiThreadVrfRemoteController::setSyncMatrixPlan ( const DtUUID syncMatrix,
const DtUUID object,
const DtString phaseName,
const DtPlan plan,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

set a plan in a synchronization matrix for a specific object in a phase.

virtual void makVrf::DtGuiThreadVrfRemoteController::removeSyncMatrixPlan ( const DtUUID syncMatrix,
const DtUUID object,
const DtString phaseName,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Remove a plan from a synchronization matrix for an object in a phase.

virtual void makVrf::DtGuiThreadVrfRemoteController::setSyncMatrixPhaseInfo ( const DtUUID syncMatrix,
const DtString currentName,
int  phaseIndex,
const DtString requestedName,
bool  endConditionSpecified,
const DtSimCondExpr endCondition = NULL,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Set a synchronization matrix phase info.

virtual void makVrf::DtGuiThreadVrfRemoteController::activateSyncMatrixPlan ( const DtUUID syncMatrix,
const DtUUID object,
const DtString phaseName,
bool  activate,
DtSimulationAddress  addr = DtSimSendToAll 
)
virtual

Activate/Deactivate a plan of an object in a synchronization matrix phase.

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::processAerodromeCreated ( DtSimMessage )
protectedvirtual

Callback made when a computed aerodrome 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::signals2::signal<void (const DtScenario*)> makVrf::DtGuiThreadVrfRemoteController::signal_loadedScenario

This section represents the collection of all signals sent by the various methods listed above. These signals are needed to communicate with the network driver thread.

Called after both signal_new and signal_load scenario

boost::signals2::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_communicationDriverStarted

Signal sent when the communication driver has been started.

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

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

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

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

boost::signals2::signal<void (const DtScenario*, DtPreserveMappingsFcn fcn, void* userData, bool saveToZipFile, bool queueSave, int putIntoPlayMode)> makVrf::DtGuiThreadVrfRemoteController::signal_saveScenario

Sends signal to save the specified scenario.

boost::signals2::signal<void (double)> makVrf::DtGuiThreadVrfRemoteController::signal_rollbackToSnapshot

Signal to roll back to the give sim time.

boost::signals2::signal<void (std::vector<DtScenario*>, DtFilename)> makVrf::DtGuiThreadVrfRemoteController::signal_saveCheckpoints

Sends signal to save the specified checkpoints. The sim time specified in the scenario will be the checkpoint time to try and save.

boost::signals2::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_clearSavingCheckpoints

Sends a signal to clear out all the checkpoints that have not yet been saved.

boost::signals2::signal<void (const DtUUID&, bool& shouldDelete)> makVrf::DtGuiThreadVrfRemoteController::signal_shouldDeleteObject

Sent before deleting the object, set the shouldDeleteObject flag to false to not delete the specified object.

boost::signals2::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_closeScenario

Sent when the scenario is closing.

boost::signals2::signal<void ()> makVrf::DtGuiThreadVrfRemoteController::signal_reinitializeScenario

Signal send after signal to reinitialize scenario.

boost::signals2::signal<void (DtIfCreateVrfObject&)> makVrf::DtGuiThreadVrfRemoteController::signal_aboutToSendCreateMessage

Sent when create message is about to be sent. Can change object create message to effect content.

boost::signals2::signal<void (DtIfModifyVrfObject&)> makVrf::DtGuiThreadVrfRemoteController::signal_aboutToSendModifyMessage

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

boost::signals2::signal<void (DtSharedNetworkSignaler::EnvironmentalSignalCreationData&)> makVrf::DtGuiThreadVrfRemoteController::signal_aboutToSendCreateEnvironmentalMessage

signal sent right before an environmental object is created. The environmental goes through a different creation process than an entity

CreateCallbacks makVrf::DtGuiThreadVrfRemoteController::myCreateCallbacks
protected
ComputedRouteCallbacks makVrf::DtGuiThreadVrfRemoteController::myCreateComputedRouteCallbacks
protected
ComputedAerodromeCallbacks makVrf::DtGuiThreadVrfRemoteController::myComputedAerodromeCallbacks
protected
std::set<int> makVrf::DtGuiThreadVrfRemoteController::myContentMessagesThatModifyScenario
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)