![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtMissileFlightPSR: More...

Public Member Functions | |
| DtMissileFlightPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| DtMissileFlightPSR (const DtMissileFlightPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor - not implemented | |
| virtual | ~DtMissileFlightPSR () |
| destructor | |
| DtMissileFlightPSR & | operator= (const DtMissileFlightPSR &orig) |
| assignment operator - not implemented | |
| virtual DtVrfProcessStateRepository * | clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const |
| returns a newly created copy of this object | |
| virtual DtString | type () const |
| Returns the string type of the repository, as defined in procSRTypes.h. | |
| virtual void | setMaxBurnTime (DtTime seconds) |
| Set/get the maximum burn time (seconds). | |
| virtual DtTime | maxBurnTime () const |
| virtual void | setMaxBurnTimeSet (bool flag) |
| Set/get flag indicating whether max burn time has been set. | |
| virtual bool | maxBurnTimeSet () const |
| virtual void | setCurrentBurnTime (DtTime seconds) |
| Set/get current burn time (seconds). | |
| virtual DtTime | currentBurnTime () const |
| virtual void | setTargetPoint (const DtVector &targetPoint) |
| Set/get the target point location. | |
| virtual const DtVector & | targetPoint () const |
| virtual bool | isMissileTargetted () const |
| Get flag indicating whether missile target has been set. | |
| virtual void | setTargetVelocity (const DtVector &velocity) |
| Set/get the current target velocity for the missile. | |
| virtual const DtVector & | targetVelocity () const |
| virtual void | setTargetEntity (const DtString &objectName) |
| Set/get the object name of the target entity. | |
| virtual const DtString & | targetEntity () const |
| virtual void | setLaunchPhase (DtMissileLaunchPhase phase) |
| Set/get the launch phase we're in (simple target acquisition or proportional navigation). | |
| virtual DtMissileLaunchPhase | launchPhase () const |
Static Public Member Functions | |
| static DtVrfProcessStateRepository * | creator (const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry) |
| Returns a newly created instance of this class. | |
Protected Attributes | |
| DtRwBoolean | myMaxBurnTimeSet |
| Moved here from DtMissileManeuverActComponent (msslManeuvAct.h) | |
| DtRwReal | myMaxBurnTime |
| Maximum burn time (range/maximum speed, in seconds). | |
| DtRwReal | myCurrentBurnTime |
| Current burn time remaining (in seconds). | |
| DtRwVector | myTargetPoint |
| Moved here from DtMissileMoveToControllerComponent (msslMvToCntlr.h) | |
| DtRwVector | myTargetVelocity |
| Target velocity (meters/seconds, database coordinates) | |
| DtRwBoolean | myIsMissileTargetted |
| Flag indicating whether missile has a designated target. | |
| DtRwString | myEntityToTrack |
| Moved here from DtMissileTrackEntityController. | |
| DtRwInt | myLaunchPhase |
| Launch phase. | |
class DtMissileFlightPSR:
Instances of DtMissileFlightPSR are
Instances of DtRotaryWingFlightPSR are used to hold the shared/checkpointable state data associated with the process of missile flight.
| DtMissileFlightPSR::DtMissileFlightPSR | ( | DtVrfObject * | vrfObject, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
| DtMissileFlightPSR::DtMissileFlightPSR | ( | const DtMissileFlightPSR & | orig, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor - not implemented
| virtual DtMissileFlightPSR::~DtMissileFlightPSR | ( | ) | [virtual] |
destructor
| DtMissileFlightPSR& DtMissileFlightPSR::operator= | ( | const DtMissileFlightPSR & | orig | ) |
assignment operator - not implemented
| virtual DtVrfProcessStateRepository* DtMissileFlightPSR::clone | ( | const DtString & | rwName = DtString::nullString(), |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
returns a newly created copy of this object
Implements DtVrfProcessStateRepository.
| virtual DtString DtMissileFlightPSR::type | ( | ) | const [virtual] |
Returns the string type of the repository, as defined in procSRTypes.h.
(DtVrfRotaryWingFlightProcessStateRepositoryType).
Implements DtVrfProcessStateRepository.
| virtual void DtMissileFlightPSR::setMaxBurnTime | ( | DtTime | seconds | ) | [virtual] |
Set/get the maximum burn time (seconds).
| virtual DtTime DtMissileFlightPSR::maxBurnTime | ( | ) | const [virtual] |
| virtual void DtMissileFlightPSR::setMaxBurnTimeSet | ( | bool | flag | ) | [virtual] |
Set/get flag indicating whether max burn time has been set.
| virtual bool DtMissileFlightPSR::maxBurnTimeSet | ( | ) | const [virtual] |
| virtual void DtMissileFlightPSR::setCurrentBurnTime | ( | DtTime | seconds | ) | [virtual] |
Set/get current burn time (seconds).
| virtual DtTime DtMissileFlightPSR::currentBurnTime | ( | ) | const [virtual] |
| virtual void DtMissileFlightPSR::setTargetPoint | ( | const DtVector & | targetPoint | ) | [virtual] |
Set/get the target point location.
| virtual const DtVector& DtMissileFlightPSR::targetPoint | ( | ) | const [virtual] |
| virtual bool DtMissileFlightPSR::isMissileTargetted | ( | ) | const [virtual] |
Get flag indicating whether missile target has been set.
| virtual void DtMissileFlightPSR::setTargetVelocity | ( | const DtVector & | velocity | ) | [virtual] |
Set/get the current target velocity for the missile.
| virtual const DtVector& DtMissileFlightPSR::targetVelocity | ( | ) | const [virtual] |
| virtual void DtMissileFlightPSR::setTargetEntity | ( | const DtString & | objectName | ) | [virtual] |
Set/get the object name of the target entity.
| virtual const DtString& DtMissileFlightPSR::targetEntity | ( | ) | const [virtual] |
| virtual void DtMissileFlightPSR::setLaunchPhase | ( | DtMissileLaunchPhase | phase | ) | [virtual] |
Set/get the launch phase we're in (simple target acquisition or proportional navigation).
| virtual DtMissileLaunchPhase DtMissileFlightPSR::launchPhase | ( | ) | const [virtual] |
| static DtVrfProcessStateRepository* DtMissileFlightPSR::creator | ( | const DtString & | rwName, |
| DtVrfObject * | vrfObject, | ||
| DtReaderWriterRegistry * | parentRegistry | ||
| ) | [static] |
Returns a newly created instance of this class.
DtRwBoolean DtMissileFlightPSR::myMaxBurnTimeSet [protected] |
Moved here from DtMissileManeuverActComponent (msslManeuvAct.h)
Flag indicating whether the maximum burn time has been set.
DtRwReal DtMissileFlightPSR::myMaxBurnTime [protected] |
Maximum burn time (range/maximum speed, in seconds).
DtRwReal DtMissileFlightPSR::myCurrentBurnTime [protected] |
Current burn time remaining (in seconds).
DtRwVector DtMissileFlightPSR::myTargetPoint [protected] |
Moved here from DtMissileMoveToControllerComponent (msslMvToCntlr.h)
Target point (meters, database coordinates).
DtRwVector DtMissileFlightPSR::myTargetVelocity [protected] |
Target velocity (meters/seconds, database coordinates)
DtRwBoolean DtMissileFlightPSR::myIsMissileTargetted [protected] |
Flag indicating whether missile has a designated target.
DtRwString DtMissileFlightPSR::myEntityToTrack [protected] |
Moved here from DtMissileTrackEntityController.
The object name of the entity I'm tracking.
DtRwInt DtMissileFlightPSR::myLaunchPhase [protected] |
Launch phase.
Starts at one for simple target acquisition navigation, then gets set to two to begin proportional navigation when the target is within the missile's acquisition angle. Any other values are ignored by calculateSteering().