VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtMissileSimObjectFacadeInterface Class Referenceabstract

This DtMissileSimObjectFacadeInterface class will provide API functionality for VRF created missiles.

Inheritance diagram for DtMissileSimObjectFacadeInterface:
Inheritance graph
[legend]

Public Member Functions

 DtMissileSimObjectFacadeInterface ()
 
virtual ~DtMissileSimObjectFacadeInterface ()
 
bool isUsable () const
 
const DtUUIDattacker () const
 
const DtUUIDtarget () const
 
bool fireAndForget () const
 
DtVector targetLocation () const
 
double distanceSquaredToTarget (DtVector *vectorToTargetReturn=nullptr) const
 
DtString eventId () const
 
bool passedTarget () const
 
- Public Member Functions inherited from DtPlatformSimObjectFacadeInterface
 DtPlatformSimObjectFacadeInterface ()
 
virtual ~DtPlatformSimObjectFacadeInterface ()
 
bool isMoveable () const
 
bool hasHighFidelityObjectGeometryModel () const
 
bool flaming () const
 
bool smoking () const
 
bool powerPlantOn () const
 
bool lightState (int state) const
 
double illumination () const
 
double expectedIllumination (double dateAndTimeOfDay) const
 
bool canPivot () const
 
double turningRadius () const
 
bool protectEmbarkedFromCollateralDamage () const
 
bool isEmbeddedInTerrain () const
 
void embedInTerrainIfNeeded ()
 
double sensorSignature (const DtSymbolString &sensorDomain) const
 
bool intersect (const DtChord &, DtVrfChordIntersectionRecord *record=0) const
 
- Public Member Functions inherited from DtAppearanceSimObjectFacadeInterface
 DtAppearanceSimObjectFacadeInterface ()
 
virtual ~DtAppearanceSimObjectFacadeInterface ()
 
bool isUsable () const
 
int damageState () const
 
bool isDestroyed () const
 
bool firePowerKilled () const
 
bool mobilityKilled () const
 
bool isConcealed () const
 
DtReal healthPct () const
 
const DtAppearance & appearance () const
 
int capabilities () const
 
- Public Member Functions inherited from DtArticulatedPartsSimObjectFacadeInterface
 DtArticulatedPartsSimObjectFacadeInterface ()
 
virtual ~DtArticulatedPartsSimObjectFacadeInterface ()
 
bool isUsable () const
 
bool hasArticulatedParts () const
 
const
makVrf::DtArticulatedPartManager
articulatedPartsManager () const
 
const DtArticulatedPartCollectionartPartList () const
 
const
makVrf::DtArticulatedPartStateRepository
part (DtArtPartType partType) const
 
- Public Member Functions inherited from DtRangeItemSimObjectFacadeInterface
 DtRangeItemSimObjectFacadeInterface ()
 
virtual ~DtRangeItemSimObjectFacadeInterface ()
 
bool isUsable () const
 
const DtRangeItemsrangeItems () const
 
- Public Member Functions inherited from DtMovementSimObjectFacadeInterface
 DtMovementSimObjectFacadeInterface ()
 
virtual ~DtMovementSimObjectFacadeInterface ()
 
DtDeadReckonTypes deadReckoningAlgorithm () const
 
const DtThresholder & thresholder () const
 
bool isSpatiallyFrozen () const
 
bool isFrozen () const
 
DtStationName parentStationName () const
 
const DtVectorworldVelocity () const
 
const DtVectorlocalVelocity () const
 
const DtVector bodyVelocity () const
 
const DtVectorrelativeVelocity () const
 
const DtVectorparentVelocity () const
 
const DtVectorrotationalVelocity () const
 
const DtVectorworldAcceleration () const
 
const DtVectorlocalAcceleration () const
 
const DtVectorrelativeAcceleration () const
 
double localSpeed () const
 
double speed () const
 
double forwardSpeed () const
 

Protected Member Functions

virtual DtSimObjectReference simObject () const =0
 
virtual void setupDecorator () override
 
void targetAttackerChanged ()
 
void decoratorDeleted ()
 
- Protected Member Functions inherited from DtAppearanceSimObjectFacadeInterface
const
makVrf::DtSimulatedObjectStateComponent
simObjectStateComponent () const
 
- Protected Member Functions inherited from DtMovementSimObjectFacadeInterface
void setupDecorator ()
 
const
makVrf::DtEntityLocationStateComponent
entityLocationStateComponent () const
 

Protected Attributes

DtVrfSimulatedSimObjectFacade myVrfSimulatedSimObjectFacade
 
DtMissileSimObjectDecoratormyMunitionSimObjectDecorator
 
DtUUID myTarget
 
DtUUID myAttacker
 
boost::signals2::scoped_connection myTargetAttackerChangedConnection
 
boost::signals2::scoped_connection myDecoratorDeletedConnection
 
- Protected Attributes inherited from DtPlatformSimObjectFacadeInterface
DtSensorSignatureSimObjectDecoratormySensorSignatureSimObjectDecorator
 
DtIlluminationSimObjectDecoratormyIlluminationSimObjectDecorator
 
DtPlatformGeometrySimObjectDecoratormyPlatformGeometrySimObjectDecorator
 
- Protected Attributes inherited from DtAppearanceSimObjectFacadeInterface
DtAppearance myAppearance
 
const
makVrf::DtSimulatedObjectStateComponent
mySimulatedObjectStateComponent
 
tbb::spin_rw_mutex mySimObjectStateComponentMutex
 
- Protected Attributes inherited from DtMovementSimObjectFacadeInterface
const
makVrf::DtEntityLocationStateComponent
myEntityLocationStateComponent
 
tbb::spin_rw_mutex myEntityLocationStateComponentMutex
 

Constructor & Destructor Documentation

DtMissileSimObjectFacadeInterface::DtMissileSimObjectFacadeInterface ( )

CTOR.

virtual DtMissileSimObjectFacadeInterface::~DtMissileSimObjectFacadeInterface ( )
virtual

DTOR.

Member Function Documentation

bool DtMissileSimObjectFacadeInterface::isUsable ( ) const
virtual

Returns true if all the subclasses are usable and this objects parameters are of type DtGroundVehicleParameters.

Reimplemented from DtPlatformSimObjectFacadeInterface.

Reimplemented in DtLocalObjectFacade< DtMissileSimObjectFacadeInterface, DtMissileLocalObjectFacadeInterface >.

const DtUUID& DtMissileSimObjectFacadeInterface::attacker ( ) const
const DtUUID& DtMissileSimObjectFacadeInterface::target ( ) const
bool DtMissileSimObjectFacadeInterface::fireAndForget ( ) const
DtVector DtMissileSimObjectFacadeInterface::targetLocation ( ) const

If target is valid then use the target's geocentric location, else use the location in the target location as a geocentric point. This is all only valid for VR-Forces missiles.

double DtMissileSimObjectFacadeInterface::distanceSquaredToTarget ( DtVector vectorToTargetReturn = nullptr) const

Returns the distance from this object (current frame) to the target, squared.

DtString DtMissileSimObjectFacadeInterface::eventId ( ) const

The event id associated with this missile launch.

bool DtMissileSimObjectFacadeInterface::passedTarget ( ) const

Returns true if this missile has passed the target. Will call to decorator.

virtual DtSimObjectReference DtMissileSimObjectFacadeInterface::simObject ( ) const
protectedpure virtual

Implemented by subclasses to return the sim object this class represents.

Implements DtPlatformSimObjectFacadeInterface.

Implemented in DtSimObjectFacade< DtMissileSimObjectFacadeInterface >.

virtual void DtMissileSimObjectFacadeInterface::setupDecorator ( )
overrideprotectedvirtual
void DtMissileSimObjectFacadeInterface::targetAttackerChanged ( )
protected
void DtMissileSimObjectFacadeInterface::decoratorDeleted ( )
protected

Member Data Documentation

DtVrfSimulatedSimObjectFacade DtMissileSimObjectFacadeInterface::myVrfSimulatedSimObjectFacade
protected
DtMissileSimObjectDecorator* DtMissileSimObjectFacadeInterface::myMunitionSimObjectDecorator
protected
DtUUID DtMissileSimObjectFacadeInterface::myTarget
protected

Cached only when decorator is deleted.

DtUUID DtMissileSimObjectFacadeInterface::myAttacker
protected
boost::signals2::scoped_connection DtMissileSimObjectFacadeInterface::myTargetAttackerChangedConnection
protected
boost::signals2::scoped_connection DtMissileSimObjectFacadeInterface::myDecoratorDeletedConnection
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)