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;
130 template <
typename T_Component>
133 return nextFrameState()->getStateComponent<T_Component>();
137 template <
typename T_Component>
140 return nextFrameState()->getStateComponent<T_Component>();
147 virtual void setNextFrameParameterProperties(
const DtRwProperties&);
176 const DtString& propertyName)
const;
183 const DtString& propertyName,
int initialValue);
185 const DtString& propertyName,
double initialValue);
187 const DtString& propertyName,
bool initialValue);
191 const DtString& propertyName,
const DtVector& initialValue);
196 virtual bool addInternalStateProperty(
const DtString& context,
201 virtual void setNextFrameActivity(
const DtString&);
209 virtual void setGlobalIdentifierForPublication(
const DtString&);
211 virtual void setNextFrameExtendedData(
const DtString& key,
const DtString& value);
212 virtual void setNextFrameExtendedDataMap(
const std::map<DtString, DtString>&);
213 virtual void setNextFrameExtendedDataMap(
const std::map<std::string, std::string>&);
214 virtual void clearNextFrameExtendedData();
215 virtual void appendNextFrameExtendedData(
const std::map<DtString, DtString>& s);
216 virtual void setNextFrameExtendedLabel(
int,
const DtString& value);
217 virtual void clearNextFrameExtendedLabels();
218 virtual void setNextFrameExtendedLabels(
const std::map<int, DtString>&);
219 virtual DtAppearance nextFrameAppearance()
const;
222 return myAppearanceLocalObjectFacade;
228 virtual bool clampedToGround()
const;
238 virtual void setNextFrameLocalPosition(
const DtVector& v);
244 virtual DtString nextFrameLabel()
const;
251 virtual const DtVector& nextFrameLocalPosition()
const;
258 virtual void setNextFrameWorldPosition(
const DtVector& v);
262 virtual const DtVector& nextFrameWorldPosition()
const;
269 virtual void setNextFrameParentPosition(
const DtVector& v);
275 virtual const DtVector& nextFrameParentPosition()
const;
282 virtual void setNextFrameLocalOrientationMatrix(
const DtDcm& v);
288 virtual const DtDcm& nextFrameLocalOrientationMatrix()
const;
295 virtual void setNextFrameLocalOrientationWrtDatabase(
const DtTaitBryan& v);
301 virtual const DtTaitBryan& nextFrameLocalOrientationWrtDatabase()
const;
308 virtual void setNextFrameLocalOrientation(
const DtTaitBryan& v);
314 virtual const DtTaitBryan& nextFrameLocalOrientation()
const;
321 virtual const DtTaitBryan& nextFrameTopographicOrientation()
const;
328 virtual void setNextFrameParentOrientation(
const DtTaitBryan& v);
334 virtual const DtTaitBryan& nextFrameParentOrientation()
const;
341 virtual void setNextFrameWorldOrientation(
const DtTaitBryan& v);
347 virtual void setNextFrameWorldOrientationMatrix(
const DtDcm& v);
353 virtual const DtTaitBryan& nextFrameWorldOrientation()
const;
359 virtual const DtDcm& nextFrameWorldOrientationMatrix()
const;
367 virtual void setNextFrameLocalVertices(
const DtList& vertices, DtVector& newGeometricCenter);
374 virtual void setNextFrameLocalVertices(
const DtLocalVertexList& vertices, DtVector& newGeometricCenter);
380 virtual void removeNextFrameVertex(
int iIndex);
386 virtual void addNextFrameLocalVertex(
const DtVector& vertex);
393 virtual void addNextFrameLocalVertex(
const DtVector& vertex, DtVector& newGeometricCenter);
401 virtual void setNextFrameWorldVertices(
const std::vector<DtVector>& vertices, DtVector& newGeometricCenter);
408 virtual void setNextFrameWorldVertices(
const DtVertexList& vertices, DtVector& newGeometricCenter);
415 virtual void setNextFrameWorldVertices(
const DtList& vertices, DtVector& newGeometricCenter);
422 virtual void addNextFrameWorldVertex(
const DtVector& vertex, DtVector& newGeometricCenter);
429 bool nextFrameIsDestroyed()
const;
435 int nextFrameDamageState()
const;
455 virtual const DtVertexList& nextFrameWorldVertices()
const;
468 virtual double nextFrameHeading()
const;
474 virtual double nextFramePitch()
const;
480 virtual double nextFrameRoll()
const;
487 virtual void setNextFrameLabel(
const DtString&);
499 virtual void setNextFrameIsSubordinateOfForceLevel(
bool);
500 virtual bool nextFrameIsSubordinateOfForceLevel()
const;
505 virtual bool nextFrameIsLocal()
const;
506 virtual bool isLocal()
const override;
513 virtual void removedFromSimulation();
517 virtual void setNextFrameInvisible(
bool);
518 virtual bool nextFrameInvisible()
const;
520 virtual void setNextFrameOverlay(
const DtString&);
522 virtual bool nextFrameSensorsKilled()
const;
523 virtual void setNextFrameSensorsKilled(
bool sensorsKilled);
525 virtual void setNextFrameInvisibleSetByUser(
bool b);
526 virtual bool nextFrameInvisibleSetByUser()
const;
528 virtual DtString nextFrameOverlay()
const;
571 virtual DtOutputStream& objectConsoleDebug(
const DtString& channel =
"")
const;
580 virtual DtOutputStream& objectConsoleVerbose(
const DtString& channel =
"")
const;
588 virtual DtOutputStream& objectConsoleInfo(
const DtString& channel =
"")
const;
597 virtual DtOutputStream& objectConsoleWarn(
const DtString& channel =
"")
const;
606 virtual DtOutputStream& objectConsoleError(
const DtString& channel =
"")
const;
611 int notifyLevel()
const;
622 bool publishObject()
const;
623 int publishFlag()
const;
624 virtual void setNextFrameIsClutterEntity(
bool b);
625 virtual bool nextFrameIsClutterEntity()
const;
626 virtual void setNextFrameIsVrfSimulated(
bool);
627 virtual bool nextFrameIsVrfSimulated()
const;
629 virtual void setNextFrameCallsign(
const DtString& cs);
630 virtual const DtString& nextFrameCallsign()
const;
632 virtual bool isRemoteAttachedObject()
const;
634 virtual void setNextFrameEngagementRules(
const DtString&);
635 virtual DtString nextFrameEngagementRules()
const;
637 virtual void setNextFrameIsTasked(
bool);
638 virtual bool nextFrameIsTasked()
const;
640 virtual void setNextFrameIndependentlyTasked(
bool);
641 virtual bool nextFrameIndependentlyTasked()
const;
643 virtual void setNextFrameGlobalId(
const DtString&);
645 virtual void setNextFrameEntityId(
const DtEntityIdentifier&
id);
646 virtual DtEntityIdentifier nextFrameEntityId()
const;
652 virtual bool setNextFrameObjectName(
const DtString&);
653 virtual DtString nextFrameObjectName()
const;
658 virtual void setNextFrameSidcCode(
const DtString&);
659 virtual const DtString& nextFrameSidcCode()
const;
661 virtual void setNextFrameObjectType(
const DtEntityType&);
662 virtual DtEntityType nextFrameObjectType()
const;
664 void setNotifyLevel(
int);
669 return myConvertingToLocal;
672 virtual void setConvertingToRemote(
bool);
675 return myConvertingToRemote;
685 template <
typename T_Component>
690 T_Component* comp = myExternalNextFrameState->addStateComponent<T_Component>(checkWritable, isRemote);
726 virtual bool nextFrameIsEmbarked()
const;
730 virtual DtUUID nextFrameEmbarkedOn()
const;
731 virtual void setNextFrameEmbarkedOn(
const DtUUID& u);
732 virtual bool nextFrameIsEmbarkedOn(
const DtUUID&)
const;
742 virtual void setNextFrameEchelonId(
const DtEchelonId&);
752 virtual void setNextFrameForceType(
int);
753 virtual DtForceType nextFrameForceType()
const;
755 virtual void setNextFrameSessionId(
int);
756 virtual int nextFrameSessionId()
const;
758 virtual void setNextFrameVrfMessageVersionSupported(
int);
759 virtual int nextFrameVrfMessageVersionSupported()
const;
764 virtual void removeNextFrameExtendedData(
const DtString&);
774 virtual void upgradeFromImport();
811 void removeIffSystem();
821 void removeUnderwaterAcousticsSystem();
823 virtual void setNextFrameUnderFire(
bool b);
824 virtual bool nextFrameUnderFire()
const;
825 virtual void setNextFrameInvulnerable(
bool);
826 virtual bool nextFrameInvulnerable()
const;
828 virtual void setNextFrameUndetectable(
bool);
829 virtual bool nextFrameUndetectable()
const;
834 virtual void setNextFrameHalfLengthWidthHeight(
double length,
double width,
double height);
837 virtual void setNextFrameBoundingVolume(
const Dt3dBoundingVolume& b);
839 virtual void setNextFrameHasPlan(
bool);
840 virtual bool nextFrameHasPlan()
const;
842 virtual void setNextFrameExecutingPlan(
bool);
843 virtual bool nextFrameExecutingPlan()
const;
849 virtual void setNextFrameOccupantsHidden(
int);
850 virtual bool nextFrameOccupantsHidden()
const;
857 virtual std::map<DtString, DtString> nextFrameExtendedDataMap()
const;
864 virtual std::map<int, DtString> nextFrameExtendedLabels()
const;
866 virtual bool nextFrameIsOnTopOf(
const DtSimObject* o,
bool checkSupportPoints =
false)
const;
867 virtual bool nextFrameIsOnTopOf(
const DtSimObject* o,
double d,
bool checkSupportPoints =
false)
const;
880 void setLocationComplete();
888 FrontEnd_Checkpoint = 2,
889 BackEnd_Checkpoint = 3,
948 virtual bool nextFrameFuelLevelsFrozen()
const;
955 virtual bool nextFrameMunitionLevelsFrozen()
const;
962 virtual void setSimulationCapable(
bool);
963 bool simulationCapable()
const;
970 virtual void setNextFrameBlockParachute(
bool);
971 virtual bool nextFrameBlockParachute()
const;
981 virtual void setNextFrameOnTerrainSurface(
bool b);
982 virtual bool nextFrameOnTerrainSurface()
const;
991 virtual void setOperationInProgress(
int,
bool);
992 virtual bool operationInProgress(
int)
const;
993 virtual void clearOperationsInProgress();
1015 virtual bool setupSubComponentTypes();
1025 virtual bool init();
1035 virtual bool create();
1074 static void readDRThresholdSettingsCallback(
1076 virtual void processReadDRThresholdSettings(
const DtSettingsObject* settings);
1082 bool isGlobalPlan()
const;
1087 bool isSyncMatrix()
const;
1094 virtual int publicationFlag()
const;
1100 virtual bool isCapableOfTask(std::string taskName);
1114 virtual bool convertToLocalObject(
DtString&
error,
const std::string& archiveState);
1121 virtual bool prepareForHandoff();
1132 virtual std::string archiveState()
const;
1163 ReinitializeDefault = 0x00000000,
1164 ReinitializeKeepPSR = 0x00000001,
1165 ReinitializeStateData = 0x00000002,
1168 virtual void prepareForReinitialization(ReinitializeFlags flags = ReinitializeDefault);
1184 virtual void tick();
1187 virtual void startTick();
1188 virtual void tickComponents();
1189 virtual void endTick();
1198 virtual const DtUUID& scenarioRunId()
const;
1209 virtual bool checkIfMoveOntoEmbarked(
const DtVector& localPosition,
const DtSimObject*& hit,
const std::list<DtUUID>& additionalIgnore = std::list<DtUUID>());
1218 virtual bool checkAndDisembarkIfEmbarked(
const DtVector& localPosition);
1223 virtual bool lowFidelityDisembarkHitCheck(
const DtVector& localPosition)
const;
1228 virtual bool highFidelityDisembarkHitCheck(
const DtVector& localPosition)
const;
1233 virtual int nextEmitterSystemId();
1262 return myInitialized;
1267 if (!myParallelContainer)
1272 return myParallelContainer;
1281 virtual void cleanupItemsNeededForHandoff();
1286 virtual bool recreateItemsNeededFromHandoff();
1292 virtual void cleanupItemsNeededForReinitialize();
1300 virtual bool reinitialize();
1316 virtual void initializeDRThresholdSettings();
1321 typedef std::vector<SimObjectCallback>
Vector;
1330 virtual void run()
override;
1346 virtual const ScriptInterfaceExtensions& scriptExtensions()
const;
1357 virtual bool validNameLength(
const DtString& name)
const;
1359 static bool shouldArchiveExtendedAttribute(
const DtString& s);
1360 static void doNotArchiveAttribute(
const DtString& s,
bool b);
1365 virtual void sendVrfObjectCreated(
unsigned long requestId = 0,
bool requestCreated =
true);
1368 virtual void setIsInMovementFlux(
bool,
const DtVector& proposedLocation = DtVector::zero());
1374 virtual void setupStateRepository();
1375 virtual void internalStateInitializedFromParameters();
1381 virtual bool createCommunicationsInterface();
1382 virtual void initializeCommunicationInterfaceCallbacks();
1388 virtual bool createScriptInterfaceHandler();
1390 virtual bool createComponentManager();
1393 virtual bool initializeComponentManager();
1395 virtual bool createRadio();
1396 virtual bool createVrfObjectPlanManager();
1397 virtual bool createSetDataManager();
1402 void createRemotelyControlledLocalObject();
1406 virtual bool createTaskManager();
1414 virtual void updateEntityHasTarget();
1420 virtual void convertedToRemote();
1423 virtual std::map<DtString, DtString> unarchivedData();
1433 void cacheNextFrameComponents();
1434 void clearNextFrameCachedComponents();
1444 virtual bool canBePlaced()
const;
1504 bool myIsEnvironmental =
false;
1545 int myFluxIndex = -1;
1578 bool requireAllData =
false);
1587 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:914
Definition: scriptInterfaceHandler.h:18
VRF4API_METHOD void invokeSetLocationCompleteCallbacks()
Invokes callbacks when location setting is complete.
Definition: localObject.h:1596
boost::signals2::signal< void(SaveType)> signal_postSave
Signals sent before and save via the save order of battle handler with a flag indicating the type of ...
Definition: localObject.h:894
T_Component * getNextFrameStateComponent()
Template method to retrieve any state component that does not have a dedicated accessor method...
Definition: localObject.h:131
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:106
virtual VRF4API_METHOD void setupExtendedDataFromParameterData()
If publishing parameter data also include that in the extended data map by name.
Exception thrown when a required method has not been implemented.
Definition: stateDataTypes.h:30
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:1538
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:935
virtual void completeSetup() override
Completes initialization once the underlying state data has become available.
bool myCreatedStateData
Definition: localObject.h:1466
makVrf::DtVrfStateComponent * myNextFrameVrfStateComponent
Component that stores VRF-specific state for the next frame.
Definition: localObject.h:1520
bool myInitializing
Definition: localObject.h:1482
double length(const dvec3 &theVec)
Definition: DtVecUtils.h:20
boost::signals2::signal< void()> signal_resourceChangedBySet
Notifies listeners that resources have changed.
Definition: localObject.h:905
const DtSimulationServices * mySimulationServices
Definition: simObject.h:237
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:160
boost::signals2::signal< void()> signal_restored
Signal emitted when the object has been restored.
Definition: localObject.h:932
std::map< int, int > OperationsInProgressCount
Type definition for tracking operations in progress.
Definition: localObject.h:1535
VRF4API_METHOD const DtVrfObjectStateRepository * vrfState() const
Retrieves the internal state repository (const version)
Definition: localObject.h:1565
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:911
virtual void setIsRemoteComponent(bool b)
Sets whether this component represents a remote (non-authoritative) entity.
Definition: stateComponent.h:151
Definition: simRadio.h:30
Definition: localObject.h:119
bool mySimulationCapable
Whether or not this object is capable of simulating. Default is true.
Definition: localObject.h:1498
DtVrfObjectTerrainPreloadManager * myTerrainPreloadManager
Definition: localObject.h:1458
DtSimObjectReference myNextFrameSimObjectEmbarkedOn
Reference to the object this object will be embarked on in the next frame.
Definition: localObject.h:1529
boost::signals2::signal< void(SaveType)> signal_preSave
Signals sent before and save via the save order of battle handler with a flag indicating the type of ...
Definition: localObject.h:893
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:1464
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:920
DtSimComponentManager * myComponentManager
Definition: localObject.h:1462
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:686
bool myConvertingToRemote
Will be true if this object is in the process of converting from local to remote. ...
Definition: localObject.h:1495
LocalObjectDecorators myLocalObjectDecorators
Definition: localObject.h:1473
Definition: vrfObjectManipulationHandlerBaseClass.h:64
The DtSimResourceManager is responsible for managing all of the resources for a given entity...
Definition: simResourceManager.h:18
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:1508
boost::signals2::signal< void(DtLocalObject *)> signal_postInitFromParams
Signal sent right after the internal state is initialized from parameters.
Definition: localObject.h:1371
Definition: simObjectStateRepository.h:59
Stage after converting object to remote representation.
Definition: localObject.h:74
Write-access view of the next-frame state components within a DtStateData. Only the simulation (contr...
Definition: stateData.h:180
bool myHasTarget
Definition: localObject.h:1500
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:92
const T_Component * getNextFrameStateComponent() const
Template method to retrieve any state component that does not have a dedicated accessor method...
Definition: localObject.h:138
DtSimRadio * myRadio
Definition: localObject.h:1459
bool convertingToLocal() const
Definition: localObject.h:667
DtAppearanceLocalObjectFacade * nextFrameAppearanceFacade() const
Overrides the global ID for a new local object.
Definition: localObject.h:220
bool convertingToRemote() const
Definition: localObject.h:673
boost::signals2::signal< void()> signal_preObjectReinitialize
Called before/after object reinitialization.
Definition: localObject.h:897
Definition: settingsObject.h:27
1) Define the interface class that will be used to represent the next and current frames...
Definition: vrfGeometryStateComponent.h:65
std::shared_ptr< CallbackInterface > Ptr
Definition: vrfCallbackQueue.h:63
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:923
Interface class used to define minimal interface for a property. The DtPropertyInterface class provid...
Definition: propertyInterface.h:53
virtual void setUUID(const DtUUID &) override
Reassigns this wrapper to track the simulation object with the given UUID.
class DtIfModifyVrfObject:
Definition: ifModifyVrfObject.h:50
boost::signals2::scoped_connection myConvertedToRemoteConnection
Definition: localObject.h:1476
DtLocalObject * object
Definition: localObject.h:1323
const DtSimulationServices * simulationServices() const
Definition: simObject.h:142
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:1526
int myNextEmitterSystemId
Definition: localObject.h:1484
VRF4API_METHOD void setObjectIdentifier(const DtEntityIdentifier &id)
Sets the entity identifier.
Definition: localObject.h:1570
boost::signals2::signal< void(bool success)> signal_postObjectReinitialize
Signals sent before and save via the save order of battle handler with a flag indicating the type of ...
Definition: localObject.h:898
boost::signals2::signal< void(const DtLocalObject *)> signal_localObjectAboutToBeDeleted
Signal sent when a local object is about to be deleted.
Definition: localObject.h:938
const DtRwProperties & stateProperties() const
makVrf::DtExternalNextFrameState * myExternalNextFrameState
Definition: localObject.h:1456
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:72
DtStateComponent * getStateComponent(int index=0)
Returns a writable pointer to the internal DtStateComponent of the given type at the specified index...
Definition: stateData.h:826
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:1472
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:513
boost::signals2::signal< void(DtLocalObject *)> signal_setLocationComplete
Signal sent when the location has been changed by an interface content message.
Definition: localObject.h:929
API for writing callbacks.
Definition: vrfCallbackQueue.h:57
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:64
#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:917
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:1325
HandoffFlag
Enumeration defining the stages of an object handoff process.
Definition: localObject.h:66
Abstract interface class for the active sonar state component, representing either the next or curren...
Definition: activeSonarStateComponent.h:396
virtual void setupVrfObjectParameters()
std::list< DtLuaScriptInterfaceExtension::CreatorUserPair > ScriptInterfaceExtensions
Definition: localObject.h:1135
DtSimTaskManager * myTaskManager
Definition: localObject.h:1460
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:1548
std::vector< SimObjectCallback > Vector
Definition: localObject.h:1321
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:1514
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:1116
makVrf::DtLocationStateComponent * myNextFrameLocationStateComponent
Component that stores location information for the next frame.
Definition: localObject.h:1511
DtMovementLocalObjectFacade * myMovementLocalObjectFacade
Facade for managing movement-related operations.
Definition: localObject.h:1532
DtSimBoundingGeometryType
Definition: simBoundingGeometry.h:61
virtual bool checkValidity() const
Returns true if myExternalCurrentFrameState is not nullptr. Not virtual on purpose as even though loc...
static DtLocalObjectCreatorFcn theLocalObjectCreatorFunction
Definition: localObject.h:1477
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:1483
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:498
Definition: echelonId.h:13
class DtPlan:
Definition: plan.h:92
virtual void isClutterChanged()
Slot called when the is-clutter flag on this object changes.
Definition: localObject.h:1318
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:1523
Abstract interface for the radio receiver state component, representing common accessors for both the...
Definition: radioReceiverStateComponent.h:83
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:97
Stage before converting object to local representation.
Definition: localObject.h:76
DtVrfObjectStateRepository * myInternalState
Definition: localObject.h:1454
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:47
bool initialized() const
Definition: localObject.h:1260
DtScriptInterfaceHandler * myScriptInterfaceHandler
Definition: localObject.h:1461
Interface class representing the nav aid radio transmitter state component. Concrete subclasses provi...
Definition: navAidRadioTransmitterStateComponent.h:21
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:926
makVrf::DtVrfGeometryStateComponent * myNextFrameVrfGeometryStateComponent
Component that stores geometry information for the next frame.
Definition: localObject.h:1517
DtLocalObject *(* DtLocalObjectCreatorFcn)(DtSimulationServices *, const DtVrfLocalObjectCreateInformation &)
Definition: localObject.h:60
bool mySignalLocationComplete
Definition: localObject.h:1503
DtStateDataWrapper & operator=(const DtUUID &)
Reassigns this wrapper to refer to the simulation object with the given UUID.
DtVrfCallbackQueue::CallbackInterface::Ptr parallelContainer()
Definition: localObject.h:1265
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:114
bool myControllersTicked
Definition: localObject.h:1501
Definition: localObject.h:117
DtVrfObjectCommunicationInterface * myCommunicationInterface
Definition: localObject.h:1457
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:1480
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:908
ReinitializeFlags
Prepares this object for reinitialization. This means: 1) Making sure the systems are set to read onl...
Definition: localObject.h:1161
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:102
bool myConvertingToLocal
Will be true if this object is in the process of converting from remote to local. ...
Definition: localObject.h:1492
SaveType
Signals sent before and save via the save order of battle handler with a flag indicating the type of ...
Definition: localObject.h:884
class DtLocalVertexList:
Definition: localVertexList.h:20
bool mySkipNextComponentTick
Definition: localObject.h:1502
1) Define the interface class that will be used to represent the next and current frames...
Definition: taskVisualizationStateComponent.h:300
Contains the DtStateComponent class declaration.
#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:1560
DtAppearanceLocalObjectFacade * myAppearanceLocalObjectFacade
Definition: localObject.h:1487
ScriptInterfaceExtensions myScriptInterfaceExtensions
Definition: localObject.h:1489
DtVrfObjectSubComponentTypes * mySubComponentTypes
Definition: localObject.h:1455
Base interface for accessing current or next frame state in a double-buffered state component...
Definition: stateComponent.h:354
Structure containing data for object handoff operations.
Definition: localObject.h:63
static std::set< DtString > theDoNotArchiveAttributes
Definition: localObject.h:1485
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:1592
DtVrfObjectPlanManager * myVrfObjectPlanManager
Definition: localObject.h:1463
boost::signals2::signal< void(DtLocalObject *, DtVrfObjectHandoffData &)> signal_prepareForHandoff
Signal sent when preparing for object handoff.
Definition: localObject.h:1126
Definition: decoratorBase.h:44
A locally simulated VRF object.
Definition: localObject.h:98