13 #include "vlutil/vlString.h"
44 virtual const char*
type()
const;
59 static void destroyCallback(
DtSimMessage* msg,
void* usr);
104 virtual bool updateDestructionRate(
const DtSimObject* obj,
bool stop,
bool forceSend);
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool init()
Initializes the controller.
std::map< DtString, DtRwAffectableEngineeringObject * > myEngInfoByTaskType
Map of task types to engineering info.
Definition: destroyEngineeringObjectController.h:110
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
const DtDestroyEngineeringObjectControllerDescriptor * myDestroyEngineeringObjDesc
Definition: destroyEngineeringObjectController.h:107
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
This controller is responsible for destroying engineering objects.
Definition: destroyEngineeringObjectController.h:21
std::map< DtObjectType, DtRwAffectableEngineeringObject * > myEngInfoByObjType
Map of object types to engineering info.
Definition: destroyEngineeringObjectController.h:113
virtual void processIdleState()=0
Determines the next step to take during tick when in the idle state.
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 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:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
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
virtual void clearTask() override
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
virtual void registerTaskMsgCallbacks()
Registers interest in create engineering object tasks by calling addTaskProcessorCallback.
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.
DtDestroyEngineeringObjectControllerDescriptor is a DtComponentDescriptor that has additional informa...
Definition: destroyEngineeringObjectControllerDescriptor.h:19
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