|
VR-Engage
2.2
|
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>
Public Member Functions | |
| DtVreLaserGuidedLauncherController (const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *compDesc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| virtual | ~DtVreLaserGuidedLauncherController () override |
| virtual const char * | type () const override |
Public Member Functions inherited from makVre::DtVreSimComponent< DtIntegratedLaserGuidedLauncherController > | |
| DtVreSimComponent (const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| virtual | ~DtVreSimComponent () |
| bool | isPlayerControlled (const std::string &role="") const |
| DtString | entitySystemName () const |
Static Public Member Functions | |
| static DtSimComponent * | creator (const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) |
Private Member Functions | |
| DtVreLaserGuidedLauncherController () | |
| DtVreLaserGuidedLauncherController (const DtVreLaserGuidedLauncherController &orig) | |
| DtVreLaserGuidedLauncherController & | operator= (const DtVreLaserGuidedLauncherController &orig) |
|
private |
Default constructor (not implemented)
Default constructor is private and not implemented to prevent creation of instances without proper initialization.
Referenced by DtVreLaserGuidedLauncherController(), and operator=().
|
private |
Copy constructor (not implemented)
Copy constructor is private and not implemented to prevent copy construction.
References DtVreLaserGuidedLauncherController().
| makVre::DtVreLaserGuidedLauncherController::DtVreLaserGuidedLauncherController | ( | const DtString & | name, |
| DtLocalObject * | owner, | ||
| DtSimulationServices * | simManager, | ||
| DtComponentDescriptor * | compDesc = 0, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 ) |
Constructor.
| 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.
|
overridevirtual |
Virtual destructor.
Cleans up resources used by the laser guided launcher controller.
|
private |
Assignment operator (not implemented)
Assignment operator is private and not implemented to prevent assignment.
References DtVreLaserGuidedLauncherController().
|
overridevirtual |
Gets the type identifier for this component.
Implements the DtSimComponent::type() method to return the type identifier for this component.
|
static |
Factory method to create a new instance of this component.
| 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 |
Static factory method used by the component creation system to instantiate new instances of this component type.