14 #include "vlutil/vlString.h"
36 virtual bool init()
override;
47 virtual const char*
type()
const override;
62 static void createCallback(
DtSimMessage* msg,
void* usr);
77 static void improveCallback(
DtSimMessage* msg,
void* usr);
101 virtual void queryForOverlappingProhibitedTerrain(
const DtLocalVertexList* objectVertices);
133 const DtRwVector& location, DtForceType forceType);
143 virtual bool updateImprovementRate(
const DtSimObject* obj,
bool stop,
bool forceSend,
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:64
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Handle returned from Create Object Service calls.
Definition: createObjectHandle.h:12
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual bool init() override
Initializes the controller.
const DtCreateEngineeringObjectControllerDescriptor * myCreateEngineeringObjDesc
Definition: createEngineeringObjectController.h:147
This controller is responsible for creating new engineering objects.
Definition: createEngineeringObjectController.h:24
virtual const char * type() const override=0
Returns a string identifies the class type of component. Type values are defined in compTypes...
std::map< DtSimTaskMessageType, DtRwAffectableEngineeringObject * > myEngInfoByTaskType
Map of task types to engineering info.
Definition: createEngineeringObjectController.h:150
Definition: rwVector.h:23
virtual void processIdleState()=0
Determines the next step to take during tick when in the idle state.
std::map< DtEntityType, DtRwAffectableEngineeringObject * > myEngInfoByObjType
Map of object types to engineering info.
Definition: createEngineeringObjectController.h:153
This is the base class for controllers which affect the creation and destruction of engineering objec...
Definition: affectEngineeringObjectController.h:21
File: simMsg.h.
Definition: simMessage.h:35
virtual void registerTaskMsgCallbacks() override
Registers interest in create engineering object tasks by calling addTaskProcessorCallback.
virtual void processAffectingPausedState()=0
Determines the next step to take during tick when in the affecting paused state (something has caused...
virtual void processMovingIntoRangeState()=0
Determines the next step to take during tick when in the moving into range state. ...
virtual void processAffectingState()=0
Determines the next step to take during tick when in the affecting state (while actively affecting an...
virtual void processSettingUpState()=0
Determines the next step to take during tick when in the setting up state (preparing to affect an obj...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
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
virtual void clearTask() override
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
DtCreateEngineeringObjectControllerDescriptor is a DtComponentDescriptor that has additional informat...
Definition: createEngineeringObjectControllerDescriptor.h:18
std::unique_ptr< MAKVRinTerra::DtFeatureSet > myOverlappingProhibitedTerrain
Feature set of prohibited terrain that overlaps the desired engineering object construction location...
Definition: createEngineeringObjectController.h:157
DtRwAffectableEngineeringObject holds a the information needed to know how a unit may create a type o...
Definition: rwAffectableEngineeringObject.h:22
DtAffectEngineeringObjectController & operator=(const DtAffectEngineeringObjectController &orig)
Not implemented.
class DtLocalVertexList:
Definition: localVertexList.h:20
class DtRwVectorList:
Definition: rwVectorList.h:22
A locally simulated VRF object.
Definition: localObject.h:98