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

DtCruiseMissileLaunchControllerDescriptor; descriptor for the DtCruiseMissileLaunchController component. More...

Inheritance diagram for DtCruiseMissileLaunchControllerDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtCruiseMissileLaunchControllerDescriptor (const DtString &name, DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtCruiseMissileLaunchControllerDescriptor (const DtCruiseMissileLaunchControllerDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
DtCruiseMissileLaunchControllerDescriptoroperator= (const DtCruiseMissileLaunchControllerDescriptor &orig)
 assignment
virtual ~DtCruiseMissileLaunchControllerDescriptor ()
 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 DtTaitBryan launchOrientation () const
 Accessor/mutator for myLaunchOrientation.
virtual void setLaunchOrientation (const DtTaitBryan &orient)
 Accessor/mutator for myLaunchOrientation.
virtual DtReal minTimeBetweenLaunch () const
 Accessor/mutator for myMinTimeBetweenLaunch.
virtual void setMinTimeBetweenLaunch (DtReal time)
 Accessor/mutator for myMinTimeBetweenLaunch.
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 orgin of launch vehicle where the missile will be created.
DtRwTaitBryan myLaunchOrientation
 Parameter Name: launch-orientation
Parameter Description: //! Initial orientation (relative to the launching entity) for a newly created cruise missile.
DtRwReal myMinTimeBetweenLaunch
 Parameter Name: min-time-between-launch
Parameter Description: Minumum time between cruise missile launches.
DtRwString myRangeName
 Name given to any range item associated with this descriptor.

Private Member Functions

 DtCruiseMissileLaunchControllerDescriptor ()
 default constructor -- not implemented.

Detailed Description

DtCruiseMissileLaunchControllerDescriptor; descriptor for the DtCruiseMissileLaunchController component.

Parameters for the DtCruiseMissileLaunchController. 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

DtCruiseMissileLaunchControllerDescriptor& DtCruiseMissileLaunchControllerDescriptor::operator= ( const DtCruiseMissileLaunchControllerDescriptor 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:
DtCruiseMissileLaunchControllerDescriptorType

Reimplemented from DtComponentDescriptor.

Accessor/mutator for myMunitionType.

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

Accessor/mutator for myMunitionType.

Accessor/mutator for myMunitionName.

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

Accessor/mutator for myMunitionName.

Accessor/mutator for myLaunchOffset.

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

Accessor/mutator for myLaunchOffset.

virtual DtTaitBryan DtCruiseMissileLaunchControllerDescriptor::launchOrientation ( ) const [virtual]

Accessor/mutator for myLaunchOrientation.

virtual void DtCruiseMissileLaunchControllerDescriptor::setLaunchOrientation ( const DtTaitBryan &  orient) [virtual]

Accessor/mutator for myLaunchOrientation.

Accessor/mutator for myMinTimeBetweenLaunch.

Accessor/mutator for myMinTimeBetweenLaunch.

Accessor/mutator for myRangeName.

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

Accessor/mutator for myRangeName.

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.


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 orgin of launch vehicle where the missile will be created.

Parameter Description: Offset from orgin 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: launch-orientation
Parameter Description: //! Initial orientation (relative to the launching entity) for a newly created cruise missile.


Parameter Default Value: (0 0 0) (heading, pitch, roll)
Parameter Units: radians

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


Parameter Default Value: 0.0
Parameter Units: seconds

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)