DtVreLaserGuidedLauncherController extends the base integrated laser guided launcher with support for "lock on after launch" mode. This controller is specifically designed to be used with the VRE_Fire_Missile lua task and supports advanced laser-guided weapon functionality such as post-launch target designation and acquisition.
#include <vreLaserGuidedLauncherController.h>
|
| static DtSimComponent * | creator (const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) |
| |
◆ DtVreLaserGuidedLauncherController() [1/3]
| makVre::DtVreLaserGuidedLauncherController::DtVreLaserGuidedLauncherController |
( |
const DtString & | name, |
|
|
DtLocalObject * | owner, |
|
|
DtSimulationServices * | simManager, |
|
|
DtComponentDescriptor * | compDesc = 0, |
|
|
DtReaderWriterRegistry * | parentRegistry = 0 ) |
Constructor.
- Parameters
-
| name | The name of this component |
| owner | The local object that owns this component |
| simManager | The simulation services manager |
| compDesc | Component descriptor with configuration parameters |
| parentRegistry | Optional parent registry for reader/writer functionality |
Creates a new laser guided launcher controller with the specified parameters.
Referenced by DtVreLaserGuidedLauncherController(), and operator=().
◆ ~DtVreLaserGuidedLauncherController()
| virtual makVre::DtVreLaserGuidedLauncherController::~DtVreLaserGuidedLauncherController |
( |
| ) |
|
|
overridevirtual |
Virtual destructor.
Cleans up resources used by the laser guided launcher controller.
◆ DtVreLaserGuidedLauncherController() [2/3]
| makVre::DtVreLaserGuidedLauncherController::DtVreLaserGuidedLauncherController |
( |
| ) |
|
|
delete |
Default constructor (not implemented)
◆ DtVreLaserGuidedLauncherController() [3/3]
◆ type()
| virtual const char * makVre::DtVreLaserGuidedLauncherController::type |
( |
| ) |
const |
|
overridevirtual |
Gets the type identifier for this component.
- Returns
- String identifying the component type (DtVreLaserGuidedLauncherControllerType)
Implements the DtSimComponent::type() method to return the type identifier for this component.
◆ creator()
| static DtSimComponent * makVre::DtVreLaserGuidedLauncherController::creator |
( |
const DtString & | name, |
|
|
DtLocalObject * | owner, |
|
|
DtSimulationServices * | simManager, |
|
|
DtComponentDescriptor * | desc = 0, |
|
|
DtReaderWriterRegistry * | parentRegistry = 0 ) |
|
static |
Factory method to create a new instance of this component.
- Parameters
-
| name | The name for the new component |
| owner | The local object that will own this component |
| simManager | The simulation services manager |
| desc | Optional component descriptor |
| parentRegistry | Optional parent registry for reader/writer functionality |
- Returns
- Pointer to the newly created component
Static factory method used by the component creation system to instantiate new instances of this component type.
◆ operator=()
◆ processFireLaserGuidedMissileTask()
| virtual void makVre::DtVreLaserGuidedLauncherController::processFireLaserGuidedMissileTask |
( |
DtSimMessage * | msg | ) |
|
|
overrideprotectedvirtual |
Synchronizes this launcher's laser code from the tracked designator before firing.
The fire-laser-guided-missile task identifies the launcher but does not carry a laser code. When a gimbaled sensor is tracking a designator, use its existing trackingCode state property to configure only this selected launcher before the base task handler starts firing.
- Parameters
-
| msg | The received fire-laser-guided-missile task message. |
The documentation for this class was generated from the following file: