43 const DtString& rwName = DtString::nullString(),
47 const DtString& rwName = DtString::nullString(),
56 const DtString& rwName = DtString::nullString(),
65 virtual void setUserTargetOverride(
bool userTargetOverride);
66 virtual bool userTargetOverride()
const;
70 virtual void setCurrentTarget(
const DtUUID&,
71 bool targetOverride =
false);
81 virtual void setCurrentMunitionName(
const DtString& currentMunitionName);
83 virtual const DtString& currentMunitionName()
const;
86 virtual bool targetAcquired()
const;
87 virtual void setTargetAcquired(
bool targetAcquired);
90 virtual bool weaponAimed()
const;
91 virtual void setWeaponAimed(
bool aimed);
99 virtual void addActiveMissile(
const DtUUID&);
100 virtual void removeActiveMissile(
const DtUUID&);
103 virtual bool stillTargeting(
const DtUUID&)
const;
108 virtual void missileRemoved(
const DtUUID&);
UUID is a unique ID wrapper class.
Definition: rwUUID.h:226
DtRwSimObjectReferenceList myActiveMissiles
Definition: vrfWeaponPSR.h:119
If you use a list of object names to archive which objects are part of a controller (or any object) u...
Definition: simObjectReferenceList.h:115
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
File: weaponPSR.h.
Definition: vrfWeaponPSR.h:33
DtVrfMunitionLoader myMunitionLoader
Definition: vrfWeaponPSR.h:117
DtRwBoolean myWeaponAimed
Definition: vrfWeaponPSR.h:118
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: simObjectReference.h:74
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtRwSimObjectReference myCurrentTarget
Definition: vrfWeaponPSR.h:113
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
DtRwNLengthUUIDVector myMissileFireOrder
Definition: vrfWeaponPSR.h:120
Class DtVrfMunitionLoader:
Definition: vrfMunitionLoader.h:22
DtRwBoolean myTargetAcquired
Definition: vrfWeaponPSR.h:112
DtRwNLengthUUIDVector is a named, readable/writable vector of DtUUIDs. Can be used in place of a NLen...
Definition: rwNLengthUUIDVector.h:30
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 DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
DtRwString myCurrentMunitionName
Definition: vrfWeaponPSR.h:115
DtRwBoolean myUserTargetOverride
Definition: vrfWeaponPSR.h:114
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
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