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

Parameters for the DtLaserGuidedLauncherController. More...

Inheritance diagram for DtLaserGuidedLauncherControllerDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtLaserGuidedLauncherControllerDescriptor (const DtString &name, DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtLaserGuidedLauncherControllerDescriptor (const DtLaserGuidedLauncherControllerDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
DtLaserGuidedLauncherControllerDescriptoroperator= (const DtLaserGuidedLauncherControllerDescriptor &orig)
 assignment
virtual ~DtLaserGuidedLauncherControllerDescriptor ()
 destructor
virtual DtString type () const
 Returns the type of component this descriptor describes.
virtual DtComponentDescriptorclone (DtReaderWriterRegistry *parentRegistry=0) const
virtual DtObjectType munitionType () const
 Accessor/mutator for myMunitionType.
virtual void setMunitionType (const DtObjectType &objType)
 Accessor/mutator for myMunitionType.
virtual DtString munitionName () const
 Accessor/mutator for myMunitionName.
virtual void setMunitionName (const DtString &name)
 Accessor/mutator for myMunitionName.
virtual DtVector launchOffset () const
 Accessor/mutator for myLaunchOffset.
virtual void setLaunchOffset (const DtVector &offset)
 Accessor/mutator for myLaunchOffset.
virtual DtReal minTimeBetweenLaunch () const
 Accessor/mutator for myMinTimeBetweenLaunch.
virtual void setMinTimeBetweenLaunch (DtReal time)
 Accessor/mutator for myMinTimeBetweenLaunch.
virtual DtReal maxAngleOffBoresight () const
 Accessor/mutator for myMaxAngleOffBoresight.
virtual void setMaxAngleOffBoresight (DtReal angle)
 Accessor/mutator for myMaxAngleOffBoresight.
virtual int designatorCode () const
virtual void setDesignatorCode (int value)
virtual const DtStringrangeName () const
 Accessor/mutator for myRangeName.
virtual void setRangeName (const DtString &rangeName)
 Accessor/mutator for myRangeName.

Static Public Member Functions

static DtComponentDescriptorcreator ()
 

Protected Attributes

parameters

These parameters are available for setting in the OPD files.

DtRwObjectType myMunitionType
 Parameter Name: munition-type
Parameter Description: Object type used to create the missile when it is fired.
DtRwString myMunitionName
 Parameter Name: munition-name
Parameter Description: Name of munition used to check for quantity in the entity's resource list.
DtRwVector myLaunchOffset
 Parameter Name: launch-offset
Offset from origin of launch vehicle where the missile will be created.
DtRwReal myMinTimeBetweenLaunch
 Parameter Name: min-time-between-launch
Parameter Description: Minimum time between cruise missile launches.
DtRwReal myMaxAngleOffBoresight
 Parameter Name: max-angle-off-boresight
Parameter Description: The maximum angle between the launcher orientation and the angle to the target where the launcher will still fire the missile.
DtRwInt myDesignatorCode
 Parameter Name: designator-code
Parameter Description: The default laser designator code that will be used by this launcher.
DtRwString myRangeName
 Name given to any range item associated with this descriptor.

Private Member Functions

 DtLaserGuidedLauncherControllerDescriptor ()
 default constructor -- not implemented.

Detailed Description

Parameters for the DtLaserGuidedLauncherController.

Determines what type of cruise missile munition will be used, and how it will be launched.


Constructor & Destructor Documentation

constructor

copy constructor

destructor

default constructor -- not implemented.


Member Function Documentation

DtLaserGuidedLauncherControllerDescriptor& DtLaserGuidedLauncherControllerDescriptor::operator= ( const DtLaserGuidedLauncherControllerDescriptor 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:
DtLaserGuidedLauncherControllerDescriptorType

Reimplemented from DtComponentDescriptor.

Reimplemented in DtIntegratedLaserGuidedLauncherDescriptor.

Accessor/mutator for myMunitionType.

virtual void DtLaserGuidedLauncherControllerDescriptor::setMunitionType ( const DtObjectType objType) [virtual]

Accessor/mutator for myMunitionType.

Accessor/mutator for myMunitionName.

virtual void DtLaserGuidedLauncherControllerDescriptor::setMunitionName ( const DtString name) [virtual]

Accessor/mutator for myMunitionName.

Accessor/mutator for myLaunchOffset.

virtual void DtLaserGuidedLauncherControllerDescriptor::setLaunchOffset ( const DtVector offset) [virtual]

Accessor/mutator for myLaunchOffset.

Accessor/mutator for myMinTimeBetweenLaunch.

Accessor/mutator for myMinTimeBetweenLaunch.

Accessor/mutator for myMaxAngleOffBoresight.

Accessor/mutator for myMaxAngleOffBoresight.

See also:
myDesignatorCode
virtual void DtLaserGuidedLauncherControllerDescriptor::setDesignatorCode ( int  value) [virtual]
See also:
myDesignatorCode

Accessor/mutator for myRangeName.

virtual void DtLaserGuidedLauncherControllerDescriptor::setRangeName ( const DtString rangeName) [virtual]

Accessor/mutator for myRangeName.

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.

Reimplemented in DtIntegratedLaserGuidedLauncherDescriptor.


Member Data Documentation

Parameter Name: munition-type
Parameter Description: Object type used to create the missile when it is fired.


Parameter Default Value: (0 0 0 0 0 0 0)

Parameter Name: munition-name
Parameter Description: Name of munition used to check for quantity in the entity's resource list.

This is the name that will be looked up in the entitiy's resources and decremented.
Parameter Default Value: ""

Parameter Name: launch-offset
Offset from origin of launch vehicle where the missile will be created.

Parameter Description: Offset from origin of launch vehicle where the missile will be created, in body coordinates of the launch vehicle.
Parameter Default Value: (0.0 0.0 0.0) (x, y, z)
Parameter Units: meters

Parameter Name: min-time-between-launch
Parameter Description: Minimum time between cruise missile launches.


Parameter Default Value: 0.0
Parameter Units: seconds

Parameter Name: max-angle-off-boresight
Parameter Description: The maximum angle between the launcher orientation and the angle to the target where the launcher will still fire the missile.


Parameter Default Value: 0.35 (20 degrees)
Parameter Units: radians

Parameter Name: designator-code
Parameter Description: The default laser designator code that will be used by this launcher.

The launcher will only be able to fire on targets designated by a laser with this code. It can be changed at runtime. If -1 is specified, each entity will be assigned a pseudo-random laser code at creation.
Parameter Default Value: -1

Name given to any range item associated with this descriptor.

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)