VR-Engage  2.3
Loading...
Searching...
No Matches
makVre::DtTopAndDirectLauncherPSR Class Reference

#include <topAndDirectLauncherPSR.h>

Inheritance diagram for makVre::DtTopAndDirectLauncherPSR:
[legend]

Public Member Functions

 DtTopAndDirectLauncherPSR (DtLocalObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 
 DtTopAndDirectLauncherPSR (const DtTopAndDirectLauncherPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 
const DtTopAndDirectLauncherPSR & operator= (const DtTopAndDirectLauncherPSR &orig)
 
virtual ~DtTopAndDirectLauncherPSR () override
 
virtual DtVrfProcessStateRepository * clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const override
 
virtual DtString type () const override
 
virtual void setMissileFlightMode (const DtString &mode)
 
virtual DtString missileFlightMode () const
 
virtual void setLauncherTargetMode (const DtString &mode)
 
virtual DtString launcherTargetMode () const
 
virtual void setLauncherFireAndForget (bool fireAndForget)
 
virtual bool launcherFireAndForget () const
 

Static Public Member Functions

static DtVrfProcessStateRepository * creator (const DtString &name, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
 

Protected Member Functions

 DtTopAndDirectLauncherPSR ()
 

Protected Attributes

DtRwString myMissileFlightMode
 
DtRwString myLauncherTargetMode
 
DtRwBoolean myLauncherFireAndForget
 

Constructor & Destructor Documentation

◆ DtTopAndDirectLauncherPSR() [1/3]

makVre::DtTopAndDirectLauncherPSR::DtTopAndDirectLauncherPSR ( )
protected

Default constructor (not implemented)

Default constructor is protected and not implemented to prevent creation of instances without proper initialization.

Referenced by DtTopAndDirectLauncherPSR(), and operator=().

◆ DtTopAndDirectLauncherPSR() [2/3]

makVre::DtTopAndDirectLauncherPSR::DtTopAndDirectLauncherPSR ( DtLocalObject * vrfObject,
const DtString & rwName = DtString::nullString(),
DtReaderWriterRegistry * parentRegistry = 0 )

Constructor with VRF object and optional name.

Parameters
vrfObjectPointer to the local object this PSR is associated with
rwNameOptional reader/writer name
parentRegistryOptional parent registry for reader/writer functionality

Creates a new Javelin launcher PSR for the specified VRF object.

◆ DtTopAndDirectLauncherPSR() [3/3]

makVre::DtTopAndDirectLauncherPSR::DtTopAndDirectLauncherPSR ( const DtTopAndDirectLauncherPSR & orig,
const DtString & rwName = DtString::nullString(),
DtReaderWriterRegistry * parentRegistry = 0 )

◆ ~DtTopAndDirectLauncherPSR()

virtual makVre::DtTopAndDirectLauncherPSR::~DtTopAndDirectLauncherPSR ( )
overridevirtual

Member Function Documentation

◆ operator=()

const DtTopAndDirectLauncherPSR & makVre::DtTopAndDirectLauncherPSR::operator= ( const DtTopAndDirectLauncherPSR & orig)

◆ clone()

virtual DtVrfProcessStateRepository * makVre::DtTopAndDirectLauncherPSR::clone ( const DtString & rwName = DtString::nullString(),
DtReaderWriterRegistry * parentRegistry = 0 ) const
overridevirtual

Creates a clone of this PSR.

Parameters
rwNameOptional reader/writer name for the clone
parentRegistryOptional parent registry for reader/writer functionality
Returns
Pointer to a new PSR that is a clone of this one

Creates a new Javelin launcher PSR as a deep copy of this one.

◆ type()

virtual DtString makVre::DtTopAndDirectLauncherPSR::type ( ) const
overridevirtual

Returns the string type of the repository, DtTopAndDirectLauncherPSRType.

◆ setMissileFlightMode()

virtual void makVre::DtTopAndDirectLauncherPSR::setMissileFlightMode ( const DtString & mode)
virtual

◆ missileFlightMode()

virtual DtString makVre::DtTopAndDirectLauncherPSR::missileFlightMode ( ) const
virtual

Gets the missile flight mode.

Returns
String identifying the current flight mode ("top" or "direct")

Returns the current flight mode setting for Javelin missiles launched from this weapon.

◆ setLauncherTargetMode()

virtual void makVre::DtTopAndDirectLauncherPSR::setLauncherTargetMode ( const DtString & mode)
virtual

Sets the launcher target mode.

Parameters
modeString identifying the target mode

Sets the targeting mode for the launcher.

◆ launcherTargetMode()

virtual DtString makVre::DtTopAndDirectLauncherPSR::launcherTargetMode ( ) const
virtual

Gets the launcher target mode.

Returns
String identifying the current target mode

Returns the current target mode setting for the launcher.

◆ setLauncherFireAndForget()

virtual void makVre::DtTopAndDirectLauncherPSR::setLauncherFireAndForget ( bool fireAndForget)
virtual

Sets the launcher fire-and-forget capability.

Parameters
fireAndForgetBoolean indicating if launcher supports fire-and-forget mode

Sets whether the launcher operates in fire-and-forget mode.

◆ launcherFireAndForget()

virtual bool makVre::DtTopAndDirectLauncherPSR::launcherFireAndForget ( ) const
virtual

Gets the launcher fire-and-forget capability.

Returns
Boolean indicating if launcher supports fire-and-forget mode

Returns whether the launcher operates in fire-and-forget mode.

◆ creator()

static DtVrfProcessStateRepository * makVre::DtTopAndDirectLauncherPSR::creator ( const DtString & name,
DtLocalObject * vrfObject,
DtReaderWriterRegistry * parentRegistry )
static

Create an instance of a DtTopAndDirectLauncherPSR.

Member Data Documentation

◆ myMissileFlightMode

DtRwString makVre::DtTopAndDirectLauncherPSR::myMissileFlightMode
protected

The missile flight mode setting.

Stores the current flight mode for Javelin missiles launched from this weapon. Valid values are "top" for top attack mode and "direct" for direct attack mode.

◆ myLauncherTargetMode

DtRwString makVre::DtTopAndDirectLauncherPSR::myLauncherTargetMode
protected

The launcher target mode setting.

Stores the current target mode for the launcher.

◆ myLauncherFireAndForget

DtRwBoolean makVre::DtTopAndDirectLauncherPSR::myLauncherFireAndForget
protected

The launcher fire-and-forget capability.

Indicates whether the launcher operates in fire-and-forget mode.


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