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

File: lasingCtlrDesc.h. More...

Inheritance diagram for DtLasingControllerDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtLasingControllerDescriptor (const DtString &name, DtReaderWriterRegistry *parentRegistry=0)
 real constructor
 DtLasingControllerDescriptor (const DtLasingControllerDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
DtLasingControllerDescriptoroperator= (const DtLasingControllerDescriptor &orig)
 assignment
virtual ~DtLasingControllerDescriptor ()
virtual DtString type () const
 Returns the type of descriptor.
virtual DtComponentDescriptorclone (DtReaderWriterRegistry *parentRegistry=0) const
 Returns a clone of the descriptor.
virtual void setWaveLength (DtReal wave)
 The wavelength of the lasing equipment.
virtual DtReal waveLength () const
virtual void setPower (DtReal pow)
 Power of lasing equipment.
virtual DtReal power () const
virtual void setDesignatorCode (int code)
 Default designator code used to identify target to lasing munitions.
virtual int designatorCode () const
virtual void setRange (DtReal range)
 Range of the laser device.
virtual DtReal range () const
virtual DtReal rangeSquared () const
 Helper function for range checks.
virtual void setAutonomous (bool autoLase)
 Whether or not it should wait for explicit tasks to lase targets or lase them automatically.
virtual bool autonomous () const
virtual void setOffset (DtVector off)
 Offset of the lasing device from the origin of the object.
virtual DtVector offset () const
virtual void setIntegratedWithLauncher (bool isIntegrated)
virtual bool integratedWithLauncher () const
virtual DtTargetSelectionCriteriatargetSelectionCriteria ()
 Accessor/mutator for myTargetSelectionCriteria.
virtual const
DtTargetSelectionCriteria
targetSelectionCriteria () const
 Accessor/mutator for myTargetSelectionCriteria.

Static Public Member Functions

static DtComponentDescriptorcreator ()

Protected Member Functions

 DtLasingControllerDescriptor ()
 default constructor, not implemented

Protected Attributes

DtRwReal myWaveLength
DtRwReal myPower
DtRwInt myDesignatorCode
DtRwReal myRange
DtRwBoolean myAutonomous
DtRwVector myOffset
DtReal myRangeSquared
DtRwBoolean myIntegratedWithLauncher
DtTargetSelectionCriteria myTargetSelectionCriteria
 Parameter Name: targeting-control
Parameter Description: List of DtTargetSelectionCriteria objects, that hold target selection criteria for a given weapon system.

Detailed Description

File: lasingCtlrDesc.h.

Class: DtLasingControllerDescriptor A DtComponentDescriptor that has additional information needed for providing parameters to a laser controller. It contains wavelength, power, range, designator code, and autonomous lasing capability.


Constructor & Destructor Documentation

default constructor, not implemented

real constructor

copy constructor


Member Function Documentation

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

assignment

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

Returns the type of descriptor.

This will be used to create the descriptor on read from an mtl file.

Reimplemented from DtComponentDescriptor.

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

Returns a clone of the descriptor.

Reimplemented from DtComponentDescriptor.

virtual void DtLasingControllerDescriptor::setWaveLength ( DtReal  wave) [virtual]

The wavelength of the lasing equipment.

virtual DtReal DtLasingControllerDescriptor::waveLength ( ) const [virtual]
virtual void DtLasingControllerDescriptor::setPower ( DtReal  pow) [virtual]

Power of lasing equipment.

virtual DtReal DtLasingControllerDescriptor::power ( ) const [virtual]
virtual void DtLasingControllerDescriptor::setDesignatorCode ( int  code) [virtual]

Default designator code used to identify target to lasing munitions.

virtual int DtLasingControllerDescriptor::designatorCode ( ) const [virtual]
virtual void DtLasingControllerDescriptor::setRange ( DtReal  range) [virtual]

Range of the laser device.

virtual DtReal DtLasingControllerDescriptor::range ( ) const [virtual]
virtual DtReal DtLasingControllerDescriptor::rangeSquared ( ) const [virtual]

Helper function for range checks.

virtual void DtLasingControllerDescriptor::setAutonomous ( bool  autoLase) [virtual]

Whether or not it should wait for explicit tasks to lase targets or lase them automatically.

virtual bool DtLasingControllerDescriptor::autonomous ( ) const [virtual]
virtual void DtLasingControllerDescriptor::setOffset ( DtVector  off) [virtual]

Offset of the lasing device from the origin of the object.

virtual DtVector DtLasingControllerDescriptor::offset ( ) const [virtual]
virtual void DtLasingControllerDescriptor::setIntegratedWithLauncher ( bool  isIntegrated) [virtual]

Accessor/mutator for myTargetSelectionCriteria.

Accessor/mutator for myTargetSelectionCriteria.

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: targeting-control
Parameter Description: List of DtTargetSelectionCriteria objects, that hold target selection criteria for a given weapon system.


See DtTargetSelectionCriteria for more information on this item.
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)