VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtLauncherActuatorDescriptor Class Reference

Contains class declaration for DtLauncherActuatorDescriptor, descriptor for the DtLauncherActuator component. More...

Inheritance diagram for DtLauncherActuatorDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtLauncherActuatorDescriptor (const DtString &name, DtReaderWriterRegistry *parentRegistry=0)
 constructor00
 DtLauncherActuatorDescriptor (const DtLauncherActuatorDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
DtLauncherActuatorDescriptoroperator= (const DtLauncherActuatorDescriptor &orig)
 assignment
virtual ~DtLauncherActuatorDescriptor ()
 destructor
virtual DtString type () const
 Returns the type of component this descriptor describes.
virtual DtComponentDescriptorclone (DtReaderWriterRegistry *parentRegistry=0) const
virtual void setAzimuthRange (DtReal azimuthRange)
 Accessor/mutator for myAzimuthRange.
virtual DtReal azimuthRange () const
 Accessor/mutator for myAzimuthRange.
virtual void setElevationRange (DtReal elevationRange)
 Accessor/mutator for myElevationRange.
virtual DtReal elevationRange () const
 Accessor/mutator for myElevationRange.
virtual const DtVectorlauncherMuzzleOffset () const
 Accessor/mutator for myLauncherMuzzleOffset.
virtual void setLauncherMuzzleOffset (const DtVector &muzzleOffset)
 Accessor/mutator for myLauncherMuzzleOffset.

Static Public Member Functions

static DtComponentDescriptorcreator ()
 

Protected Member Functions

 DtLauncherActuatorDescriptor ()
 default constructor; not implemented

Protected Attributes

parameters

These parameters are available for setting in the OPD files.

DtRwVector myLauncherMuzzleOffset
 Parameter Name: launcher-muzzle-offset
Parameter Description: Vector is added to the position of the launcher's attach point to determine the location specified in the fire PDU.
DtRwReal myAzimuthRange
 Parameter Name: azimuth-range
Parameter Description: Azimuth sweep of the launcher.
DtRwReal myElevationRange
 Parameter Name: elevation-range
Parameter Description: Elevation sweep of the launcher.

Detailed Description

Contains class declaration for DtLauncherActuatorDescriptor, descriptor for the DtLauncherActuator component.

DtLauncherActuatorDescriptor is a DtComponentDescriptor that has additional information needed for providing parameters to the launcher actuator model - launcher offset, launcher elevation and azimuth sweep.


Constructor & Destructor Documentation

constructor00

copy constructor

destructor

default constructor; not implemented


Member Function Documentation

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

assignment

virtual DtString DtLauncherActuatorDescriptor::type ( ) const [virtual]

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:
DtLauncherActuatorDescriptorType

Reimplemented from DtActuatorComponentDescriptor.

virtual DtComponentDescriptor* DtLauncherActuatorDescriptor::clone ( DtReaderWriterRegistry parentRegistry = 0) const [virtual]

Reimplemented from DtActuatorComponentDescriptor.

virtual void DtLauncherActuatorDescriptor::setAzimuthRange ( DtReal  azimuthRange) [virtual]

Accessor/mutator for myAzimuthRange.

virtual DtReal DtLauncherActuatorDescriptor::azimuthRange ( ) const [virtual]

Accessor/mutator for myAzimuthRange.

virtual void DtLauncherActuatorDescriptor::setElevationRange ( DtReal  elevationRange) [virtual]

Accessor/mutator for myElevationRange.

virtual DtReal DtLauncherActuatorDescriptor::elevationRange ( ) const [virtual]

Accessor/mutator for myElevationRange.

Accessor/mutator for myLauncherMuzzleOffset.

virtual void DtLauncherActuatorDescriptor::setLauncherMuzzleOffset ( const DtVector muzzleOffset) [virtual]

Accessor/mutator for myLauncherMuzzleOffset.

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 DtActuatorComponentDescriptor.


Member Data Documentation

Parameter Name: launcher-muzzle-offset
Parameter Description: Vector is added to the position of the launcher's attach point to determine the location specified in the fire PDU.


Parameter Default Value: (0. 0. 0.)
Parameter Units: meters

Parameter Name: azimuth-range
Parameter Description: Azimuth sweep of the launcher.

The value is used as an angle centered at the launcher center.
Parameter Default Value: 0.
Parameter Units: radians

Parameter Name: elevation-range
Parameter Description: Elevation sweep of the launcher.

The value is used as an angle centered at the launcher center.
Parameter Default Value: 0.
Parameter Units: radians


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)