![]() |
VR-Forces 4.0.4 Class Documentation
|
File: lasingCtlrDesc.h. More...

Public Member Functions | |
| DtLasingControllerDescriptor (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) | |
| real constructor | |
| DtLasingControllerDescriptor (const DtLasingControllerDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| DtLasingControllerDescriptor & | operator= (const DtLasingControllerDescriptor &orig) |
| assignment | |
| virtual | ~DtLasingControllerDescriptor () |
| virtual DtString | type () const |
| Returns the type of descriptor. | |
| virtual DtComponentDescriptor * | clone (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 DtTargetSelectionCriteria & | targetSelectionCriteria () |
| Accessor/mutator for myTargetSelectionCriteria. | |
| virtual const DtTargetSelectionCriteria & | targetSelectionCriteria () const |
| Accessor/mutator for myTargetSelectionCriteria. | |
Static Public Member Functions | |
| static DtComponentDescriptor * | creator () |
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. | |
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.
| DtLasingControllerDescriptor::DtLasingControllerDescriptor | ( | ) | [protected] |
default constructor, not implemented
| DtLasingControllerDescriptor::DtLasingControllerDescriptor | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
real constructor
| DtLasingControllerDescriptor::DtLasingControllerDescriptor | ( | const DtLasingControllerDescriptor & | orig, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtLasingControllerDescriptor::~DtLasingControllerDescriptor | ( | ) | [virtual] |
| 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] |
| virtual bool DtLasingControllerDescriptor::integratedWithLauncher | ( | ) | const [virtual] |
| virtual DtTargetSelectionCriteria& DtLasingControllerDescriptor::targetSelectionCriteria | ( | ) | [virtual] |
Accessor/mutator for myTargetSelectionCriteria.
| virtual const DtTargetSelectionCriteria& DtLasingControllerDescriptor::targetSelectionCriteria | ( | ) | const [virtual] |
Accessor/mutator for myTargetSelectionCriteria.
| static DtComponentDescriptor* DtLasingControllerDescriptor::creator | ( | ) | [static] |
Reimplemented from DtComponentDescriptor.
DtRwReal DtLasingControllerDescriptor::myWaveLength [protected] |
DtRwReal DtLasingControllerDescriptor::myPower [protected] |
DtRwReal DtLasingControllerDescriptor::myRange [protected] |
DtRwVector DtLasingControllerDescriptor::myOffset [protected] |
DtReal DtLasingControllerDescriptor::myRangeSquared [protected] |
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: