34 const DtString& rwName = DtString::nullString(),
39 const DtString& rwName = DtString::nullString(),
51 const DtString& rwName = DtString::nullString(),
71 virtual void setTargetLocation(
const DtVector& target);
72 virtual const DtVector& targetLocation()
const;
74 virtual void setInitializeWeapon(
const bool needsInit);
75 virtual const bool initializeWeapon()
const;
77 virtual void setIsCruiseMissile(
const bool isCruise);
78 virtual const bool isCruiseMissile()
const;
82 virtual void setTaskId(
const int explicitlyTasked);
83 virtual const int taskId()
const;
DtFireMissionInformation myFireMission
This is the desired mission for the weapon to execute.
Definition: indirectWeaponComponentInterface.h:99
A reader-writer type which contains a single dynamically typed subclass of DtRwSpatialFilter. The container itself is also a subclass of DtRwSpatialFilter, so it can hold instances of itself.
Definition: rwSpatialFilterContainer.h:22
const DtBaseWeaponComponentInterface & operator=(const DtBaseWeaponComponentInterface &orig)
Definition: readerWriterRegistry.h:39
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
An abstract base class for all evaluators of spatial filters. The evaluation of spatial filters is sp...
Definition: spatialFilterEvaluator.h:30
DtSpatialFilterEvaluator * myRegionEvaluator
Definition: indirectWeaponComponentInterface.h:96
virtual bool locationWithinRegion(const DtVector &localLocation) const =0
Represents the interface between the DtIndirectFireController and an indirect fire weapon system...
Definition: indirectWeaponComponentInterface.h:24
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
virtual void updateRegionEvaluator()=0
This must be called before calling locationWithinRegion() if the host entity has moved at all since t...
DtRwInt myFireMissionTaskId
What Fire support/Artillery task this weapon is currently tasked to. -1 means no task.
Definition: indirectWeaponComponentInterface.h:103
Abstract base class for all psrs that will serve as an interface between a controlling component on t...
Definition: baseWeaponComponentInterface.h:28
DtRwBoolean myIsCruiseMissile
Indicates this weapon interface is for a cruise missile.
Definition: indirectWeaponComponentInterface.h:110
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
DtRwBoolean myWeaponNeedsInitialization
This is used when a new task comes in and the weapon needs to be initialized for the task–set up rang...
Definition: indirectWeaponComponentInterface.h:107
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