VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtVrfTurretedBalGunPSR Class Reference

File: turBalGunPSR.h. More...

Inheritance diagram for DtVrfTurretedBalGunPSR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtVrfTurretedBalGunPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 DtVrfTurretedBalGunPSR (const DtVrfTurretedBalGunPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
const DtVrfTurretedBalGunPSRoperator= (const DtVrfTurretedBalGunPSR &orig)
virtual ~DtVrfTurretedBalGunPSR ()
virtual
DtVrfProcessStateRepository
clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
virtual double maxSlewRate () const
 Get the maximum rate at which this turret can slew.
virtual void setMaxSlewRate (double maxSlewRate)
 Set the maximum rate at which this turret can slew.
virtual DtArtPartType turretArtPart () const
 Get the art part number for the turret we're associated with.
virtual void setTurretArtPart (DtArtPartType turretArtPart)
 Set the art part number for the turret we're associated with.
virtual bool clockwise () const
 Are we currently scanning clockwise (or counterclockwise?)
virtual void setClockwise (bool clockwise)
virtual bool cannotAcquireTarget () const
 Set to true when there is no LOS to a target.
virtual void setCannotAcquireTarget (bool cannotAcquire)
virtual DtString type () const
 Returns the string type of the repository, as defined in procSRTypes.h.

Static Public Member Functions

static
DtVrfProcessStateRepository
creator (const DtString &name, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
 Create an instance of a DtVrfWeaponPSR.

Protected Member Functions

 DtVrfTurretedBalGunPSR ()

Protected Attributes

double myMaxSlewRate
 Maximum rate at which this turret can slew.
int myTurretArtPart
 The art part number for the turret we're associated with.
DtRwBoolean myClockwiseFlag
 Are we currently scanning clockwise (or counterclockwise?)
DtRwBoolean myCannotAcquireTarget

Detailed Description

File: turBalGunPSR.h.

Class: DtVrfTurretedBalGunPSR Holds shared and/or checkpointable data needed for the processes of a combined turret/gun weapon system


Constructor & Destructor Documentation

DtVrfTurretedBalGunPSR::DtVrfTurretedBalGunPSR ( DtVrfObject vrfObject,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)
DtVrfTurretedBalGunPSR::DtVrfTurretedBalGunPSR ( const DtVrfTurretedBalGunPSR orig,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)

Member Function Documentation

const DtVrfTurretedBalGunPSR& DtVrfTurretedBalGunPSR::operator= ( const DtVrfTurretedBalGunPSR orig)
virtual DtVrfProcessStateRepository* DtVrfTurretedBalGunPSR::clone ( const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
) const [virtual]

Reimplemented from DtVrfBalGunPSR.

virtual double DtVrfTurretedBalGunPSR::maxSlewRate ( ) const [virtual]

Get the maximum rate at which this turret can slew.

virtual void DtVrfTurretedBalGunPSR::setMaxSlewRate ( double  maxSlewRate) [virtual]

Set the maximum rate at which this turret can slew.

virtual DtArtPartType DtVrfTurretedBalGunPSR::turretArtPart ( ) const [virtual]

Get the art part number for the turret we're associated with.

virtual void DtVrfTurretedBalGunPSR::setTurretArtPart ( DtArtPartType  turretArtPart) [virtual]

Set the art part number for the turret we're associated with.

virtual bool DtVrfTurretedBalGunPSR::clockwise ( ) const [virtual]

Are we currently scanning clockwise (or counterclockwise?)

virtual void DtVrfTurretedBalGunPSR::setClockwise ( bool  clockwise) [virtual]

Set to true when there is no LOS to a target.

virtual void DtVrfTurretedBalGunPSR::setCannotAcquireTarget ( bool  cannotAcquire) [virtual]
virtual DtString DtVrfTurretedBalGunPSR::type ( ) const [virtual]

Returns the string type of the repository, as defined in procSRTypes.h.

Reimplemented from DtVrfBalGunPSR.

static DtVrfProcessStateRepository* DtVrfTurretedBalGunPSR::creator ( const DtString name,
DtVrfObject vrfObject,
DtReaderWriterRegistry parentRegistry 
) [static]

Create an instance of a DtVrfWeaponPSR.

Reimplemented from DtVrfBalGunPSR.


Member Data Documentation

Maximum rate at which this turret can slew.

Note:
This value is not saved to the OOB file. It is reset at runtime by the .ope file when the scenario is loaded.

The art part number for the turret we're associated with.

Note:
This value is not saved to the OOB file. It is reset at runtime by the actuator when the scenario is loaded.

Are we currently scanning clockwise (or counterclockwise?)


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)