VR-Engage  2.2
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 DtTopAndDirectLauncherPSRoperator= (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
 

Static Public Member Functions

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

Protected Member Functions

 DtTopAndDirectLauncherPSR ()
 

Protected Attributes

DtRwString myMissileFlightMode
 

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.

◆ 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.


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