VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtVreLaserGuidedLauncherController Class Reference

Detailed Description

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>

Inheritance diagram for makVre::DtVreLaserGuidedLauncherController:
[legend]

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)
 
DtVreLaserGuidedLauncherControlleroperator= (const DtVreLaserGuidedLauncherController &orig)
 

Constructor & Destructor Documentation

◆ DtVreLaserGuidedLauncherController() [1/3]

makVre::DtVreLaserGuidedLauncherController::DtVreLaserGuidedLauncherController ( )
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=().

◆ DtVreLaserGuidedLauncherController() [2/3]

makVre::DtVreLaserGuidedLauncherController::DtVreLaserGuidedLauncherController ( const DtVreLaserGuidedLauncherController & orig)
private

Copy constructor (not implemented)

Copy constructor is private and not implemented to prevent copy construction.

References DtVreLaserGuidedLauncherController().

◆ DtVreLaserGuidedLauncherController() [3/3]

makVre::DtVreLaserGuidedLauncherController::DtVreLaserGuidedLauncherController ( const DtString & name,
DtLocalObject * owner,
DtSimulationServices * simManager,
DtComponentDescriptor * compDesc = 0,
DtReaderWriterRegistry * parentRegistry = 0 )

Constructor.

Parameters
nameThe name of this component
ownerThe local object that owns this component
simManagerThe simulation services manager
compDescComponent descriptor with configuration parameters
parentRegistryOptional parent registry for reader/writer functionality

Creates a new laser guided launcher controller with the specified parameters.

◆ ~DtVreLaserGuidedLauncherController()

virtual makVre::DtVreLaserGuidedLauncherController::~DtVreLaserGuidedLauncherController ( )
overridevirtual

Virtual destructor.

Cleans up resources used by the laser guided launcher controller.

Member Function Documentation

◆ operator=()

DtVreLaserGuidedLauncherController & makVre::DtVreLaserGuidedLauncherController::operator= ( const DtVreLaserGuidedLauncherController & orig)
private

Assignment operator (not implemented)

Returns
Reference to this object

Assignment operator is private and not implemented to prevent assignment.

References DtVreLaserGuidedLauncherController().

◆ 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
nameThe name for the new component
ownerThe local object that will own this component
simManagerThe simulation services manager
descOptional component descriptor
parentRegistryOptional 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.


The documentation for this class was generated from the following file: