VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Private Member Functions
DtMissileDistractionControllerDescriptor Class Reference

DtMissileDistractionControllerDescriptor; descriptor for the DtMissileDistractionController component. More...

Inheritance diagram for DtMissileDistractionControllerDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtMissileDistractionControllerDescriptor (const DtString &name, DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtMissileDistractionControllerDescriptor (const DtMissileDistractionControllerDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
DtMissileDistractionControllerDescriptoroperator= (const DtMissileDistractionControllerDescriptor &orig)
 assignment
virtual ~DtMissileDistractionControllerDescriptor ()
 destructor
virtual DtString type () const
 Returns the type of component this descriptor describes.
virtual
DtCounterMeasureDistractionEntry
lookUpCounterMeasureType (const DtObjectType &type) const
 This will look for an exact match not closest because missiles are very sensitive to particular types of counter measures.
virtual DtComponentDescriptorclone (DtReaderWriterRegistry *parentRegistry=0) const
virtual void getSelf (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings)
virtual void setCounterMeasureTypes (const DtCounterMeasureDistractionList &objectTypes)
 Accessor/mutator for # myCounterMeasureTypes.
virtual
DtCounterMeasureDistractionList & 
counterMeasureTypes ()
 Accessor/mutator for # myCounterMeasureTypes.
virtual const
DtCounterMeasureDistractionList & 
counterMeasureTypes () const
 Accessor/mutator for # myCounterMeasureTypes.
virtual
DtRwSpatialFilterContainer
targetConeGeometry ()
 Accessor for myTargetConeGeometry.
virtual const
DtRwSpatialFilterContainer
targetConeGeometry () const
 Accessor for myTargetConeGeometry.

Static Public Member Functions

static DtComponentDescriptorcreator ()
 

Protected Attributes

parameters

These parameters are available for setting in the OPD files.

DtCounterMeasureDistractionList myCounterMeasureTypes
 Parameter Name: countermeasures-types
Parameter Description: Types of countermeasure objects that could affect this entity.
DtRwSpatialFilterContainer myTargetConeGeometry
 Parameter Name: target-cone-geometry
Parameter Description: Geometry of the missile's targeting cone within which a counter measure could possibly distract the missile.

Private Member Functions

 DtMissileDistractionControllerDescriptor ()
 default constructor; not implemented

Detailed Description

DtMissileDistractionControllerDescriptor; descriptor for the DtMissileDistractionController component.

DtComponentDescriptor for the DtObjectSensor component. Includes types of objects to detect, geometry of covered area, force type of objects to detect, and whether to detect destroyed objects.


Constructor & Destructor Documentation

default constructor; not implemented

constructor

copy constructor

destructor


Member Function Documentation

DtMissileDistractionControllerDescriptor& DtMissileDistractionControllerDescriptor::operator= ( const DtMissileDistractionControllerDescriptor orig)

assignment

Returns the type of component this descriptor describes.

Used to create the descriptor on read from an mtl file. Component descriptor type strings are defined in compDescTypes.h.

Returns:
DtMissileDistractionControllerDescriptorType

Reimplemented from DtComponentDescriptor.

virtual void DtMissileDistractionControllerDescriptor::setCounterMeasureTypes ( const DtCounterMeasureDistractionList &  objectTypes) [virtual]

Accessor/mutator for # myCounterMeasureTypes.

virtual DtCounterMeasureDistractionList& DtMissileDistractionControllerDescriptor::counterMeasureTypes ( ) [virtual]

Accessor/mutator for # myCounterMeasureTypes.

virtual const DtCounterMeasureDistractionList& DtMissileDistractionControllerDescriptor::counterMeasureTypes ( ) const [virtual]

Accessor/mutator for # myCounterMeasureTypes.

This will look for an exact match not closest because missiles are very sensitive to particular types of counter measures.

For example, a newer missile will not be distracted by an older type of flare but might be for a newer type of flare. same for chaff or other countermeasures

Accessor for myTargetConeGeometry.

Accessor for myTargetConeGeometry.

Reimplemented from DtComponentDescriptor.

Returns:
Newly created instance of this class, with an empty DtReaderWriter name. Creation methods are registered with a DtComponentDescriptorFactory, so they can be created on demand as they are read in from a parameter database file.

Reimplemented from DtComponentDescriptor.

virtual void DtMissileDistractionControllerDescriptor::getSelf ( DtlObjPtr  args,
const DtFilename &  searchPath,
const DtVariableBindingsList variableBindings 
) [virtual]

Member Data Documentation

DtCounterMeasureDistractionList DtMissileDistractionControllerDescriptor::myCounterMeasureTypes [protected]

Parameter Name: countermeasures-types
Parameter Description: Types of countermeasure objects that could affect this entity.

Entries include the entity type of the counter measure, minimum signature at which it can be detected by the missile, and probability that this counter measure will distract the missile.
Parameter Default Value:

Parameter Name: target-cone-geometry
Parameter Description: Geometry of the missile's targeting cone within which a counter measure could possibly distract the missile.

Can be simple such as range or more complicated like a sensor frustum. Spatial filters can be combined with logical and/or/not operators as well.
Example 1: Every entity within 4000 meters of this sensor.
(in-range
(range 4000.000000)
)
Example 2: Every entity within 4000 meters of this sensor, and within the defined frustum of the look-direction of the sensor.
(and
(in-range
(range 4000.000000)
)
(in-frustum
(az-max 1.0472)
(az-min -1.0472)
(el-max 1.5708)
(el-min -1.5708)
)
)
Custom geometry filters can be created though the toolkit.
See documentation for DtRwSpatialFilter for more information.
Parameter Default Value:


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)