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;
102 SubordinateOfForceLevel
112 template <
typename T_Component>
115 return nextFrameState()->getStateComponent<T_Component>();
119 template <
typename T_Component>
122 return nextFrameState()->getStateComponent<T_Component>();
126 template <
typename T_Component>
129 return nextFrameState()->getStateComponentList<T_Component>();
133 template <
typename T_Component>
136 return nextFrameState()->getStateComponentList<T_Component>();
142 virtual void setNextFrameActivity(
const DtString&);
144 virtual void setNextFrameExtendedData(
const DtString& key,
const DtString& value);
145 virtual void setNextFrameExtendedDataMap(
const std::map<DtString, DtString>&);
146 virtual void setNextFrameExtendedDataMap(
const std::map<std::string, std::string>&);
147 virtual void clearNextFrameExtendedData();
148 virtual void appendNextFrameExtendedData(
const std::map<DtString, DtString>& s);
149 virtual void setNextFrameExtendedLabel(
int,
const DtString& value);
150 virtual void clearNextFrameExtendedLabels();
151 virtual void setNextFrameExtendedLabels(
const std::map<int, DtString>&);
152 virtual DtAppearance nextFrameAppearance()
const;
156 virtual void setNextFrameLocalPosition(
const DtVector&);
157 virtual DtString nextFrameLabel()
const;
159 virtual const DtVector& nextFrameLocalPosition()
const;
161 virtual void setNextFrameWorldPosition(
const DtVector&);
162 virtual const DtVector& nextFrameWorldPosition()
const;
164 virtual void setNextFrameParentPosition(
const DtVector&);
165 virtual const DtVector& nextFrameParentPosition()
const;
167 virtual void setNextFrameLocalOrientationMatrix(
const DtDcm&);
168 virtual const DtDcm& nextFrameLocalOrientationMatrix()
const;
170 virtual void setNextFrameLocalOrientationWrtDatabase(
const DtTaitBryan&);
171 virtual const DtTaitBryan& nextFrameLocalOrientationWrtDatabase()
const;
173 virtual void setNextFrameLocalOrientation(
const DtTaitBryan&);
174 virtual const DtTaitBryan& nextFrameLocalOrientation()
const;
176 virtual const DtTaitBryan& nextFrameTopographicOrientation()
const;
178 virtual void setNextFrameParentOrientation(
const DtTaitBryan&);
179 virtual const DtTaitBryan& nextFrameParentOrientation()
const;
181 virtual void setNextFrameWorldOrientation(
const DtTaitBryan&);
182 virtual void setNextFrameWorldOrientationMatrix(
const DtDcm&);
183 virtual const DtTaitBryan& nextFrameWorldOrientation()
const;
184 virtual const DtDcm& nextFrameWorldOrientationMatrix()
const;
186 virtual void setNextFrameLocalVertices(
const DtList& vertices,
DtVector& newGeometricCenter);
188 virtual void removeNextFrameVertex(
int iIndex);
189 virtual void addNextFrameLocalVertex(
const DtVector& vertex);
190 virtual void addNextFrameLocalVertex(
const DtVector& vertex,
DtVector& newGeometricCenter);
192 virtual void setNextFrameWorldVertices(
const std::vector<DtVector>& vertices,
DtVector& newGeometricCenter);
193 virtual void setNextFrameWorldVertices(
const DtVertexList& vertices,
DtVector& newGeometricCenter);
194 virtual void setNextFrameWorldVertices(
const DtList& vertices,
DtVector& newGeometricCenter);
195 virtual void addNextFrameWorldVertex(
const DtVector& vertex,
DtVector& newGeometricCenter);
198 bool nextFrameIsDestroyed()
const;
199 int nextFrameDamageState()
const;
204 virtual const DtVertexList& nextFrameWorldVertices()
const;
207 virtual double nextFrameHeading()
const;
208 virtual double nextFramePitch()
const;
209 virtual double nextFrameRoll()
const;
215 virtual void setNextFrameLabel(
const DtString&);
222 virtual void setNextFrameIsSubordinateOfForceLevel(
bool);
223 virtual bool nextFrameIsSubordinateOfForceLevel()
const;
226 virtual bool nextFrameIsLocal()
const;
231 virtual void removedFromSimulation();
235 virtual void setNextFrameInvisible(
bool);
236 virtual bool nextFrameInvisible()
const;
238 virtual void setNextFrameOverlay(
const DtString&);
240 virtual bool nextFrameSensorsKilled()
const;
241 virtual void setNextFrameSensorsKilled(
bool sensorsKilled);
243 virtual void setNextFrameInvisibleSetByUser(
bool b);
244 virtual bool nextFrameInvisibleSetByUser()
const;
246 virtual DtString nextFrameOverlay()
const;
282 virtual DtOutputStream& objectConsoleDebug(
const DtString& channel =
"")
const;
286 virtual DtOutputStream& objectConsoleVerbose(
const DtString& channel =
"")
const;
289 virtual DtOutputStream& objectConsoleInfo(
const DtString& channel =
"")
const;
293 virtual DtOutputStream& objectConsoleWarn(
const DtString& channel =
"")
const;
297 virtual DtOutputStream& objectConsoleError(
const DtString& channel =
"")
const;
300 int notifyLevel()
const;
309 bool publishObject()
const;
310 int publishFlag()
const;
311 virtual void setNextFrameIsClutterEntity(
bool b);
312 virtual bool nextFrameIsClutterEntity()
const;
313 virtual void setNextFrameIsVrfSimulated(
bool);
314 virtual bool nextFrameIsVrfSimulated()
const;
316 virtual bool isRemoteAttachedObject()
const;
318 virtual void setNextFrameEngagementRules(
const DtString&);
319 virtual DtString nextFrameEngagementRules()
const;
321 virtual void setNextFrameIsTasked(
bool);
322 virtual bool nextFrameIsTasked()
const;
324 virtual void setNextFrameIndependentlyTasked(
bool);
325 virtual bool nextFrameIndependentlyTasked()
const;
327 virtual void setNextFrameGlobalId(
const DtString&);
329 virtual void setNextFrameEntityId(
const DtEntityIdentifier&
id);
330 virtual DtEntityIdentifier nextFrameEntityId()
const;
333 virtual bool setNextFrameObjectName(
const DtString&);
334 virtual DtString nextFrameObjectName()
const;
336 virtual void setNextFrameObjectType(
const DtObjectType&);
339 void setNotifyLevel(
int);
348 template <
typename T_Component>
353 T_Component* comp = myExternalNextFrameState->addStateComponent<T_Component>(checkWritable, isRemote);
382 virtual bool nextFrameIsEmbarked()
const;
384 virtual DtUUID nextFrameEmbarkedOn()
const;
385 virtual void setNextFrameEmbarkedOn(
const DtUUID& u);
386 virtual bool nextFrameIsEmbarkedOn(
const DtUUID&)
const;
390 virtual void setNextFrameEchelonId(
const DtEchelonId&);
394 virtual void setNextFrameForceType(
int);
395 virtual DtForceType nextFrameForceType()
const;
397 virtual void setNextFrameSessionId(
int);
398 virtual int nextFrameSessionId()
const;
400 virtual void setNextFrameVrfMessageVersionSupported(
int);
401 virtual int nextFrameVrfMessageVersionSupported()
const;
404 virtual void removeNextFrameExtendedData(
const DtString&);
410 virtual void upgradeFromImport();
441 void removeIffSystem();
445 void removeUnderwaterAcousticsSystem();
447 virtual void setNextFrameUnderFire(
bool b);
448 virtual bool nextFrameUnderFire()
const;
449 virtual void setNextFrameInvulnerable(
bool);
450 virtual bool nextFrameInvulnerable()
const;
452 virtual void setNextFrameUndetectable(
bool);
453 virtual bool nextFrameUndetectable()
const;
456 virtual void setNextFrameHalfLengthWidthHeight(
double length,
double width,
double height);
459 virtual void setNextFrameBoundingVolume(
const Dt3dBoundingVolume& b);
461 virtual void setNextFrameHasPlan(
bool);
462 virtual bool nextFrameHasPlan()
const;
464 virtual void setNextFrameExecutingPlan(
bool);
465 virtual bool nextFrameExecutingPlan()
const;
467 virtual void setNextFrameOccupantsHidden(
bool);
468 virtual bool nextFrameOccupantsHidden()
const;
471 virtual std::map<DtString, DtString> nextFrameExtendedDataMap()
const;
474 virtual std::map<int, DtString> nextFrameExtendedLabels()
const;
476 virtual bool nextFrameIsOnTopOf(
const DtSimObject* o,
bool checkSupportPoints =
false)
const;
477 virtual bool nextFrameIsOnTopOf(
const DtSimObject* o,
double d,
bool checkSupportPoints =
false)
const;
483 void setLocationComplete();
518 virtual void setNextFrameParameterProperties(
const DtRwProperties&);
526 virtual bool nextFrameFuelLevelsFrozen()
const;
529 virtual bool nextFrameMunitionLevelsFrozen()
const;
533 virtual void setSimulationCapable(
bool);
534 bool simulationCapable()
const;
537 virtual void setNextFrameBlockParachute(
bool);
538 virtual bool nextFrameBlockParachute()
const;
543 virtual void setNextFrameOnTerrainSurface(
bool b);
544 virtual bool nextFrameOnTerrainSurface()
const;
549 virtual void setOperationInProgress(
int,
bool);
550 virtual bool operationInProgress(
int)
const;
551 virtual void clearOperationsInProgress();
564 virtual bool setupSubComponentTypes();
575 virtual bool create();
595 static void readDRThresholdSettingsCallback(
597 virtual void processReadDRThresholdSettings(
const DtSettingsObject* settings);
601 bool isGlobalPlan()
const;
604 bool isSyncMatrix()
const;
607 virtual int publicationFlag()
const;
610 virtual bool isCapableOfTask(std::string taskName);
619 static void enableSingleObjectMode();
621 static bool singleObjectModeActive();
625 virtual bool convertToLocalObject(
DtString&
error,
const std::string& archiveState);
627 boost::signals2::signal<void (DtLocalObject*, DtVrfObjectHandoffData::HandoffFlag)>
signal_handoffStep;
629 virtual bool prepareForHandoff();
634 virtual std::string archiveState()
const;
660 virtual void prepareForReinitialization();
672 virtual void startTick();
673 virtual void tickComponents();
674 virtual void endTick();
677 virtual int scenarioRunId()
const;
681 virtual bool checkIfMoveOntoEmbarked(
const DtVector& localPosition,
const DtSimObject*& hit,
const std::list<DtUUID>& additionalIgnore = std::list<DtUUID>());
684 virtual bool checkAndDisembarkIfEmbarked(
const DtVector& localPosition);
685 virtual bool lowFidelityDisembarkHitCheck(
const DtVector& localPosition)
const;
686 virtual bool highFidelityDisembarkHitCheck(
const DtVector& localPosition)
const;
688 virtual int nextEmitterSystemId();
713 return myInitialized;
718 if (!myParallelContainer)
723 return myParallelContainer;
729 virtual void cleanupItemsNeededForHandoff();
730 virtual bool recreateItemsNeededFromHandoff();
748 typedef std::vector<SimObjectCallback>
Vector;
770 virtual const ScriptInterfaceExtensions& scriptExtensions()
const;
774 virtual bool validNameLength(
const DtString& name)
const;
776 static bool shouldArchiveExtendedAttribute(
const DtString& s);
777 static void doNotArchiveAttribute(
const DtString& s,
bool b);
782 virtual void sendVrfObjectCreated(
unsigned long requestId = 0,
bool requestCreated =
true);
785 virtual void setIsInMovementFlux(
bool,
const DtVector& proposedLocation = DtVector::zero());
791 virtual void setupStateRepository();
792 virtual void internalStateInitializedFromParameters();
798 virtual bool createCommunicationsInterface();
799 virtual void initializeCommunicationInterfaceCallbacks();
803 virtual bool createScriptInterfaceHandler();
805 virtual bool createComponentManager();
808 virtual bool initializeComponentManager();
810 virtual bool createRadio();
811 virtual bool createVrfObjectPlanManager();
812 virtual bool createSetDataManager();
817 void createRemotelyControlledLocalObject();
821 virtual bool createTaskManager();
829 virtual void updateEntityHasTarget();
835 virtual void convertedToRemote();
838 virtual std::map<DtString, DtString> unarchivedData();
848 void cacheNextFrameComponents();
849 void clearNextFrameCachedComponents();
859 virtual bool canBePlaced()
const;
914 bool myIsEnvironmental =
false;
934 int myFluxIndex = -1;
945 bool requireAllData =
false);
947 bool requireAllData =
false);
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:63
boost::signals2::signal< void()> signal_objectInitialized
Signal sent at the very end of the init() method.
Definition: localObject.h:492
Definition: scriptInterfaceHandler.h:19
VRF4API_METHOD void invokeSetLocationCompleteCallbacks()
These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header fi...
Definition: localObject.h:949
T_Component * getNextFrameStateComponent()
General call to get any component that does not have a method.
Definition: localObject.h:113
Definition: localObject.h:72
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
Definition: attachedTerrain.h:46
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
Definition: localObject.h:930
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:513
virtual void setUUID(const DtUUID &)
bool myCreatedStateData
Definition: localObject.h:881
bool converting() const
Definition: localObject.h:342
makVrf::DtVrfStateComponent * myNextFrameVrfStateComponent
Definition: localObject.h:921
bool myInitializing
Definition: localObject.h:895
DtSimObject & operator=(const DtUUID &)
const DtSimulationServices * mySimulationServices
Definition: simObject.h:500
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:139
boost::signals2::signal< void()> signal_restored
Signal emitted when the object has been restored.
Definition: localObject.h:510
std::map< int, int > OperationsInProgressCount
Definition: localObject.h:929
VRF4API_METHOD const DtVrfObjectStateRepository * vrfState() const
These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header fi...
Definition: localObject.h:942
ChangeFlag
Definition: localObject.h:95
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:489
virtual void setIsRemoteComponent(bool b)
Definition: stateComponent.h:133
bool parallelTick
Definition: localObject.h:751
Definition: simRadio.h:30
unsigned int StateComponentType
Definition: stateComponent.h:55
bool mySimulationCapable
Whether or not this object is capable of simulating. Default is true.
Definition: localObject.h:908
DtVrfObjectTerrainPreloadManager * myTerrainPreloadManager
Definition: localObject.h:873
DtSimObjectReference myNextFrameSimObjectEmbarkedOn
Definition: localObject.h:925
Definition: localObject.h:98
bool isValid() const
Returns true if myExternalCurrentFrameState is not nullptr. Not virtual on purpose as even though loc...
The DtSimulatedObjectStateComponent is an interface that all main components (those that are consider...
Definition: simulatedObjectStateComponent.h:21
DtSetDataManager * mySetDataManager
Definition: localObject.h:879
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:498
DtSimComponentManager * myComponentManager
Definition: localObject.h:877
virtual void clearDecorators()
This code will keep track of DtSimObject decorator only. The DtLocalObject will be able to use this d...
Definition: localObject.h:99
T_Component * addStateComponent(bool checkWritable=false, bool isRemote=false)
Adds the given state component by its intrinsic type.
Definition: localObject.h:349
LocalObjectDecorators myLocalObjectDecorators
Decorator members.
Definition: localObject.h:886
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
virtual void createNavigationDecorator()
Failure to recreate object for local usage so must be deleted.
Definition: localObject.h:73
DtRwProperties * myDefaultStateProperties
Definition: localObject.h:916
boost::signals2::signal< void(DtLocalObject *)> signal_postInitFromParams
Signal sent right after the internal state is initialized from parameters.
Definition: localObject.h:788
Definition: simObjectStateRepository.h:59
Definition: localObject.h:69
Definition: stateData.h:116
bool myHasTarget
Definition: localObject.h:910
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
General call to get any component that does not have a method.
Definition: localObject.h:120
virtual void isClutterChanged()
DtSimRadio * myRadio
Definition: localObject.h:874
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
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:501
class DtIfModifyVrfObject:
Definition: ifModifyVrfObject.h:50
Definition: objectType.h:27
boost::signals2::scoped_connection myConvertedToRemoteConnection
Definition: localObject.h:889
DtLocalObject * object
Definition: localObject.h:750
const DtSimulationServices * simulationServices() const
Definition: simObject.h:273
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
Definition: localObject.h:923
int myNextEmitterSystemId
Definition: localObject.h:897
VRF4API_METHOD void setObjectIdentifier(const DtEntityIdentifier &id)
These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header fi...
Definition: localObject.h:943
boost::signals2::signal< void(const DtLocalObject *)> signal_localObjectAboutToBeDeleted
Signal sent when a local object is about to be deleted.
Definition: localObject.h:516
makVrf::DtExternalNextFrameState * myExternalNextFrameState
Definition: localObject.h:871
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:542
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
virtual void completeSetup()
std::map< std::string, DtLocalObjectDecorator * > LocalObjectDecorators
Decorator members.
Definition: localObject.h:885
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:339
boost::signals2::signal< void(DtLocalObject *)> signal_setLocationComplete
Signal sent when the location has been changed by an interface content message.
Definition: localObject.h:507
API for writing callbacks.
Definition: vrfCallbackQueue.h:58
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:56
#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:495
bool myConverting
Will be true if this object is in the process of converting from remote to local. ...
Definition: localObject.h:905
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:753
HandoffFlag
Definition: localObject.h:63
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:637
DtSimTaskManager * myTaskManager
Definition: localObject.h:875
If inheriting from a base sim object proxy.
Definition: localObjectFacadeBase.h:32
class DtVertexList:
Definition: vertexList.h:22
DtVrfCallbackQueue::CallbackInterface::Ptr myParallelContainer
Definition: localObject.h:936
std::vector< SimObjectCallback > Vector
Definition: localObject.h:748
Definition: localObject.h:68
Definition: localObject.h:101
makVrf::DtSimulatedObjectStateComponent * myNextFrameSimulatedObjectStateComponent
Definition: localObject.h:919
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:627
makVrf::DtLocationStateComponent * myNextFrameLocationStateComponent
Only set if there is no state properties state component.
Definition: localObject.h:918
DtMovementLocalObjectFacade * myMovementLocalObjectFacade
Definition: localObject.h:927
DtSimBoundingGeometryType
Definition: simBoundingGeometry.h:61
virtual void makeInvalid()
Make this invalid by clearing the myExternalCurrentFrameState. This will also set the myIsDeleted fla...
static DtLocalObjectCreatorFcn theLocalObjectCreatorFunction
Definition: localObject.h:890
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
const std::vector< T_Component * > getNextFrameStateComponentList() const
General call to get any component that does not have a method.
Definition: localObject.h:134
This is the top-level resource manager for a DtLocalObject. The actual resources are stored in DtSimR...
Definition: objectResourceManager.h:21
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:896
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
Definition: localObject.h:745
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:51
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:52
makVrf::DtStatePropertiesStateComponent * myNextFrameStatePropertiesStateComponent
Definition: localObject.h:922
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:30
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:94
Definition: localObject.h:70
DtVrfObjectStateRepository * myInternalState
Definition: localObject.h:869
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:88
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
Definition: localObject.h:71
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:711
DtScriptInterfaceHandler * myScriptInterfaceHandler
Definition: localObject.h:876
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
Definition: localObject.h:76
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:504
makVrf::DtVrfGeometryStateComponent * myNextFrameVrfGeometryStateComponent
Definition: localObject.h:920
DtLocalObject *(* DtLocalObjectCreatorFcn)(DtSimulationServices *, const DtVrfLocalObjectCreateInformation &)
Definition: localObject.h:59
bool mySignalLocationComplete
Definition: localObject.h:913
DtVrfCallbackQueue::CallbackInterface::Ptr parallelContainer()
Definition: localObject.h:716
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:911
Definition: localObject.h:100
DtVrfObjectCommunicationInterface * myCommunicationInterface
Definition: localObject.h:872
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:126
DtVrfLocalObjectCreateInformation * myLocalObjectCreateInformation
Information used to originally create this object.
Definition: localObject.h:893
If the flag is Prepare, and you do not wish this object to be handed off, set the flag to Abort...
Definition: localObject.h:67
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:486
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
class DtLocalVertexList:
Definition: localVertexList.h:20
bool mySkipNextComponentTick
Definition: localObject.h:912
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.
#define VRF4API_METHOD
Include this header file to allow for the definition/usage of the ability to mark something as deprec...
Definition: vrf4XAPI.h:22
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:941
DtAppearanceLocalObjectFacade * myAppearanceLocalObjectFacade
Definition: localObject.h:900
ScriptInterfaceExtensions myScriptInterfaceExtensions
Definition: localObject.h:902
DtVrfObjectSubComponentTypes * mySubComponentTypes
Definition: localObject.h:870
std::vector< T_Component * > getNextFrameStateComponentList()
General call to get any component that does not have a method.
Definition: localObject.h:127
This is a simple base class that will be used to return a pointer to current or next frame state...
Definition: stateComponent.h:291
Definition: localObject.h:61
static std::set< DtString > theDoNotArchiveAttributes
Definition: localObject.h:898
virtual bool isLocal() const
Returns true if this object is a locally simulated object.
VRF4API_METHOD bool isVrfSimulated() const
These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header fi...
Definition: localObject.h:948
DtVrfObjectPlanManager * myVrfObjectPlanManager
Definition: localObject.h:878
boost::signals2::signal< void(DtLocalObject *, DtVrfObjectHandoffData &)> signal_prepareForHandoff
Signal sent in preparing for handoff. Set the handoffFlag to Abort if this item should not be handed ...
Definition: localObject.h:632
Definition: decoratorBase.h:44
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, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86
boost::shared_ptr< CallbackInterface > Ptr
Definition: vrfCallbackQueue.h:64