24 class DtExternalCurrentFrameState;
25 class DtExternalNextFrameState;
26 class DtLaserDesignatorStateComponent;
27 class DtIffStateComponent;
28 class DtActiveSonarStateComponent;
29 class DtTaskVisualizationStateComponent;
30 class DtNavAidRadioTransmitterStateComponent;
31 class DtUnderwaterAcousticsStateComponent;
32 class DtEmitterSystemStateComponent;
33 class DtRadioReceiverStateComponent;
34 class DtFrameStateInterface;
35 class DtStatePropertiesStateComponent;
119 SubordinateOfForceLevel
129 template <
typename T_Component>
132 return nextFrameState()->getStateComponent<T_Component>();
136 template <
typename T_Component>
139 return nextFrameState()->getStateComponent<T_Component>();
147 virtual void setNextFrameParameterProperties(
const DtRwProperties&);
168 const DtString& propertyName)
const;
175 const DtString& propertyName,
int initialValue);
177 const DtString& propertyName,
double initialValue);
179 const DtString& propertyName,
bool initialValue);
183 const DtString& propertyName,
const DtVector& initialValue);
188 virtual bool addStateProperty(
const DtString& context,
193 virtual void setNextFrameActivity(
const DtString&);
201 virtual void setGlobalIdentifierForPublication(
const DtString&);
203 virtual void setNextFrameExtendedData(
const DtString& key,
const DtString& value);
204 virtual void setNextFrameExtendedDataMap(
const std::map<DtString, DtString>&);
205 virtual void setNextFrameExtendedDataMap(
const std::map<std::string, std::string>&);
206 virtual void clearNextFrameExtendedData();
207 virtual void appendNextFrameExtendedData(
const std::map<DtString, DtString>& s);
208 virtual void setNextFrameExtendedLabel(
int,
const DtString& value);
209 virtual void clearNextFrameExtendedLabels();
210 virtual void setNextFrameExtendedLabels(
const std::map<int, DtString>&);
211 virtual DtAppearance nextFrameAppearance()
const;
222 virtual void setNextFrameLocalPosition(
const DtVector& v);
228 virtual DtString nextFrameLabel()
const;
235 virtual const DtVector& nextFrameLocalPosition()
const;
242 virtual void setNextFrameWorldPosition(
const DtVector& v);
246 virtual const DtVector& nextFrameWorldPosition()
const;
253 virtual void setNextFrameParentPosition(
const DtVector& v);
259 virtual const DtVector& nextFrameParentPosition()
const;
266 virtual void setNextFrameLocalOrientationMatrix(
const DtDcm& v);
272 virtual const DtDcm& nextFrameLocalOrientationMatrix()
const;
279 virtual void setNextFrameLocalOrientationWrtDatabase(
const DtTaitBryan& v);
285 virtual const DtTaitBryan& nextFrameLocalOrientationWrtDatabase()
const;
292 virtual void setNextFrameLocalOrientation(
const DtTaitBryan& v);
298 virtual const DtTaitBryan& nextFrameLocalOrientation()
const;
305 virtual const DtTaitBryan& nextFrameTopographicOrientation()
const;
312 virtual void setNextFrameParentOrientation(
const DtTaitBryan& v);
318 virtual const DtTaitBryan& nextFrameParentOrientation()
const;
325 virtual void setNextFrameWorldOrientation(
const DtTaitBryan& v);
331 virtual void setNextFrameWorldOrientationMatrix(
const DtDcm& v);
337 virtual const DtTaitBryan& nextFrameWorldOrientation()
const;
343 virtual const DtDcm& nextFrameWorldOrientationMatrix()
const;
351 virtual void setNextFrameLocalVertices(
const DtList& vertices, DtVector& newGeometricCenter);
358 virtual void setNextFrameLocalVertices(
const DtLocalVertexList& vertices, DtVector& newGeometricCenter);
364 virtual void removeNextFrameVertex(
int iIndex);
370 virtual void addNextFrameLocalVertex(
const DtVector& vertex);
377 virtual void addNextFrameLocalVertex(
const DtVector& vertex, DtVector& newGeometricCenter);
385 virtual void setNextFrameWorldVertices(
const std::vector<DtVector>& vertices, DtVector& newGeometricCenter);
392 virtual void setNextFrameWorldVertices(
const DtVertexList& vertices, DtVector& newGeometricCenter);
399 virtual void setNextFrameWorldVertices(
const DtList& vertices, DtVector& newGeometricCenter);
406 virtual void addNextFrameWorldVertex(
const DtVector& vertex, DtVector& newGeometricCenter);
413 bool nextFrameIsDestroyed()
const;
419 int nextFrameDamageState()
const;
439 virtual const DtVertexList& nextFrameWorldVertices()
const;
452 virtual double nextFrameHeading()
const;
458 virtual double nextFramePitch()
const;
464 virtual double nextFrameRoll()
const;
471 virtual void setNextFrameLabel(
const DtString&);
483 virtual void setNextFrameIsSubordinateOfForceLevel(
bool);
484 virtual bool nextFrameIsSubordinateOfForceLevel()
const;
489 virtual bool nextFrameIsLocal()
const;
490 virtual bool isLocal()
const override;
497 virtual void removedFromSimulation();
501 virtual void setNextFrameInvisible(
bool);
502 virtual bool nextFrameInvisible()
const;
504 virtual void setNextFrameOverlay(
const DtString&);
506 virtual bool nextFrameSensorsKilled()
const;
507 virtual void setNextFrameSensorsKilled(
bool sensorsKilled);
509 virtual void setNextFrameInvisibleSetByUser(
bool b);
510 virtual bool nextFrameInvisibleSetByUser()
const;
512 virtual DtString nextFrameOverlay()
const;
555 virtual DtOutputStream& objectConsoleDebug(
const DtString& channel =
"")
const;
564 virtual DtOutputStream& objectConsoleVerbose(
const DtString& channel =
"")
const;
572 virtual DtOutputStream& objectConsoleInfo(
const DtString& channel =
"")
const;
581 virtual DtOutputStream& objectConsoleWarn(
const DtString& channel =
"")
const;
590 virtual DtOutputStream& objectConsoleError(
const DtString& channel =
"")
const;
595 int notifyLevel()
const;
606 bool publishObject()
const;
607 int publishFlag()
const;
608 virtual void setNextFrameIsClutterEntity(
bool b);
609 virtual bool nextFrameIsClutterEntity()
const;
610 virtual void setNextFrameIsVrfSimulated(
bool);
611 virtual bool nextFrameIsVrfSimulated()
const;
613 virtual void setNextFrameCallsign(
const DtString& cs);
614 virtual const DtString& nextFrameCallsign()
const;
616 virtual bool isRemoteAttachedObject()
const;
618 virtual void setNextFrameEngagementRules(
const DtString&);
619 virtual DtString nextFrameEngagementRules()
const;
621 virtual void setNextFrameIsTasked(
bool);
622 virtual bool nextFrameIsTasked()
const;
624 virtual void setNextFrameIndependentlyTasked(
bool);
625 virtual bool nextFrameIndependentlyTasked()
const;
627 virtual void setNextFrameGlobalId(
const DtString&);
629 virtual void setNextFrameEntityId(
const DtEntityIdentifier&
id);
630 virtual DtEntityIdentifier nextFrameEntityId()
const;
636 virtual bool setNextFrameObjectName(
const DtString&);
637 virtual DtString nextFrameObjectName()
const;
639 virtual void setNextFrameObjectType(
const DtEntityType&);
640 virtual DtEntityType nextFrameObjectType()
const;
642 void setNotifyLevel(
int);
647 return myConvertingToLocal;
650 virtual void setConvertingToRemote(
bool);
653 return myConvertingToRemote;
663 template <
typename T_Component>
668 T_Component* comp = myExternalNextFrameState->addStateComponent<T_Component>(checkWritable, isRemote);
704 virtual bool nextFrameIsEmbarked()
const;
708 virtual DtUUID nextFrameEmbarkedOn()
const;
709 virtual void setNextFrameEmbarkedOn(
const DtUUID& u);
710 virtual bool nextFrameIsEmbarkedOn(
const DtUUID&)
const;
720 virtual void setNextFrameEchelonId(
const DtEchelonId&);
730 virtual void setNextFrameForceType(
int);
731 virtual DtForceType nextFrameForceType()
const;
733 virtual void setNextFrameSessionId(
int);
734 virtual int nextFrameSessionId()
const;
736 virtual void setNextFrameVrfMessageVersionSupported(
int);
737 virtual int nextFrameVrfMessageVersionSupported()
const;
742 virtual void removeNextFrameExtendedData(
const DtString&);
752 virtual void upgradeFromImport();
789 void removeIffSystem();
799 void removeUnderwaterAcousticsSystem();
801 virtual void setNextFrameUnderFire(
bool b);
802 virtual bool nextFrameUnderFire()
const;
803 virtual void setNextFrameInvulnerable(
bool);
804 virtual bool nextFrameInvulnerable()
const;
806 virtual void setNextFrameUndetectable(
bool);
807 virtual bool nextFrameUndetectable()
const;
812 virtual void setNextFrameHalfLengthWidthHeight(
double length,
double width,
double height);
815 virtual void setNextFrameBoundingVolume(
const Dt3dBoundingVolume& b);
817 virtual void setNextFrameHasPlan(
bool);
818 virtual bool nextFrameHasPlan()
const;
820 virtual void setNextFrameExecutingPlan(
bool);
821 virtual bool nextFrameExecutingPlan()
const;
827 virtual void setNextFrameOccupantsHidden(
int);
828 virtual bool nextFrameOccupantsHidden()
const;
835 virtual std::map<DtString, DtString> nextFrameExtendedDataMap()
const;
842 virtual std::map<int, DtString> nextFrameExtendedLabels()
const;
844 virtual bool nextFrameIsOnTopOf(
const DtSimObject* o,
bool checkSupportPoints =
false)
const;
845 virtual bool nextFrameIsOnTopOf(
const DtSimObject* o,
double d,
bool checkSupportPoints =
false)
const;
858 void setLocationComplete();
912 virtual bool nextFrameFuelLevelsFrozen()
const;
919 virtual bool nextFrameMunitionLevelsFrozen()
const;
926 virtual void setSimulationCapable(
bool);
927 bool simulationCapable()
const;
934 virtual void setNextFrameBlockParachute(
bool);
935 virtual bool nextFrameBlockParachute()
const;
945 virtual void setNextFrameOnTerrainSurface(
bool b);
946 virtual bool nextFrameOnTerrainSurface()
const;
955 virtual void setOperationInProgress(
int,
bool);
956 virtual bool operationInProgress(
int)
const;
957 virtual void clearOperationsInProgress();
979 virtual bool setupSubComponentTypes();
999 virtual bool create();
1026 static void readDRThresholdSettingsCallback(
1028 virtual void processReadDRThresholdSettings(
const DtSettingsObject* settings);
1034 bool isGlobalPlan()
const;
1039 bool isSyncMatrix()
const;
1046 virtual int publicationFlag()
const;
1052 virtual bool isCapableOfTask(std::string taskName);
1066 virtual bool convertToLocalObject(
DtString&
error,
const std::string& archiveState);
1073 virtual bool prepareForHandoff();
1084 virtual std::string archiveState()
const;
1115 ReinitializeDefault = 0x00000000,
1116 ReinitializeKeepPSR = 0x00000001,
1117 ReinitializeStateData = 0x00000002,
1120 virtual void prepareForReinitialization(ReinitializeFlags flags = ReinitializeDefault);
1136 virtual void tick();
1139 virtual void startTick();
1140 virtual void tickComponents();
1141 virtual void endTick();
1150 virtual int scenarioRunId()
const;
1161 virtual bool checkIfMoveOntoEmbarked(
const DtVector& localPosition,
const DtSimObject*& hit,
const std::list<DtUUID>& additionalIgnore = std::list<DtUUID>());
1170 virtual bool checkAndDisembarkIfEmbarked(
const DtVector& localPosition);
1175 virtual bool lowFidelityDisembarkHitCheck(
const DtVector& localPosition)
const;
1180 virtual bool highFidelityDisembarkHitCheck(
const DtVector& localPosition)
const;
1185 virtual int nextEmitterSystemId();
1214 return myInitialized;
1219 if (!myParallelContainer)
1224 return myParallelContainer;
1233 virtual void cleanupItemsNeededForHandoff();
1238 virtual bool recreateItemsNeededFromHandoff();
1244 virtual void cleanupItemsNeededForReinitialize();
1252 virtual bool reinitialize();
1270 typedef std::vector<SimObjectCallback>
Vector;
1279 virtual void run()
override;
1295 virtual const ScriptInterfaceExtensions& scriptExtensions()
const;
1306 virtual bool validNameLength(
const DtString& name)
const;
1308 static bool shouldArchiveExtendedAttribute(
const DtString& s);
1309 static void doNotArchiveAttribute(
const DtString& s,
bool b);
1314 virtual void sendVrfObjectCreated(
unsigned long requestId = 0,
bool requestCreated =
true);
1317 virtual void setIsInMovementFlux(
bool,
const DtVector& proposedLocation = DtVector::zero());
1323 virtual void setupStateRepository();
1324 virtual void internalStateInitializedFromParameters();
1330 virtual bool createCommunicationsInterface();
1331 virtual void initializeCommunicationInterfaceCallbacks();
1335 virtual bool createScriptInterfaceHandler();
1337 virtual bool createComponentManager();
1340 virtual bool initializeComponentManager();
1342 virtual bool createRadio();
1343 virtual bool createVrfObjectPlanManager();
1344 virtual bool createSetDataManager();
1349 void createRemotelyControlledLocalObject();
1353 virtual bool createTaskManager();
1361 virtual void updateEntityHasTarget();
1367 virtual void convertedToRemote();
1370 virtual std::map<DtString, DtString> unarchivedData();
1380 void cacheNextFrameComponents();
1381 void clearNextFrameCachedComponents();
1391 virtual bool canBePlaced()
const;
1451 bool myIsEnvironmental =
false;
1492 int myFluxIndex = -1;
1525 bool requireAllData =
false);
1534 bool requireAllData =
false);
unsigned int StateComponentType
Definition: stateComponent.h:56
UUID is a unique ID wrapper class.
Definition: uuid.h:59
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:64
boost::signals2::signal< void()> signal_objectInitialized
Signal sent at the very end of the init() method.
Definition: localObject.h:878
Definition: scriptInterfaceHandler.h:18
VRF4API_METHOD void invokeSetLocationCompleteCallbacks()
Invokes callbacks when location setting is complete.
Definition: localObject.h:1543
T_Component * getNextFrameStateComponent()
Template method to retrieve any state component that does not have a dedicated accessor method...
Definition: localObject.h:130
Indicates handoff process should be aborted.
Definition: localObject.h:80
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: statePropertiesStateComponent.h:93
virtual VRF4API_METHOD void setupExtendedDataFromParameterData()
If publishing parameter data also include that in the extended data map by name.
Definition: stateDataTypes.h:23
This class is used to interface with the terrain a particular entity is "attached" to...
Definition: attachedTerrain.h:57
DtSimObjectDecorator * getOrCreateDecorator(const std::string &Decorator) const
This will get or create a decorator based on the decorator name. This is not virtual such that the Dt...
OperationsInProgressCount myOperationsInProgressCount
Map tracking the count of various operations in progress.
Definition: localObject.h:1485
boost::signals2::signal< void(const DtLocalObject *, ChangeFlag)> signal_objectDataChanged
Signal sent when certain data has changed in this class from being set by the API, not from the network.
Definition: localObject.h:899
virtual void completeSetup() override
bool myCreatedStateData
Definition: localObject.h:1413
makVrf::DtVrfStateComponent * myNextFrameVrfStateComponent
Component that stores VRF-specific state for the next frame.
Definition: localObject.h:1467
bool myInitializing
Definition: localObject.h:1429
boost::signals2::signal< void()> signal_resourceChangedBySet
Notifies listeners that resources have changed.
Definition: localObject.h:869
const DtSimulationServices * mySimulationServices
Definition: simObject.h:238
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: radioTransmitterStateComponent.h:140
boost::signals2::signal< void()> signal_restored
Signal emitted when the object has been restored.
Definition: localObject.h:896
std::map< int, int > OperationsInProgressCount
Type definition for tracking operations in progress.
Definition: localObject.h:1482
VRF4API_METHOD const DtVrfObjectStateRepository * vrfState() const
Retrieves the internal state repository (const version)
Definition: localObject.h:1512
ChangeFlag
Definition: localObject.h:112
The DtLocationStateComponent interface contains the interface that all DtLocationStateComponents can ...
Definition: locationStateComponent.h:25
boost::signals2::signal< void()> signal_postUpgradeFromImport
Signal sent when upgrading from import. This will be called after any internal routines are called...
Definition: localObject.h:875
virtual void setIsRemoteComponent(bool b)
Definition: stateComponent.h:136
Definition: simRadio.h:30
bool mySimulationCapable
Whether or not this object is capable of simulating. Default is true.
Definition: localObject.h:1445
DtVrfObjectTerrainPreloadManager * myTerrainPreloadManager
Definition: localObject.h:1405
DtSimObjectReference myNextFrameSimObjectEmbarkedOn
Reference to the object this object will be embarked on in the next frame.
Definition: localObject.h:1476
Definition: localObject.h:115
The DtSimulatedObjectStateComponent is an interface that all main components (those that are consider...
Definition: simulatedObjectStateComponent.h:21
DtSetDataManager * mySetDataManager
Definition: localObject.h:1411
VRF4API_METHOD DtReal heading() const
Heading in radians.
boost::signals2::signal< void(DtLocalObject *)> signal_objectModifiedViaMessage
Signal sent when this object is modified via a message.
Definition: localObject.h:884
DtSimComponentManager * myComponentManager
Definition: localObject.h:1409
virtual void makeInvalid() override
Make this invalid by clearing the myExternalCurrentFrameState. This will also set the myIsDeleted fla...
virtual void clearDecorators()
This code will keep track of DtSimObject decorator only. The DtLocalObject will be able to use this d...
Definition: localObject.h:116
T_Component * addStateComponent(bool checkWritable=false, bool isRemote=false)
Adds a state component of the specified template type.
Definition: localObject.h:664
bool myConvertingToRemote
Will be true if this object is in the process of converting from local to remote. ...
Definition: localObject.h:1442
LocalObjectDecorators myLocalObjectDecorators
Definition: localObject.h:1420
class DtSimResourceManager:
Definition: simResourceManager.h:19
virtual void createNavigationDecorator()
Failure to recreate object for local usage, requiring object deletion.
Definition: localObject.h:82
DtRwProperties * myDefaultStateProperties
Default state properties storage.
Definition: localObject.h:1455
boost::signals2::signal< void(DtLocalObject *)> signal_postInitFromParams
Signal sent right after the internal state is initialized from parameters.
Definition: localObject.h:1320
Definition: simObjectStateRepository.h:59
Stage after converting object to remote representation.
Definition: localObject.h:74
Definition: stateData.h:139
bool myHasTarget
Definition: localObject.h:1447
Description: This repository is an internal repository accessible only by local objects. It holds all information that is common to all the forms of all entity/aggregate/control objects within VR-Forces.
Definition: vrfObjectStateRepository.h:91
const T_Component * getNextFrameStateComponent() const
Template method to retrieve any state component that does not have a dedicated accessor method...
Definition: localObject.h:137
DtSimRadio * myRadio
Definition: localObject.h:1406
bool convertingToLocal() const
Definition: localObject.h:645
bool convertingToRemote() const
Definition: localObject.h:651
boost::signals2::signal< void()> signal_preObjectReinitialize
Called before/after object reinitialization.
Definition: localObject.h:861
Definition: settingsObject.h:27
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: vrfGeometryStateComponent.h:54
std::shared_ptr< CallbackInterface > Ptr
Definition: vrfCallbackQueue.h:61
boost::signals2::signal< void(DtLocalObject *)> signal_newSensorContact
Signal made available from this object to be used when a new sensor contact is made available for thi...
Definition: localObject.h:887
Interface class used to define minimal interface for a property. The DtPropertyInterface class provid...
Definition: propertyInterface.h:53
virtual void setUUID(const DtUUID &) override
class DtIfModifyVrfObject:
Definition: ifModifyVrfObject.h:50
boost::signals2::scoped_connection myConvertedToRemoteConnection
Definition: localObject.h:1423
DtLocalObject * object
Definition: localObject.h:1272
const DtSimulationServices * simulationServices() const
Definition: simObject.h:143
List of DtRadioDescriptor subclasses that can be read from a RW type file. This class owns all descri...
Definition: radioDescriptorList.h:27
const makVrf::DtStatePropertiesStateComponent * myCurrentFrameStatePropertiesStateComponent
Component that stores properties state for the current frame.
Definition: localObject.h:1473
int myNextEmitterSystemId
Definition: localObject.h:1431
VRF4API_METHOD void setObjectIdentifier(const DtEntityIdentifier &id)
Sets the entity identifier.
Definition: localObject.h:1517
boost::signals2::signal< void(bool success)> signal_postObjectReinitialize
Called before/after object reinitialization.
Definition: localObject.h:862
boost::signals2::signal< void(const DtLocalObject *)> signal_localObjectAboutToBeDeleted
Signal sent when a local object is about to be deleted.
Definition: localObject.h:902
const DtRwProperties & stateProperties() const
makVrf::DtExternalNextFrameState * myExternalNextFrameState
Definition: localObject.h:1403
DtVrfObjectSubComponentTypes.
Definition: vrfObjectSubComponentTypes.h:25
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: vrfStateComponent.h:62
DtStateComponent * getStateComponent(int index=0)
Definition: stateData.h:622
virtual void hostChanged(const DtUUID &oldHost, const DtUUID &newHost)
This class represents the console for an individual object. It owns a set of streams for various noti...
Definition: objectConsole.h:49
std::map< std::string, DtLocalObjectDecorator * > LocalObjectDecorators
Definition: localObject.h:1419
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:398
boost::signals2::signal< void(DtLocalObject *)> signal_setLocationComplete
Signal sent when the location has been changed by an interface content message.
Definition: localObject.h:893
API for writing callbacks.
Definition: vrfCallbackQueue.h:55
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: laserDesignatorStateComponent.h:61
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
boost::signals2::signal< void()> signal_objectRestored
Signal sent after the object has been restored from the stream.
Definition: localObject.h:881
virtual void usingParameterSource(const DtString &)
Called when the parameter is set up, this is the source it is using.
SimObjectCallback(DtLocalObject *obj)
Definition: localObject.h:1274
HandoffFlag
Enumeration defining the stages of an object handoff process.
Definition: localObject.h:66
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: activeSonarStateComponent.h:286
virtual void setupVrfObjectParameters()
std::list< DtLuaScriptInterfaceExtension::CreatorUserPair > ScriptInterfaceExtensions
Definition: localObject.h:1087
DtSimTaskManager * myTaskManager
Definition: localObject.h:1407
If inheriting from a base sim object proxy.
Definition: localObjectFacadeBase.h:32
class DtVertexList:
Definition: vertexList.h:22
DtVrfCallbackQueue::CallbackInterface::Ptr myParallelContainer
Container for managing parallel callbacks.
Definition: localObject.h:1495
std::vector< SimObjectCallback > Vector
Definition: localObject.h:1270
Stage before converting object to remote representation.
Definition: localObject.h:72
Definition: localObject.h:118
makVrf::DtSimulatedObjectStateComponent * myNextFrameSimulatedObjectStateComponent
Component that stores simulation state for the next frame.
Definition: localObject.h:1461
boost::signals2::signal< void(DtLocalObject *, DtVrfObjectHandoffData::HandoffFlag)> signal_handoffStep
Signal sent with object handoff flags for this object given the handoff state.
Definition: localObject.h:1068
makVrf::DtLocationStateComponent * myNextFrameLocationStateComponent
Component that stores location information for the next frame.
Definition: localObject.h:1458
DtMovementLocalObjectFacade * myMovementLocalObjectFacade
Facade for managing movement-related operations.
Definition: localObject.h:1479
DtSimBoundingGeometryType
Definition: simBoundingGeometry.h:61
static DtLocalObjectCreatorFcn theLocalObjectCreatorFunction
Definition: localObject.h:1424
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
This class maintains a rectangular bounding volume and an ordered list of vertices describing the phy...
Definition: vrfObjectGeometry.h:39
bool myInitialized
Definition: localObject.h:1430
Definition: asyncJobServer.h:39
class DtVrfObjectPlanManager:
Definition: vrfObjectPlanManager.h:38
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: emitterSystemStateComponent.h:466
Definition: echelonId.h:13
class DtPlan:
Definition: plan.h:92
virtual void isClutterChanged()
Definition: localObject.h:1267
virtual void place(const DtVector &location, bool *dataAvailable=nullptr, bool requireAllData=false)
Place entity at 'location', on the ground, keeping its current heading. Since no terrain intersection...
Definition: stateComponent.h:52
This manager is on a per-DtLocalObject level, and is responsible for knowing what terrain areas an ob...
Definition: vrfObjectTerrainPreloadManager.h:36
Class Description: DtSimTaskManager manages the bookkeeping associated with starting, completing, clearing, and skipping tasks.
Definition: simTaskManager.h:55
makVrf::DtStatePropertiesStateComponent * myNextFrameStatePropertiesStateComponent
Component that stores properties state for the next frame.
Definition: localObject.h:1470
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: radioReceiverStateComponent.h:64
The DtSimComponentManager is the top level class within a DtSimObject which owns and manages all the ...
Definition: simComponentManager.h:31
DtLuaScriptInterfaceExtension *(* CreatorFcn)(void *usr)
Prototype for DtLuaScriptInterfaceExtension creator function.
Definition: luaScriptInterfaceExtension.h:37
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
Stage before converting object to local representation.
Definition: localObject.h:76
DtVrfObjectStateRepository * myInternalState
Definition: localObject.h:1401
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:80
The central class of a DtLocalObject for all communications to and from the object. This class manages all communications on a specific DtLocalObject, though both simulation internal communication, and communication though the simulated radios of the object. All communication is done though the use of the DtVrfObjectMessage class and its subclasses. Callbacks can be registered on this interface which will be called on receipt of a message by this entity. Messages can be sent from this entity by using the message sending functions. These messages may be sent though the SimInternal message mechanism, or the radio message system. Radios will not exist until createRadiosFromDescriptorList() or createRadiosFromDescriptorList(const DtRadioDescriptorList& descList) is called.
Definition: vrfObjectCommunicationInterface.h:40
Stage after converting object to local representation.
Definition: localObject.h:78
This class manages the distribution of DtSetDataRequests within a single DtLocalObject. Components of the object, or other parts of the code, register interested in particular types of set data messages and when such a message is processed by the DtSetDataManager, each of the registered parties is notified.
Definition: setDataManager.h:48
bool initialized() const
Definition: localObject.h:1212
DtScriptInterfaceHandler * myScriptInterfaceHandler
Definition: localObject.h:1408
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: navAidRadioTransmitterStateComponent.h:20
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
DtLuaScriptInterfaceExtension.
HandoffFlag handoffFlag
Current state of the handoff process.
Definition: localObject.h:86
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
boost::signals2::signal< void(DtLocalObject *)> signal_navigationAreaChanged
Signal made available from this object to be used when the navigation area this object is in has chan...
Definition: localObject.h:890
makVrf::DtVrfGeometryStateComponent * myNextFrameVrfGeometryStateComponent
Component that stores geometry information for the next frame.
Definition: localObject.h:1464
DtLocalObject *(* DtLocalObjectCreatorFcn)(DtSimulationServices *, const DtVrfLocalObjectCreateInformation &)
Definition: localObject.h:60
bool mySignalLocationComplete
Definition: localObject.h:1450
DtStateDataWrapper & operator=(const DtUUID &)
DtVrfCallbackQueue::CallbackInterface::Ptr parallelContainer()
Definition: localObject.h:1217
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: underwaterAcousticsStateComponent.h:106
bool myControllersTicked
Definition: localObject.h:1448
Definition: localObject.h:117
DtVrfObjectCommunicationInterface * myCommunicationInterface
Definition: localObject.h:1404
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:122
DtVrfLocalObjectCreateInformation * myLocalObjectCreateInformation
Information used to originally create this object.
Definition: localObject.h:1427
Initial preparation stage. If handoff is not desired, set flag to Abort. Otherwise, this flag indicates the current handoff step.
Definition: localObject.h:70
boost::signals2::signal< void()> signal_preUpgradeFromImport
Signal sent when upgrading from import. This will be called before any internal routines are called...
Definition: localObject.h:872
ReinitializeFlags
Prepares this object for reinitialization. This means: 1) Making sure the systems are set to read onl...
Definition: localObject.h:1113
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: iffStateComponent.h:83
bool myConvertingToLocal
Will be true if this object is in the process of converting from remote to local. ...
Definition: localObject.h:1439
class DtLocalVertexList:
Definition: localVertexList.h:20
bool mySkipNextComponentTick
Definition: localObject.h:1449
1) Define the interface class that will be used to represent the next and current frames...
Definition: taskVisualizationStateComponent.h:260
Contains the DtStateComponent class declaration.
bool isValid() const
Returns true if myExternalCurrentFrameState is not nullptr. Not virtual on purpose as even though loc...
#define VRF4API_METHOD
Include this header file to allow for the definition/usage of the ability to mark something as deprec...
Definition: vrf4XAPI.h:23
VRF4API_METHOD DtVrfObjectStateRepository * vrfState()
These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header fi...
Definition: localObject.h:1507
DtAppearanceLocalObjectFacade * myAppearanceLocalObjectFacade
Definition: localObject.h:1434
ScriptInterfaceExtensions myScriptInterfaceExtensions
Definition: localObject.h:1436
DtVrfObjectSubComponentTypes * mySubComponentTypes
Definition: localObject.h:1402
This is a simple base class that will be used to return a pointer to current or next frame state...
Definition: stateComponent.h:294
Structure containing data for object handoff operations.
Definition: localObject.h:63
static std::set< DtString > theDoNotArchiveAttributes
Definition: localObject.h:1432
virtual bool isLocal() const
Returns true if this object is a locally simulated object.
VRF4API_METHOD bool isVrfSimulated() const
Determines if this object is being simulated by VRF.
Definition: localObject.h:1539
DtVrfObjectPlanManager * myVrfObjectPlanManager
Definition: localObject.h:1410
boost::signals2::signal< void(DtLocalObject *, DtVrfObjectHandoffData &)> signal_prepareForHandoff
Signal sent when preparing for object handoff.
Definition: localObject.h:1078
Definition: decoratorBase.h:44
A locally simulated VRF object.
Definition: localObject.h:98