18 #include <boost/signals2.hpp>
40 virtual const char*
type()
const;
63 virtual void processEmbeddedEntityCurrentlyInContext(
double deltaTime);
67 virtual bool checkWithinRecoveryRange();
70 virtual bool performDeployment();
72 virtual bool performRecovery();
74 virtual bool performSetForward();
76 virtual bool performTaskForward();
78 virtual DtVector calculateSpawnPosOfTarget();
81 virtual bool commandEeToReturn(
const DtString& entityName);
86 virtual DtUUID getObjectNameOfEmbeddedEntity(std::string eeName,
bool& found);
91 getStatusOfEmbeddedEntity(std::string eeName,
bool& found);
94 static void setForwardTaskCallback(
DtSimMessage * msg,
void * usrData);
96 static void taskForwardTaskCallback(
DtSimMessage * msg,
void * usrData);
101 static void deployTaskCallback(
DtSimMessage * msg,
void * usrData);
103 static void recoverTaskCallback(
DtSimMessage * msg,
void * usrData);
108 virtual std::list<DtEmbeddedEntity> availableEmbeddedEntities();
112 virtual void processDeletion(
const DtSimObject* spawnedObject);
117 static void hostRestoreCallback(
DtSimMessage* message,
void* usrData);
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Name <-> type pair representing the API-exposed portion of an Embedded Entity configuration.
Definition: ifEmbeddedEntityInfoCacheResponse.h:22
Contains the DtEmbeddedEntitiesDescriptor class.
std::map< std::string, DtRwEmbeddedEntity * > myNamedEntityMap
A representation of myComponentDescriptor->embeddedEntities() where DtRwEmbeddedEntity::entityName() ...
Definition: embeddedEntitiesController.h:137
DtEmbeddedEntitiesController. Handles all tasking and name resolution of Embedded Entities...
Definition: embeddedEntitiesController.h:24
DtRwEmbeddedEntityTaskState * myEeCurrentlyProcessing
The task state of the Embedded Entity currently being processed All perform* methods, etc. are based off this value.
Definition: embeddedEntitiesController.h:133
virtual void clearTask()
Called when you want to clear out this component's task state. Base class implementation does nothing...
const DtEmbeddedEntitiesDescriptor * myComponentDescriptor
Definition: embeddedEntitiesController.h:129
virtual void registerTaskMsgCallbacks()
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: multiTaskControllerComponent.h:23
Definition: readerWriterRegistry.h:39
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
Holds data and provides accessors pertinent to the task state of a single Embedded Entity...
Definition: embeddedEntitiesPSR.h:24
virtual bool init()
Calls setRadio()
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtEmbeddedEntitiesPSR * myProcessState
Definition: embeddedEntitiesController.h:128
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
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:79
DtEmbeddedEntityDeploymentState
The deployment state of an Embedded Entity. Note that entities with a status of DtDeployedAndExtant m...
Definition: rwEmbeddedEntity.h:118
PSR for use by DtEmbeddedEntitiesController Primarily concerned with managing lists of DtRwEmbeddedEn...
Definition: embeddedEntitiesPSR.h:103
Descriptor for Embedded Entity systems. Primarily contains accessors and storage mechanics for a list...
Definition: embeddedEntitiesDescriptor.h:23
std::map< DtUUID, boost::signals2::connection > RemovalSignalsMap
Definition: embeddedEntitiesController.h:143
Contains data concerning one Embedded Entity's deployment state. For use by DtEmbeddedEntitiesControl...
Definition: rwEmbeddedEntity.h:113
Contains the DtEmbeddedEntitiesPSR and DtRwEmbeddedEntityTaskState classes.
std::list< int > myFaultedTasks
Holds a list of any task ids that are uncompletable and can't be bound to any given task state such t...
Definition: embeddedEntitiesController.h:141
RemovalSignalsMap myRemovalSignalsMap
Definition: embeddedEntitiesController.h:144
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