![]() |
VR-Forces Developer's Guide
|
A locally simulated VRF object.
Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, while next-frame data can be modified as needed.

Classes | |
| class | SimObjectCallback |
Public Types | |
| enum | ChangeFlag { ObjectName = 1, ForceType, ObjectLabel, OverlayParent, ObjectType, SubordinateOfForceLevel } |
| enum | ReinitializeFlags { ReinitializeDefault = 0x00000000, ReinitializeKeepPSR = 0x00000001, ReinitializeStateData = 0x00000002 } |
| typedef std::list < DtLuaScriptInterfaceExtension::CreatorUserPair > | ScriptInterfaceExtensions |
Public Member Functions | |||
| virtual | ~DtLocalObject () override | ||
| const makVrf::DtExternalNextFrameState * | nextFrameState () const | ||
| makVrf::DtExternalNextFrameState * | nextFrameState () | ||
| template<typename T_Component > | |||
| T_Component * | getNextFrameStateComponent () | ||
| template<typename T_Component > | |||
| const T_Component * | getNextFrameStateComponent () const | ||
| virtual bool | addStateProperty (const DtString &context, const DtString &propertyName, DtPropertyInterface *property) | ||
| virtual void | setNextFrameIsSubordinateOfForceLevel (bool) | ||
| virtual bool | nextFrameIsSubordinateOfForceLevel () const | ||
| virtual bool | nextFrameIsLocal () const | ||
| virtual bool | isLocal () const override | ||
| virtual void | removedFromSimulation () | ||
| virtual void | makeInvalid () override | ||
| bool | isValid () const | ||
| bool | publishObject () const | ||
| int | publishFlag () const | ||
| virtual void | setNextFrameIsClutterEntity (bool b) | ||
| virtual bool | nextFrameIsClutterEntity () const | ||
| virtual void | setNextFrameIsVrfSimulated (bool) | ||
| virtual bool | nextFrameIsVrfSimulated () const | ||
| virtual void | setNextFrameCallsign (const DtString &cs) | ||
| virtual const DtString & | nextFrameCallsign () const | ||
| virtual bool | isRemoteAttachedObject () const | ||
| virtual void | setNextFrameEngagementRules (const DtString &) | ||
| virtual DtString | nextFrameEngagementRules () const | ||
| virtual void | setNextFrameIsTasked (bool) | ||
| virtual bool | nextFrameIsTasked () const | ||
| virtual void | setNextFrameIndependentlyTasked (bool) | ||
| virtual bool | nextFrameIndependentlyTasked () const | ||
| virtual void | setNextFrameGlobalId (const DtString &) | ||
| virtual void | setNextFrameEntityId (const DtEntityIdentifier &id) | ||
| virtual DtEntityIdentifier | nextFrameEntityId () const | ||
| virtual bool | setNextFrameObjectName (const DtString &) | ||
| virtual DtString | nextFrameObjectName () const | ||
| virtual void | setNextFrameObjectType (const DtEntityType &) | ||
| virtual DtEntityType | nextFrameObjectType () const | ||
| void | setNotifyLevel (int) | ||
| DtSimulationServices * | simulationServices () const | ||
| bool | convertingToLocal () const | ||
| virtual void | setConvertingToRemote (bool) | ||
| bool | convertingToRemote () const | ||
| template<typename T_Component > | |||
| T_Component * | addStateComponent (bool checkWritable=false, bool isRemote=false) | ||
| makVrf::DtFrameStateInterface * | addStateComponent (makVrf::DtStateComponent::StateComponentType t) | ||
| makVrf::DtLaserDesignatorStateComponent * | addLaserDesignator () | ||
| void | removeLaserDesignator (makVrf::DtLaserDesignatorStateComponent *) | ||
| makVrf::DtEmitterSystemStateComponent * | addEmitterSystem () | ||
| void | removeEmitterSystem (makVrf::DtEmitterSystemStateComponent *) | ||
| makVrf::DtActiveSonarStateComponent * | addActiveSonarSystem () | ||
| void | removeActiveSonarSystem (makVrf::DtActiveSonarStateComponent *) | ||
| makVrf::DtRadioTransmitterStateComponent * | addRadioTransmitter () | ||
| void | removeRadioTransmitter (makVrf::DtRadioTransmitterStateComponent *) | ||
| makVrf::DtNavAidRadioTransmitterStateComponent * | addNavAidRadioTransmitter () | ||
| void | removeNavAidRadioTransmitter (makVrf::DtNavAidRadioTransmitterStateComponent *) | ||
| makVrf::DtRadioReceiverStateComponent * | addRadioReceiver () | ||
| void | removeRadioReceiver (makVrf::DtRadioReceiverStateComponent *) | ||
| makVrf::DtIffStateComponent * | getOrCreateIffSystem () | ||
| void | removeIffSystem () | ||
| makVrf::DtUnderwaterAcousticsStateComponent * | getOrCreateUnderwaterAcousticsSystem (bool isRemote=false) | ||
| void | removeUnderwaterAcousticsSystem () | ||
| virtual void | setNextFrameUnderFire (bool b) | ||
| virtual bool | nextFrameUnderFire () const | ||
| virtual void | setNextFrameInvulnerable (bool) | ||
| virtual bool | nextFrameInvulnerable () const | ||
| virtual void | setNextFrameUndetectable (bool) | ||
| virtual bool | nextFrameUndetectable () const | ||
| virtual bool | init () | ||
| virtual bool | create () | ||
| bool | isGlobalPlan () const | ||
| bool | isSyncMatrix () const | ||
| virtual int | publicationFlag () const | ||
| virtual bool | isCapableOfTask (std::string taskName) | ||
| virtual bool | convertToRemoteObject (DtString &error) | ||
| virtual bool | convertToLocalObject (DtString &error, const std::string &archiveState) | ||
| virtual bool | prepareForHandoff () | ||
| virtual std::string | archiveState () const | ||
| virtual DtVrfObjectStateRepository * | internalState () | ||
| virtual const DtVrfObjectStateRepository * | internalState () const | ||
| virtual void | prepareForReinitialization (ReinitializeFlags flags=ReinitializeDefault) | ||
| DtVrfObjectSubComponentTypes * | vrfSubComponentTypes () const | ||
| virtual void | tick () | ||
| virtual int | scenarioRunId () const | ||
| virtual bool | checkIfMoveOntoEmbarked (const DtVector &localPosition, const DtSimObject *&hit, const std::list< DtUUID > &additionalIgnore=std::list< DtUUID >()) | ||
| virtual bool | checkAndDisembarkIfEmbarked (const DtVector &localPosition) | ||
| virtual bool | lowFidelityDisembarkHitCheck (const DtVector &localPosition) const | ||
| virtual bool | highFidelityDisembarkHitCheck (const DtVector &localPosition) const | ||
| virtual int | nextEmitterSystemId () | ||
| bool | initialized () const | ||
| DtVrfCallbackQueue::CallbackInterface::Ptr | parallelContainer () | ||
| virtual void | cleanupItemsNeededForReinitialize () | ||
| virtual bool | reinitialize () | ||
| virtual void | setupFromMessageContent (const DtIfModifyVrfObject *ifModVrfObject) | ||
| virtual bool | validNameLength (const DtString &name) const | ||
| virtual void | sendVrfObjectCreated (unsigned long requestId=0, bool requestCreated=true) | ||
| virtual void | setIsInMovementFlux (bool, const DtVector &proposedLocation=DtVector::zero()) | ||
State and Parameter Properties | |||
| virtual void | setNextFrameParameterProperties (const DtRwProperties &) | ||
| const DtRwProperties & | nextFrameParameterProperties () const | ||
| virtual DtRwProperties & | nextFrameStateProperties () | ||
| virtual const DtRwProperties & | nextFrameStateProperties () const | ||
| virtual const DtRwProperties & | stateProperties () const | ||
| virtual DtPropertyInterface * | stateProperty (const DtString &propertyName) | ||
| virtual DtPropertyInterface * | stateProperty (const DtString &context, const DtString &propertyName) | ||
| virtual const DtPropertyInterface * | stateProperty (const DtString &propertyName) const | ||
| virtual const DtPropertyInterface * | stateProperty (const DtString &context, const DtString &propertyName) const | ||
| virtual DtPropertyInterface * | addStateProperty (const DtString &context, const DtString &propertyName, int initialValue) | ||
| virtual DtPropertyInterface * | addStateProperty (const DtString &context, const DtString &propertyName, double initialValue) | ||
| virtual DtPropertyInterface * | addStateProperty (const DtString &context, const DtString &propertyName, bool initialValue) | ||
| virtual DtPropertyInterface * | addStateProperty (const DtString &context, const DtString &propertyName, const DtString &initialValue) | ||
| virtual DtPropertyInterface * | addStateProperty (const DtString &context, const DtString &propertyName, const DtVector &initialValue) | ||
Convenience methods | |||
| virtual void | setNextFrameActivity (const DtString &) | ||
| virtual void | setGlobalIdentifierForPublication (const DtString &) | ||
| virtual void | setNextFrameExtendedData (const DtString &key, const DtString &value) | ||
| virtual void | setNextFrameExtendedDataMap (const std::map< DtString, DtString > &) | ||
| virtual void | setNextFrameExtendedDataMap (const std::map< std::string, std::string > &) | ||
| virtual void | clearNextFrameExtendedData () | ||
| virtual void | appendNextFrameExtendedData (const std::map< DtString, DtString > &s) | ||
| virtual void | setNextFrameExtendedLabel (int, const DtString &value) | ||
| virtual void | clearNextFrameExtendedLabels () | ||
| virtual void | setNextFrameExtendedLabels (const std::map< int, DtString > &) | ||
| virtual DtAppearance | nextFrameAppearance () const | ||
TSPI Mutators | |||
Methods for Time-Space-Position Information manipulation Sets the local position for the next frame
| |||
| virtual void | setNextFrameLocalPosition (const DtVector &v) | ||
| virtual DtString | nextFrameLabel () const | ||
| virtual const DtVector & | nextFrameLocalPosition () const | ||
| virtual void | setNextFrameWorldPosition (const DtVector &v) | ||
| virtual const DtVector & | nextFrameWorldPosition () const | ||
| virtual void | setNextFrameParentPosition (const DtVector &v) | ||
| virtual const DtVector & | nextFrameParentPosition () const | ||
| virtual void | setNextFrameLocalOrientationMatrix (const DtDcm &v) | ||
| virtual const DtDcm & | nextFrameLocalOrientationMatrix () const | ||
| virtual void | setNextFrameLocalOrientationWrtDatabase (const DtTaitBryan &v) | ||
| virtual const DtTaitBryan & | nextFrameLocalOrientationWrtDatabase () const | ||
| virtual void | setNextFrameLocalOrientation (const DtTaitBryan &v) | ||
| virtual const DtTaitBryan & | nextFrameLocalOrientation () const | ||
| virtual const DtTaitBryan & | nextFrameTopographicOrientation () const | ||
| virtual void | setNextFrameParentOrientation (const DtTaitBryan &v) | ||
| virtual const DtTaitBryan & | nextFrameParentOrientation () const | ||
| virtual void | setNextFrameWorldOrientation (const DtTaitBryan &v) | ||
| virtual void | setNextFrameWorldOrientationMatrix (const DtDcm &v) | ||
| virtual const DtTaitBryan & | nextFrameWorldOrientation () const | ||
| virtual const DtDcm & | nextFrameWorldOrientationMatrix () const | ||
| virtual void | setNextFrameLocalVertices (const DtList &vertices, DtVector &newGeometricCenter) | ||
| virtual void | setNextFrameLocalVertices (const DtLocalVertexList &vertices, DtVector &newGeometricCenter) | ||
| virtual void | removeNextFrameVertex (int iIndex) | ||
| virtual void | addNextFrameLocalVertex (const DtVector &vertex) | ||
| virtual void | addNextFrameLocalVertex (const DtVector &vertex, DtVector &newGeometricCenter) | ||
| virtual void | setNextFrameWorldVertices (const std::vector< DtVector > &vertices, DtVector &newGeometricCenter) | ||
| virtual void | setNextFrameWorldVertices (const DtVertexList &vertices, DtVector &newGeometricCenter) | ||
| virtual void | setNextFrameWorldVertices (const DtList &vertices, DtVector &newGeometricCenter) | ||
| virtual void | addNextFrameWorldVertex (const DtVector &vertex, DtVector &newGeometricCenter) | ||
| bool | nextFrameIsDestroyed () const | ||
| int | nextFrameDamageState () const | ||
| virtual void | setNextFrameRelativeVertices (const DtLocalVertexList &vertices) | ||
| virtual const DtLocalVertexList & | nextFrameLocalVertices () const | ||
| virtual const DtVertexList & | nextFrameWorldVertices () const | ||
| virtual const DtLocalVertexList & | nextFrameRelativeVertices () const | ||
| virtual double | nextFrameHeading () const | ||
| virtual double | nextFramePitch () const | ||
| virtual double | nextFrameRoll () const | ||
Label Management | |||
Methods for managing object labels and identifiers | |||
| virtual void | setNextFrameLabel (const DtString &) | ||
| virtual const DtString & | nextFrameExtendedData (const DtString &) const | ||
| virtual void | setNextFrameInvisible (bool) | ||
| virtual bool | nextFrameInvisible () const | ||
| virtual void | setNextFrameOverlay (const DtString &) | ||
| virtual bool | nextFrameSensorsKilled () const | ||
| virtual void | setNextFrameSensorsKilled (bool sensorsKilled) | ||
| virtual void | setNextFrameInvisibleSetByUser (bool b) | ||
| virtual bool | nextFrameInvisibleSetByUser () const | ||
| virtual DtString | nextFrameOverlay () const | ||
Object Console Streams | |||
Each VRF object has a console that is displayed as part of the information dialog box for that object. When extending the simulation engine, you can send messages to the object console window for a particular object. These messages are also printed to the vrfSim console and to the vrfSim log file, with the name of the object added as a prefix. To write messages to the object console, use one of the following objectConsole*() stream methods. Each object console has five notification levels, and each level has a stream method. Choose a level appropriate to the nature of the message being printed to the console. The console will only display messages with a notification level equal to or higher than the notification level chosen by the user.
For complete details about translation files, see Section 2.5, Localizing the Graphical User Interface in the VR-Forces Users Guide. | |||
| virtual DtOutputStream & | objectConsoleDebug (const DtString &channel="") const | ||
| virtual DtOutputStream & | objectConsoleVerbose (const DtString &channel="") const | ||
| virtual DtOutputStream & | objectConsoleInfo (const DtString &channel="") const | ||
| virtual DtOutputStream & | objectConsoleWarn (const DtString &channel="") const | ||
| virtual DtOutputStream & | objectConsoleError (const DtString &channel="") const | ||
| int | notifyLevel () const | ||
| const DtObjectConsole * | objectConsole () const | ||
Embarkation Management | |||
Methods for managing object embarkation Determines if this object is embarked in the next frame
Make this call after attempting to embark an object to verify if the embarkation succeeded | |||
| virtual bool | nextFrameIsEmbarked () const | ||
| virtual DtUUID | nextFrameEmbarkedOn () const | ||
| virtual void | setNextFrameEmbarkedOn (const DtUUID &u) | ||
| virtual bool | nextFrameIsEmbarkedOn (const DtUUID &) const | ||
| virtual DtSimObjectReference | nextFrameSimObjectEmbarkedOn () const | ||
Echelon Management | |||
Methods for managing the object's echelon identification Sets the echelon ID for the next frame
| |||
| virtual void | setNextFrameEchelonId (const DtEchelonId &) | ||
| virtual DtEchelonId | nextFrameEchelonId () const | ||
Force Type Management | |||
Methods for managing the object's force type Sets the force type for the next frame
| |||
| virtual void | setNextFrameForceType (int) | ||
| virtual DtForceType | nextFrameForceType () const | ||
| virtual void | setNextFrameSessionId (int) | ||
| virtual int | nextFrameSessionId () const | ||
| virtual void | setNextFrameVrfMessageVersionSupported (int) | ||
| virtual int | nextFrameVrfMessageVersionSupported () const | ||
| virtual void | removeNextFrameExtendedData (const DtString &) | ||
| void | removeStateComponent (const makVrf::DtFrameStateInterface *) | ||
| virtual void | upgradeFromImport () | ||
Task Visualization | |||
Methods for managing task visualization components | |||
| makVrf::DtTaskVisualizationStateComponent * | lineTaskVisualization (const DtString &visualName, const DtString &component) | ||
| makVrf::DtTaskVisualizationStateComponent * | pointTaskVisualization (const DtString &visualName, const DtString &component) | ||
| makVrf::DtTaskVisualizationStateComponent * | areaTaskVisualization (const DtString &visualName, const DtString &component) | ||
| makVrf::DtTaskVisualizationStateComponent * | textTaskVisualization (const DtString &visualName, const DtString &component) | ||
| void | removeTaskVisualization (makVrf::DtTaskVisualizationStateComponent *) | ||
Operation Status Management | |||
| virtual void | setOperationInProgress (int, bool) | ||
| virtual bool | operationInProgress (int) const | ||
| virtual void | clearOperationsInProgress () | ||
| virtual bool | createInternalState (const DtVrfObjectParameters *parameterEntry) | ||
| virtual bool | setupSubComponentTypes () | ||
Resource Management | |||
Gets a pointer to the DtSimResourceManager for this object This resource manager interacts with all the resource managers in all the systems on this object, and allows finding any resource regardless of its location in the system hierarchy.
| |||
| const DtSimResourceManager & | resourceManager () const | ||
| DtSimResourceManager & | resourceManager () | ||
Component Accessors | |||
Methods to access various sub-components of this object | |||
| virtual DtVrfObjectCommunicationInterface * | communicationInterface () | ||
| virtual const DtVrfObjectCommunicationInterface * | communicationInterface () const | ||
| virtual DtVrfObjectTerrainPreloadManager * | terrainPreloadManager () | ||
| virtual DtSimRadio * | radio () const | ||
| virtual DtSimTaskManager * | taskManager () const | ||
| virtual DtScriptInterfaceHandler * | scriptInterfaceHandler () const | ||
| virtual DtVrfObjectPlanManager * | vrfObjectPlanManager () const | ||
| virtual DtSimComponentManager * | componentManager () | ||
| virtual const DtSimComponentManager * | componentManager () const | ||
| virtual DtSetDataManager * | setDataManager () | ||
| virtual const DtSetDataManager * | setDataManager () const | ||
| virtual void | cleanupItemsNeededForHandoff () | ||
| virtual bool | recreateItemsNeededFromHandoff () | ||
| VRF4API_METHOD DtVrfObjectStateRepository * | vrfState () | ||
| VRF4API_METHOD const DtVrfObjectStateRepository * | vrfState () const | ||
| VRF4API_METHOD void | setObjectIdentifier (const DtEntityIdentifier &id) | ||
| VRF4API_METHOD void | place (const DtReal heading, bool *dataAvailable=0, bool requireAllData=false) | ||
| VRF4API_METHOD void | place (const DtVector &heading, bool *dataAvailable=0, bool requireAllData=false) | ||
| VRF4API_METHOD bool | isVrfSimulated () const | ||
| VRF4API_METHOD void | invokeSetLocationCompleteCallbacks () | ||
Public Member Functions inherited from DtSimObject | |||
| DtSimObject (const DtSimulationServices *simManager, makVrf::DtStateData *sd) | |||
| DtSimObject (const DtSimulationServices *simManager, const DtUUID &uuid) | |||
| DtSimObject (const DtSimulationServices *simManager, const DtEntityIdentifier &id) | |||
| DtSimObject (const DtSimulationServices *simManager, const makVrf::DtExternalCurrentFrameState *) | |||
| virtual | ~DtSimObject () override | ||
| virtual Dt3dBoundingVolume | boundingVolume () const override | ||
| DtVector | localBoundingVolumeCenterPosition () const | ||
| DtExtent | extent () const | ||
| DtExtent | roughExtent () const | ||
| void | expandExtent (DtExtent &extent) const | ||
| bool | isOnTopOf (const DtSimObject *o) const | ||
| bool | isOnTopOf (const DtSimObject *o, double d) const | ||
| bool | isOnTopOf (const DtSimObject *o, double d, const DtVector &position) const | ||
| virtual DtVrfLocalObjectCreateInformation | vrfLocalObjectCreateInformation () const | ||
| const DtSimulationServices * | simulationServices () const | ||
| const DtVrfObjectParameters * | parameters () const | ||
| DtVrfObjectParameters * | duplicateParameters () | ||
| double | totalMass () const | ||
| const Coordinate_System * | coordinateSystem () const | ||
| DtVector | locationRelativeTo (const DtVector &, const DtSimObject *relativeTo) const | ||
| DtVector | velocityRelativeTo (const DtVector &, const DtSimObject *relativeTo) const | ||
| DtVector | accelerationRelativeTo (const DtVector &, const DtSimObject *relativeTo) const | ||
| DtTaitBryan | orientationRelativeTo (const DtTaitBryan &, const DtSimObject *relativeTo) const | ||
| const DtRwProperties & | parameterProperties () const | ||
| double | distanceToLocalVector (const DtVector &) const | ||
| DtSimObjectReference | simObjectReference () const | ||
| DtSimObjectReference | superior () const | ||
| virtual void | superiorChanged () override | ||
| const DtSimObjectReferenceList & | attachments () const | ||
| bool | isTopLevel () const | ||
| MAKVRinTerra::DtFeatureGeometry | featureGeometry () const | ||
| const DtAttachedTerrain * | terrainAttachedTo () const | ||
| double | distSquaredTo (const DtVector &) const | ||
| virtual void | frameAdvanced () override | ||
| const DtPlatformSimObjectFacade & | platformSimObjectFacade () const | ||
| const DtVrfSimulatedSimObjectFacade & | vrfSimulatedSimObjectFacade () const | ||
| bool | embarkedOnHighFidelityObject () const | ||
| DtSimObjectReference | simObjectEmbarkedOn () const | ||
| DtSimObjectDecorator * | getOrCreateDecorator (const std::string &Decorator) const | ||
| VRF4API_METHOD const DtSimObject * | vrfState () | ||
| VRF4API_METHOD const DtSimObject * | vrfState () const | ||
| VRF4API_METHOD const DtSimObject * | simState () | ||
| VRF4API_METHOD const DtSimObject * | simState () const | ||
| VRF4API_METHOD bool | operator== (const DtSimObject *rhs) const | ||
| VRF4API_METHOD const DtSimulationServices * | simManager () const | ||
| VRF4API_METHOD DtSimulationServices * | simManager () | ||
| VRF4API_METHOD makVrf::DtVrfObjectGeometry | vrfObjectGeometry () const | ||
| VRF4API_METHOD const DtPhysicalWorld * | physicalWorld () const | ||
| VRF4API_METHOD DtSimObjectReference | sharedReference () const | ||
| VRF4API_METHOD const DtVrfObjectParameters * | parameterEntry () const | ||
| VRF4API_METHOD const DtSimObjectManager * | simObjectManager () const | ||
| VRF4API_METHOD DtSimObjectReference | vrfObject () const | ||
| VRF4API_METHOD DtSimObjectReference | parent () const | ||
| VRF4API_METHOD double | currentHeading () const | ||
| VRF4API_METHOD double | currentPitch () const | ||
| VRF4API_METHOD double | currentRoll () const | ||
| VRF4API_METHOD const DtString & | markingText () const | ||
| VRF4API_METHOD bool | isSpatiallyFrozen () const | ||
| VRF4API_METHOD bool | isFrozen () const | ||
| VRF4API_METHOD double | speed () const | ||
| VRF4API_METHOD double | forwardSpeed () const | ||
| VRF4API_METHOD DtVector | worldVelocity () const | ||
| VRF4API_METHOD DtVector | localVelocity () const | ||
| VRF4API_METHOD DtVector | bodyVelocity () const | ||
| VRF4API_METHOD DtVector | relativeVelocity () const | ||
| VRF4API_METHOD DtVector | parentVelocity () const | ||
| VRF4API_METHOD DtVector | rotationalVelocity () const | ||
| VRF4API_METHOD DtVector | worldAcceleration () const | ||
| VRF4API_METHOD DtVector | localAcceleration () const | ||
| VRF4API_METHOD DtVector | relativeAcceleration () const | ||
Public Member Functions inherited from makVrf::DtStateDataWrapper | |||
| DtStateDataWrapper () | |||
| DtStateDataWrapper (const DtStateDataManager *simManager, const DtUUID &uuid) | |||
| DtStateDataWrapper (const DtStateDataManager *simManager, const DtEntityIdentifier &id) | |||
| DtStateDataWrapper (const DtStateDataManager *simManager, const DtExternalCurrentFrameState *) | |||
| DtStateDataWrapper (const DtStateData *sd) | |||
| virtual | ~DtStateDataWrapper () | ||
| DtStateDataWrapper & | operator= (const DtUUID &) | ||
| DtStateDataWrapper & | operator= (const DtStateDataWrapper &rhs) | ||
| bool | operator== (const DtUUID &rhs) const | ||
| bool | operator== (const DtStateDataWrapper &rhs) const | ||
| bool | operator!= (const DtUUID &rhs) const | ||
| bool | operator!= (const DtStateDataWrapper &rhs) const | ||
| const DtUUID & | uuid () const | ||
| const DtString & | objectName () const | ||
| DtString | label () const | ||
| DtEntityType | entityType () const | ||
| DtEntityType | objectType () const | ||
| unsigned long long | userData () const | ||
| const DtString & | extendedData (const DtString &key) const | ||
| std::map< DtString, DtString > | extendedDataMap () const | ||
| std::map< std::string, std::string > | extendedDataStdStringMap () const | ||
| bool | hasExtendedData (const DtString &key) const | ||
| DtString | overlay () const | ||
| DtAppearance | appearance () const | ||
| int | capabilities () const | ||
| DtEntityType | guise () const | ||
| const DtRwProperties & | stateProperties () const | ||
| bool | isClutterEntity () const | ||
| DtVrfObjectGeometry | objectGeometry () const | ||
| const DtIffStateComponent * | iffStateComponent () const | ||
| std::vector< const DtLaserDesignatorStateComponent * > | laserDesignatorStateComponents () const | ||
| DtString | awaiting () const | ||
| bool | isSpotReport () const | ||
| bool | isTDLReport () const | ||
| bool | awaitingTransfer () const | ||
| bool | isModified () const | ||
| template<typename T_Component > | |||
| const T_Component * | getStateComponent () const | ||
| template<typename T_Component > | |||
| std::vector< const T_Component * > | getStateComponentList () const | ||
| template<typename T_Component > | |||
| bool | hasStateComponent () const | ||
| DtForceType | forceType () const | ||
| const DtEntityIdentifier & | entityId () const | ||
| const DtEntityIdentifier & | objectIdentifier () const | ||
| DtSimulationAddress | simEngineAddress () const | ||
| bool | isDestroyed () const | ||
| int | damageState () const | ||
| const DtString & | globalId () const | ||
| bool | isEntityOrUnit () const | ||
| bool | isSimulatedObject () const | ||
| bool | isEntity () const | ||
| bool | isValid () const | ||
| int | sessionId () const | ||
| bool | isVrfSimulatedObject () const | ||
| bool | isCurrentlyTasked () const | ||
| bool | isExecutingPlan () const | ||
| bool | hasPlan () const | ||
| bool | independentlyTasked () const | ||
| bool | underFire () const | ||
| DtString | rulesOfEngagement () const | ||
| DtEchelonId | echelonId () const | ||
| bool | isDeleted () const | ||
| const DtLocalVertexList & | localVertices () const | ||
| std::vector< DtVector > | localVertexList () const | ||
| const DtVertexList & | worldVertices () const | ||
| std::vector< DtVector > | worldVertexList () const | ||
| const DtLocalVertexList & | relativeVertices () const | ||
| std::vector< DtVector > | relativeVertexList () const | ||
| unsigned long long | legionGlobalId () const | ||
| bool | advancedFrame () const | ||
| DtUUID | superiorUUID () const | ||
| bool | isTopLevel () const | ||
| const DtExternalFrameStateInterface * | externalCurrentFrameState () const | ||
| const DtSimulatedObjectStateComponent * | currentFrameSimulatedObjectStateComponent () const | ||
| const DtLocationStateComponent * | currentFrameLocationStateComponent () const | ||
| const DtStatePropertiesStateComponent * | currentFrameStatePropertiesStateComponent () const | ||
| const DtVrfGeometryStateComponent * | currentFrameVrfGeometryStateComponent () const | ||
| const DtEntityStateComponent * | currentFrameEntityStateComponent () const | ||
| const DtVrfStateComponent * | currentFrameVrfStateComponent () const | ||
| std::set< int > | currentFrameModifiedStateComponentTypes () const | ||
| std::set< int > | nextFrameModifiedStateComponentTypes () const | ||
| DtRwVrfKinematicState | kinematicState () const | ||
| const DtVector & | worldPosition () const | ||
| const DtVector & | localPosition () const | ||
| const DtVector & | parentPosition () const | ||
| double | distSquaredTo (const DtVector &) const | ||
| bool | hasLocationChanged () const | ||
| bool | objectVerticesChanged () const | ||
| bool | worldVerticesChanged () const | ||
| bool | haveVerticesChanged () const | ||
| virtual void | firstFrameAdvance () | ||
| const DtStateData * | stateData () const | ||
| DtUUID | hostGlobalId () const | ||
| DtString | parentGlobalId () const | ||
| const DtTaitBryan & | topographicOrientation () const | ||
| const DtTaitBryan & | worldOrientation () const | ||
| const DtTaitBryan & | localOrientation () const | ||
| const DtTaitBryan & | parentOrientation () const | ||
| const DtTaitBryan & | localOrientationWrtDatabase () const | ||
| const DtDcm & | localOrientationMatrix () const | ||
| const DtDcm & | parentOrientationMatrix () const | ||
| const DtDcm & | worldOrientationMatrix () const | ||
| double | heading () const | ||
| double | pitch () const | ||
| double | roll () const | ||
| bool | isUnit () const | ||
| bool | isEmbarked () const | ||
| DtUUID | embarkedOn () const | ||
| bool | isEmbarkedOn (const DtUUID &) const | ||
Static Public Member Functions | |
| static bool | shouldArchiveExtendedAttribute (const DtString &s) |
| static void | doNotArchiveAttribute (const DtString &s, bool b) |
| static DtLocalObjectCreatorFcn | setLocalObjectCreatorFunction (DtLocalObjectCreatorFcn) |
| static DtLocalObjectCreatorFcn | localObjectCreatorFunction () |
| static DtLocalObject * | create (DtSimulationServices *, const DtVrfLocalObjectCreateInformation &) |
| static DtLocalObject * | createAndInit (DtSimulationServices *, const DtVrfLocalObjectCreateInformation &) |
Public Attributes | |
| boost::signals2::signal< void(DtLocalObject *, DtVrfObjectHandoffData::HandoffFlag)> | signal_handoffStep |
| boost::signals2::signal< void(DtLocalObject *, DtVrfObjectHandoffData &)> | signal_prepareForHandoff |
| boost::signals2::signal< void(DtLocalObject *)> | signal_postInitFromParams |
Public Attributes inherited from makVrf::DtStateDataWrapper | |
| boost::signals2::signal< void()> | signal_objectVerticesChanged |
| boost::signals2::signal< void()> | signal_extendedDataUpdated |
| boost::signals2::signal< void()> | signal_simObjectDeleted |
| boost::signals2::signal< void(const DtString &)> | signal_discoveredReference |
| boost::signals2::signal< void(const DtUUID &oldUUID, const DtUUID &newUUID)> | signal_uuidChanged |
| boost::signals2::signal< void(const DtSimulationAddress &oldAddr, const DtSimulationAddress &newAddr)> | signal_simEngineAddressChanged |
| boost::signals2::signal< void(const DtString &oldName, const DtString &newName)> | signal_objectRenamed |
| boost::signals2::signal< void(const DtUUID &oldSuperior, const DtUUID &newSuperior)> | signal_superiorChanged |
| boost::signals2::signal< void()> | signal_isClutterChanged |
| boost::signals2::signal< void(DtStateComponent *)> | signal_stateComponentAdded |
| boost::signals2::signal< void(DtStateComponent *)> | signal_stateComponentRemoved |
| boost::signals2::signal< void()> | signal_advancedFrame |
| boost::signals2::signal< void()> | signal_firstFrameAdvance |
Protected Types | |
| typedef std::map< int, int > | OperationsInProgressCount |
Protected Types inherited from DtSimObject | |
| typedef std::map< std::string, DtSimObjectDecorator * > | SimObjectDecorators |
Static Protected Member Functions | |
| static void | setOverlayLayerTaskCallback (const DtVrfObjectMessage *msg, void *usr) |
Static Protected Attributes | |
| static DtLocalObjectCreatorFcn | theLocalObjectCreatorFunction |
| static std::set< DtString > | theDoNotArchiveAttributes |
Friends | |
| class | DtVrfObjectStateRepository |
Settings Callbacks | |
Callback functions registered with the DtVrfSimSettings class. Called by DtVrfObject::init(). | |
| virtual void | processReadDRThresholdSettings (const DtSettingsObject *settings) |
| static void | readDRThresholdSettingsCallback (const DtSettingsObject *settings, void *usr) |
Message Processing | |
| virtual void | processLogToFile (const DtVrfObjectMessage *msg) |
| virtual void | processStopLoggingToFile (const DtVrfObjectMessage *msg) |
| virtual void | addScriptExtension (DtLuaScriptInterfaceExtension::CreatorFcn extension, void *usr) |
| virtual void | removeScriptExtension (DtLuaScriptInterfaceExtension::CreatorFcn extension, void *usr) |
| virtual const ScriptInterfaceExtensions & | scriptExtensions () const |
| static void | logToFileCallback (const DtVrfObjectMessage *msg, void *usr) |
| static void | stopLoggingToFileCallback (const DtVrfObjectMessage *msg, void *usr) |
Decorator Management | |
| typedef std::map< std::string, DtLocalObjectDecorator * > | LocalObjectDecorators |
| LocalObjectDecorators | myLocalObjectDecorators |
| typedef std::list<DtLuaScriptInterfaceExtension::CreatorUserPair> DtLocalObject::ScriptInterfaceExtensions |
|
protected |
|
protected |
Type definition for tracking operations in progress.
Prepares this object for reinitialization. This means: 1) Making sure the systems are set to read only so they are not saved as part of the order of battle 2) Restarting the plan (if one) and clearing out the current task (if one and there is a plan)
| Enumerator | |
|---|---|
| ReinitializeDefault | |
| ReinitializeKeepPSR | |
| ReinitializeStateData | |
|
protected |
Use creator method to construct a new DtLocalObject.
| simulationServices | Pointer to simulation services interface |
| createInfo | Information required for object creation |
|
protected |
Constructor using only simulation services.
| simulationServices | Pointer to simulation services interface |
|
overridevirtual |
destructor
|
protected |
copy constructor
| const makVrf::DtExternalNextFrameState* DtLocalObject::nextFrameState | ( | ) | const |
| makVrf::DtExternalNextFrameState* DtLocalObject::nextFrameState | ( | ) |
|
inline |
Template method to retrieve any state component that does not have a dedicated accessor method.
|
inline |
Template method to retrieve any state component that does not have a dedicated accessor method.
|
virtual |
Returns the full list of the next frame external state properties.
| const DtRwProperties& DtLocalObject::nextFrameParameterProperties | ( | ) | const |
Returns the full list of the next frame external state properties.
|
virtual |
Returns the full list of the next frame external state properties. NB: To get the internal state properties, use internalState()->internalStateProperties().
Reimplemented in DtRemoteAttachedObject.
Referenced by DtSimComponent::cachedNextFrameStateProperty().
|
virtual |
Returns the full list of the next frame external state properties.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Gets current frame state properties, unless there are none, in which case it returns the next frame state properties.
Reimplemented in DtRemoteAttachedObject.
Referenced by DtSimComponent::cachedCurrentFrameStateProperty().
|
virtual |
Returns the specified state property. Looks at both internal and external properties. If a context is specified, finds the state property within that context. For external state properties, the next frame data is found.
|
virtual |
Returns the full list of the next frame external state properties.
|
virtual |
Returns the full list of the next frame external state properties.
|
virtual |
Returns the full list of the next frame external state properties.
|
virtual |
Adds a new internal state property to the sim object. Returns a pointer to the newly added property.
|
virtual |
Adds a new internal state property to the sim object. Returns a pointer to the newly added property.
|
virtual |
Adds a new internal state property to the sim object. Returns a pointer to the newly added property.
|
virtual |
Adds a new internal state property to the sim object. Returns a pointer to the newly added property.
|
virtual |
Adds a new internal state property to the sim object. Returns a pointer to the newly added property.
|
virtual |
Adds a new internal state property to the sim object. Ownership of the property is transferred to the sim object. Returns true if successful.
|
virtual |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
|
virtual |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
|
virtual |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
|
virtual |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
|
virtual |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
|
virtual |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
|
virtual |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
|
virtual |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
|
virtual |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
|
virtual |
Overrides the global ID for a new local object.
| identifier | The new global identifier to use |
|
virtual |
Retrieves the primary label for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the primary label for the next frame.
|
virtual |
Retrieves the local position for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the world position for the next frame.
| v | The position vector in world coordinates |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the world position for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the position relative to the parent object for the next frame.
| v | The position vector relative to the parent object |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the position relative to the parent object for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the local orientation matrix for the next frame.
| v | The direction cosine matrix representing local orientation |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the local orientation matrix for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the local orientation with respect to the database for the next frame.
| v | The Tait-Bryan angles representing orientation with respect to database |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the local orientation with respect to the database for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the local orientation for the next frame using Tait-Bryan angles.
| v | The Tait-Bryan angles representing local orientation |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the local orientation for the next frame as Tait-Bryan angles.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the topographic orientation for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the orientation relative to the parent object for the next frame.
| v | The Tait-Bryan angles representing orientation relative to parent |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the orientation relative to the parent object for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the world orientation for the next frame using Tait-Bryan angles.
| v | The Tait-Bryan angles representing world orientation |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the world orientation matrix for the next frame.
| v | The direction cosine matrix representing world orientation |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the world orientation for the next frame as Tait-Bryan angles.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the world orientation matrix for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the local vertices using a DtList for the next frame.
| vertices | List of vertices in local coordinates |
| newGeometricCenter | Reference to receive the updated geometric center |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the local vertices using a DtLocalVertexList for the next frame.
| vertices | List of local vertices |
| newGeometricCenter | Reference to receive the updated geometric center |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Removes a vertex at the specified index for the next frame.
| iIndex | Index of the vertex to remove |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Adds a local vertex for the next frame.
| vertex | The vertex coordinates to add |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Adds a local vertex for the next frame and updates the geometric center.
| vertex | The vertex coordinates to add |
| newGeometricCenter | Reference to receive the updated geometric center |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the world vertices using a std::vector for the next frame.
| vertices | Vector of vertex coordinates in world space |
| newGeometricCenter | Reference to receive the updated geometric center |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the world vertices using a DtVertexList for the next frame.
| vertices | List of vertex coordinates in world space |
| newGeometricCenter | Reference to receive the updated geometric center |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets the world vertices using a DtList for the next frame.
| vertices | List of vertex coordinates in world space |
| newGeometricCenter | Reference to receive the updated geometric center |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Adds a world-space vertex for the next frame and updates the geometric center.
| vertex | The vertex coordinates in world space to add |
| newGeometricCenter | Reference to receive the updated geometric center |
Reimplemented in DtRemoteAttachedObject.
| bool DtLocalObject::nextFrameIsDestroyed | ( | ) | const |
Determines if this object is marked as destroyed in the next frame.
| int DtLocalObject::nextFrameDamageState | ( | ) | const |
Retrieves the damage state for the next frame.
|
virtual |
Sets the relative vertices for the next frame.
| vertices | List of vertex coordinates in relative reference frame |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the local vertices for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the world vertices for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the relative vertices for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the heading for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the pitch for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the roll for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves extended data associated with the given key.
| key | The key identifying the extended data to retrieve |
Retrieves extended data associated with the given key.
| key | The key identifying the extended data to retrieve |
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Determines whether this object is marked as local in the next simulation frame.
Reimplemented in DtRemoteAttachedObject.
|
overridevirtual |
Returns true if this object is a locally simulated object.
Reimplemented from DtSimObject.
|
virtual |
Performs cleanup when removing the object from simulation.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Debug-level message stream.
| channel | Optional channel identifier for message routing |
Use for debugging level messages that only users attempting to debug operation of an object would be interested in.
|
virtual |
Verbose-level message stream.
| channel | Optional channel identifier for message routing |
Use for general events or conditions for an object that are part of normal operation, but less important than Info level events.
|
virtual |
Information-level message stream.
| channel | Optional channel identifier for message routing |
Use for important events of an object that are part of normal operation.
|
virtual |
Warning-level message stream.
| channel | Optional channel identifier for message routing |
Displayed to the user by default. Use for situations that may lead to unexpected behavior.
|
virtual |
Error-level message stream.
| channel | Optional channel identifier for message routing |
Always displayed to the user. Use for important errors that indicate failure of some type.
| int DtLocalObject::notifyLevel | ( | ) | const |
Retrieves the current notification level for this object.
| const DtObjectConsole* DtLocalObject::objectConsole | ( | ) | const |
Debug-level message stream.
| channel | Optional channel identifier for message routing |
Use for debugging level messages that only users attempting to debug operation of an object would be interested in.
|
overridevirtual |
Make this invalid by clearing the myExternalCurrentFrameState. This will also set the myIsDeleted flag to true.
Reimplemented from DtSimObject.
| bool DtLocalObject::isValid | ( | ) | const |
Checks if this DtLocalObject is in a valid state and can be used.
| bool DtLocalObject::publishObject | ( | ) | const |
| int DtLocalObject::publishFlag | ( | ) | const |
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Reimplemented in DtRemoteAttachedObject.
Sets the object name for the next frame.
| name | The new object name to set |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Reimplemented in DtRemoteAttachedObject.
| void DtLocalObject::setNotifyLevel | ( | int | ) |
| DtSimulationServices* DtLocalObject::simulationServices | ( | ) | const |
|
inline |
|
virtual |
|
inline |
|
inline |
Adds a state component of the specified template type.
| T_Component | The component type to add |
| checkWritable | Whether to verify the component is writable |
| isRemote | Whether the component should be marked as remote |
| makVrf::DtUnimplementedMethod | If the object is invalid |
References makVrf::DtStateData::getStateComponent(), makVrf::DtStateDataWrapper::isValid(), DtSimObject::mySimulationServices, and makVrf::DtStateComponent::setIsRemoteComponent().
| makVrf::DtFrameStateInterface* DtLocalObject::addStateComponent | ( | makVrf::DtStateComponent::StateComponentType | t | ) |
|
virtual |
Retrieves the UUID of the entity this object will be embarked on in the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the UUID of the entity this object will be embarked on in the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the UUID of the entity this object will be embarked on in the next frame.
Reimplemented in DtRemoteAttachedObject.
Retrieves the UUID of the entity this object will be embarked on in the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Retrieves the UUID of the entity this object will be embarked on in the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
|
virtual |
|
virtual |
Removes a specific key from the extended data map.
| key | The key to remove from the extended data map |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Removes a specific key from the extended data map.
| key | The key to remove from the extended data map |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Removes a specific key from the extended data map.
| key | The key to remove from the extended data map |
|
virtual |
Removes a specific key from the extended data map.
| key | The key to remove from the extended data map |
|
virtual |
Removes a specific key from the extended data map.
| key | The key to remove from the extended data map |
|
virtual |
Removes a specific key from the extended data map.
| key | The key to remove from the extended data map |
|
virtual |
Removes a specific key from the extended data map.
| key | The key to remove from the extended data map |
| void DtLocalObject::removeStateComponent | ( | const makVrf::DtFrameStateInterface * | ) |
Removes a state component from this object.
| component | Pointer to the state component to remove |
|
virtual |
Performs necessary upgrades when importing from an older scenario format.
| makVrf::DtTaskVisualizationStateComponent* DtLocalObject::lineTaskVisualization | ( | const DtString & | visualName, |
| const DtString & | component | ||
| ) |
| makVrf::DtTaskVisualizationStateComponent* DtLocalObject::pointTaskVisualization | ( | const DtString & | visualName, |
| const DtString & | component | ||
| ) |
| makVrf::DtTaskVisualizationStateComponent* DtLocalObject::areaTaskVisualization | ( | const DtString & | visualName, |
| const DtString & | component | ||
| ) |
| makVrf::DtTaskVisualizationStateComponent* DtLocalObject::textTaskVisualization | ( | const DtString & | visualName, |
| const DtString & | component | ||
| ) |
| void DtLocalObject::removeTaskVisualization | ( | makVrf::DtTaskVisualizationStateComponent * | ) |
| makVrf::DtLaserDesignatorStateComponent* DtLocalObject::addLaserDesignator | ( | ) |
| void DtLocalObject::removeLaserDesignator | ( | makVrf::DtLaserDesignatorStateComponent * | ) |
| makVrf::DtEmitterSystemStateComponent* DtLocalObject::addEmitterSystem | ( | ) |
| void DtLocalObject::removeEmitterSystem | ( | makVrf::DtEmitterSystemStateComponent * | ) |
| makVrf::DtActiveSonarStateComponent* DtLocalObject::addActiveSonarSystem | ( | ) |
| void DtLocalObject::removeActiveSonarSystem | ( | makVrf::DtActiveSonarStateComponent * | ) |
| makVrf::DtRadioTransmitterStateComponent* DtLocalObject::addRadioTransmitter | ( | ) |
| void DtLocalObject::removeRadioTransmitter | ( | makVrf::DtRadioTransmitterStateComponent * | ) |
| makVrf::DtNavAidRadioTransmitterStateComponent* DtLocalObject::addNavAidRadioTransmitter | ( | ) |
| void DtLocalObject::removeNavAidRadioTransmitter | ( | makVrf::DtNavAidRadioTransmitterStateComponent * | ) |
| makVrf::DtRadioReceiverStateComponent* DtLocalObject::addRadioReceiver | ( | ) |
| void DtLocalObject::removeRadioReceiver | ( | makVrf::DtRadioReceiverStateComponent * | ) |
| makVrf::DtIffStateComponent* DtLocalObject::getOrCreateIffSystem | ( | ) |
Retrieves or creates the IFF (Identification Friend or Foe) system component.
| void DtLocalObject::removeIffSystem | ( | ) |
| makVrf::DtUnderwaterAcousticsStateComponent* DtLocalObject::getOrCreateUnderwaterAcousticsSystem | ( | bool | isRemote = false | ) |
Retrieves or creates the Underwater Acoustics system component.
| isRemote | Flag indicating if the component should be marked as remote |
| void DtLocalObject::removeUnderwaterAcousticsSystem | ( | ) |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Called before/after object reinitialization.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Called before/after object reinitialization.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Called before/after object reinitialization.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Called before/after object reinitialization.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Called before/after object reinitialization.
|
virtual |
Called before/after object reinitialization.
|
virtual |
Called before/after object reinitialization.
|
virtual |
Called before/after object reinitialization.
|
virtual |
This value has three possible settings: 1 - Show occupants 2 - Hide occupants 3 - Use display default of the receiving GUI.
|
virtual |
Called before/after object reinitialization.
Retrieves the extended data map for the next frame.
Retrieves the extended labels map for the next frame.
|
virtual |
Called before/after object reinitialization.
|
virtual |
Called before/after object reinitialization.
| DtLocalObjectDecorator* DtLocalObject::getOrCreateDecorator | ( | const std::string & | Decorator | ) |
Gets or creates a decorator based on the specified name.
| Decorator | The name of the decorator to retrieve/create |
| void DtLocalObject::setLocationComplete | ( | ) |
Signals completion of a location change request.
|
virtual |
Sets the entire list of the next frame external state properties.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Determines if fuel levels are frozen for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Determines if munition levels are frozen for the next frame.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets whether this object is simulation capable.
| capable | True to make the object simulation capable, false otherwise |
| bool DtLocalObject::simulationCapable | ( | ) | const |
Called before/after object reinitialization.
|
virtual |
Controls whether a parachute is blocked from opening.
| blocked | True to block parachute opening, false to allow it |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Called before/after object reinitialization.
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Sets whether the object should be considered on the terrain surface.
| b | True if the object is on the terrain surface, false otherwise |
|
virtual |
Called before/after object reinitialization.
Object initialization and creation routines.
Creates state that is internal to this object
| parameterEntry | Parameters used for internal state creation |
Object initialization and creation routines.
Creates state that is internal to this object
| parameterEntry | Parameters used for internal state creation |
|
virtual |
Object initialization and creation routines.
Creates state that is internal to this object
| parameterEntry | Parameters used for internal state creation |
|
virtual |
Object initialization and creation routines.
Creates state that is internal to this object
| parameterEntry | Parameters used for internal state creation |
|
virtual |
Sets up the mySubComponentTypes member with the appropriate component types.
|
virtual |
Initializes the object after creation.
|
virtual |
Performs virtual construction of the object.
|
static |
Install own creator to create a subclass of the DtLocalObject to add functionality. Note that the functionality should be considered thread safe for any addition. If you are adding non thread-safe code unpredictable results may occur.
Sets new creator and returns old. Set to null creator to create default object
|
static |
Install own creator to create a subclass of the DtLocalObject to add functionality. Note that the functionality should be considered thread safe for any addition. If you are adding non thread-safe code unpredictable results may occur.
Sets new creator and returns old. Set to null creator to create default object
|
static |
Install own creator to create a subclass of the DtLocalObject to add functionality. Note that the functionality should be considered thread safe for any addition. If you are adding non thread-safe code unpredictable results may occur.
Sets new creator and returns old. Set to null creator to create default object
|
static |
|
static |
|
virtual |
| bool DtLocalObject::isGlobalPlan | ( | ) | const |
Determines if this object is a global plan object.
| bool DtLocalObject::isSyncMatrix | ( | ) | const |
Determines if this object is a synchronization matrix object.
|
virtual |
Gets the publication flag determining network publishing behavior.
|
virtual |
Determines if this object is capable of executing a specific task.
| taskName | The name of the task to check |
Converts this object from a local to a remote object.
| error | Reference to string that will receive error message if conversion fails |
Reimplemented in DtRemoteAttachedObject.
|
virtual |
Converts this object from a remote to a local object.
| error | Reference to string that will receive error message if conversion fails |
| archiveState | Serialized state information to restore |
|
virtual |
Prepares this object for handoff to another simulation.
|
virtual |
Archives the current state of this object.
| const DtSimResourceManager& DtLocalObject::resourceManager | ( | ) | const |
| DtSimResourceManager& DtLocalObject::resourceManager | ( | ) |
|
virtual |
|
virtual |
|
virtual |
| DtVrfObjectSubComponentTypes* DtLocalObject::vrfSubComponentTypes | ( | ) | const |
Gets the VRF-specific sub-component types.
|
virtual |
Performs the per-frame update of this object.
Updates the object's organization manager, task manager, and component manager, then calls the base class tick. Also invokes VRF object predicate callbacks.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Gets the ID of the currently running scenario.
|
virtual |
Checks if embarkation is possible at the specified location.
| localPosition | The position to check for embarkation |
| hit | [out] Reference to store the intersected object |
| additionalIgnore | Optional list of objects to ignore during the check |
|
virtual |
Checks terrain conditions and disembarks if appropriate.
| localPosition | The position to check for disembarkation |
|
virtual |
Performs a low-fidelity terrain hit check for disembarkation.
| localPosition | The position to check in local coordinates |
|
virtual |
Performs a high-fidelity terrain hit check for disembarkation.
| localPosition | The position to check in local coordinates |
|
virtual |
Generates a unique ID for a new emitter system.
|
virtual |
Gets the set data manager for this object.
|
virtual |
Gets the set data manager for this object.
|
virtual |
Gets the set data manager for this object.
|
virtual |
Gets the set data manager for this object.
|
virtual |
Gets the set data manager for this object.
|
virtual |
Gets the set data manager for this object.
|
virtual |
Gets the set data manager for this object.
|
virtual |
Gets the set data manager for this object.
|
virtual |
Gets the set data manager for this object.
|
virtual |
Gets the set data manager for this object.
|
virtual |
Gets the set data manager for this object.
|
inline |
|
inline |
|
virtual |
Ownership transfer Cleans up components and state needed before handoff.
|
virtual |
Recreates components and state after a handoff.
|
virtual |
Cleans up components and state before reinitialization.
|
virtual |
Reinitializes the object from stored parameters.
|
staticprotected |
Extensions to lua interface for this object only.
Add a lua script extension for this entity only. The creator function passed in will be called every time a lua environment is created for this entity.
|
protectedvirtual |
Extensions to lua interface for this object only.
Add a lua script extension for this entity only. The creator function passed in will be called every time a lua environment is created for this entity.
|
staticprotected |
Extensions to lua interface for this object only.
Add a lua script extension for this entity only. The creator function passed in will be called every time a lua environment is created for this entity.
|
protectedvirtual |
Extensions to lua interface for this object only.
Add a lua script extension for this entity only. The creator function passed in will be called every time a lua environment is created for this entity.
|
overrideprotectedvirtual |
Reimplemented from DtSimObject.
|
virtual |
Extensions to lua interface for this object only.
Add a lua script extension for this entity only. The creator function passed in will be called every time a lua environment is created for this entity.
|
virtual |
Remove a lua script extension that was previously added.
|
virtual |
Gets the current set of script extensions.
|
virtual |
Sets up object properties based on interface message content.
| ifModVrfObject | Message containing modification data |
Reimplemented in DtRemoteAttachedObject.
Validates that an object name has an acceptable length.
| name | The name to validate |
|
virtual |
Create and send a DtVrfObjectCreated message about ourself. requestId is the requestId to be used in the message (request Ids are used to link a DtIfVrfCreated message to a DtCreateVrfObject message).
|
virtual |
Set that the object is in flux for movement.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
staticprotected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Initialize component manager that has been created. Only call once!
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Non virtual as this is called from the constructor.
|
overrideprotectedvirtual |
Reimplemented from DtSimObject.
|
protectedvirtual |
|
protectedvirtual |
Allows an external process to invoke creation of a communications interface, if myCommunicationInterface is NULL, and pass a radio descriptor list.
|
protectedvirtual |
If this is a platform (non environmental or unit), will check to see if this entity has a target and update the DtEntityHasTarget keyword appropriately.
|
overrideprotectedvirtual |
Protected as this will not be used in the future – only used as part of DtVrfObject.
Reimplemented from DtSimObject.
|
protectedvirtual |
Extended data that is not archived that is currently in the extended data list.
|
overrideprotectedvirtual |
This code will keep track of DtSimObject decorator only. The DtLocalObject will be able to use this decorator, however, it will also keep a "next frame" decorator for the decorator that only works on DtLocalObject.
Reimplemented from DtSimObject.
|
overrideprotectedvirtual |
Called when the parameter is set up, this is the source it is using.
Reimplemented from DtSimObject.
|
overrideprotectedvirtual |
Will use next frame rather than current frame data.
Reimplemented from DtSimObject.
|
protected |
|
protected |
|
overrideprotectedvirtual |
Reimplemented from DtSimObject.
|
overrideprotectedvirtual |
Reimplemented from makVrf::DtStateDataWrapper.
|
protectedvirtual |
Reimplemented in DtRemoteAttachedObject.
|
protectedvirtual |
Returns true if the object can be placed. Defaults to true unless overridden in a subclass.
Reimplemented in DtRemoteAttachedObject.
|
protected |
assignment operator
|
inline |
These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header file Retrieves the internal state repository.
|
inline |
Retrieves the internal state repository (const version)
|
inline |
Sets the entity identifier.
| id | The entity identifier to set |
| VRF4API_METHOD void DtLocalObject::place | ( | const DtReal | heading, |
| bool * | dataAvailable = 0, |
||
| bool | requireAllData = false |
||
| ) |
Places the object with the specified heading.
| heading | The heading in radians |
| dataAvailable | Optional pointer to receive availability status |
| requireAllData | Whether to require all data to be available |
| VRF4API_METHOD void DtLocalObject::place | ( | const DtVector & | heading, |
| bool * | dataAvailable = 0, |
||
| bool | requireAllData = false |
||
| ) |
Places the object with the specified direction vector.
| heading | The heading direction vector |
| dataAvailable | Optional pointer to receive availability status |
| requireAllData | Whether to require all data to be available |
|
inline |
Determines if this object is being simulated by VRF.
|
inline |
Invokes callbacks when location setting is complete.
|
friend |
| boost::signals2::signal<void ()> DtLocalObject::signal_preObjectReinitialize |
Called before/after object reinitialization.
| boost::signals2::signal<void (bool success)> DtLocalObject::signal_postObjectReinitialize |
Called before/after object reinitialization.
| boost::signals2::signal<void ()> DtLocalObject::signal_resourceChangedBySet |
Notifies listeners that resources have changed.
| boost::signals2::signal<void ()> DtLocalObject::signal_preUpgradeFromImport |
Signal sent when upgrading from import. This will be called before any internal routines are called.
| boost::signals2::signal<void ()> DtLocalObject::signal_postUpgradeFromImport |
Signal sent when upgrading from import. This will be called after any internal routines are called.
| boost::signals2::signal<void ()> DtLocalObject::signal_objectInitialized |
Signal sent at the very end of the init() method.
| boost::signals2::signal<void ()> DtLocalObject::signal_objectRestored |
Signal sent after the object has been restored from the stream.
| boost::signals2::signal<void (DtLocalObject*)> DtLocalObject::signal_objectModifiedViaMessage |
Signal sent when this object is modified via a message.
| boost::signals2::signal<void (DtLocalObject*)> DtLocalObject::signal_newSensorContact |
Signal made available from this object to be used when a new sensor contact is made available for this object.
| boost::signals2::signal<void (DtLocalObject*)> DtLocalObject::signal_navigationAreaChanged |
Signal made available from this object to be used when the navigation area this object is in has changed.
| boost::signals2::signal<void (DtLocalObject*)> DtLocalObject::signal_setLocationComplete |
Signal sent when the location has been changed by an interface content message.
| boost::signals2::signal<void ()> DtLocalObject::signal_restored |
Signal emitted when the object has been restored.
|
mutable |
Signal sent when certain data has changed in this class from being set by the API, not from the network.
| boost::signals2::signal<void(const DtLocalObject*)> DtLocalObject::signal_localObjectAboutToBeDeleted |
Signal sent when a local object is about to be deleted.
| boost::signals2::signal<void (DtLocalObject*, DtVrfObjectHandoffData::HandoffFlag)> DtLocalObject::signal_handoffStep |
Signal sent with object handoff flags for this object given the handoff state.
|
mutable |
Signal sent when preparing for object handoff.
| boost::signals2::signal<void (DtLocalObject*)> DtLocalObject::signal_postInitFromParams |
Signal sent right after the internal state is initialized from parameters.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
Information used to originally create this object.
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
Will be true if this object is in the process of converting from remote to local.
|
protected |
Will be true if this object is in the process of converting from local to remote.
|
protected |
Whether or not this object is capable of simulating. Default is true.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
Default state properties storage.
|
protected |
Component that stores location information for the next frame.
|
protected |
Component that stores simulation state for the next frame.
|
protected |
Component that stores geometry information for the next frame.
|
protected |
Component that stores VRF-specific state for the next frame.
|
protected |
Component that stores properties state for the next frame.
|
protected |
Component that stores properties state for the current frame.
|
protected |
Reference to the object this object will be embarked on in the next frame.
|
protected |
Facade for managing movement-related operations.
|
protected |
Map tracking the count of various operations in progress.
|
protected |
Index in the update structure for pending database operations.
|
protected |
Container for managing parallel callbacks.
|
protected |
Plan stored during reinitialization to preserve it.