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

class DtWarheadDetonationActuatorPSR: More...

Inheritance diagram for DtWarheadDetonationActuatorPSR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtWarheadDetonationActuatorPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtWarheadDetonationActuatorPSR (const DtWarheadDetonationActuatorPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 copy constructor - not implemented
virtual ~DtWarheadDetonationActuatorPSR ()
 destructor
DtWarheadDetonationActuatorPSRoperator= (const DtWarheadDetonationActuatorPSR &orig)
 assignment operator - not implemented
virtual
DtVrfProcessStateRepository
clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
 returns a newly created copy of this object
virtual DtString type () const
 Returns the string type of the repository, as defined in procSRTypes.h.
virtual DtWarheadType warhead () const
 Get the warhead type.
virtual void setWarhead (DtWarheadType wh)
 Set the warhead type.
virtual DtDetonatorFuze fuze () const
 Get the fuze type.
virtual void setFuze (DtDetonatorFuze fuze)
 Set the fuze type.
virtual DtString attackerName () const
 Get the attacker entity Name.
virtual void setAttackerName (const DtString &name)
 Set the attacker entity Name.
virtual DtString targetName () const
 Get the target name associated with the detonation proximity.
virtual void setTargetName (const DtString &target)
 Set the target name associated with the detonation proximity.
virtual DtReal detonationProximity () const
 Get the detonation proximity.
virtual void setDetonationProximity (DtReal proximity)
 Set the detonation proximity.
virtual void setDetonationTime (DtReal time)
 Set the detonation time.
virtual DtReal detonationTime () const
 Get the detonation time.
virtual void setArmed (bool arm)
 Set whether the munition is armed or not.
virtual bool armed () const
 Get whether we're armed or not.
virtual const DtSimMunitioncurrentMunition () const
virtual DtSimMunitioncurrentMunition ()
virtual void setCurrentMunition (const DtSimMunition &currentMunition)

Static Public Member Functions

static
DtVrfProcessStateRepository
creator (const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
 Returns a newly created instance of this class.

Protected Attributes

DtRwInt myFuze
DtSimMunition myCurrentMunition
DtRwBoolean myAmArmed
DtRwReal myDetonationTime
 For timed detonations.
DtRwString myAttackerName
 Stores the writable name of the attacker.
DtRwString myTargetName
DtRwReal myDetonationProximity
 For proximity detonation:

Detailed Description

class DtWarheadDetonationActuatorPSR:

Instances of DtWarheadDetonationActuatorPSR are used to hold runtime variables for the DtWarheadDetonationActuator for checkpointing.


Constructor & Destructor Documentation

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

constructor

DtWarheadDetonationActuatorPSR::DtWarheadDetonationActuatorPSR ( const DtWarheadDetonationActuatorPSR orig,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)

copy constructor - not implemented

destructor


Member Function Documentation

DtWarheadDetonationActuatorPSR& DtWarheadDetonationActuatorPSR::operator= ( const DtWarheadDetonationActuatorPSR orig)

assignment operator - not implemented

virtual DtVrfProcessStateRepository* DtWarheadDetonationActuatorPSR::clone ( const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
) const [virtual]

returns a newly created copy of this object

Implements DtVrfProcessStateRepository.

virtual DtString DtWarheadDetonationActuatorPSR::type ( ) const [virtual]

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

Implements DtVrfProcessStateRepository.

virtual DtWarheadType DtWarheadDetonationActuatorPSR::warhead ( ) const [virtual]

Get the warhead type.

virtual void DtWarheadDetonationActuatorPSR::setWarhead ( DtWarheadType  wh) [virtual]

Set the warhead type.

virtual DtDetonatorFuze DtWarheadDetonationActuatorPSR::fuze ( ) const [virtual]

Get the fuze type.

virtual void DtWarheadDetonationActuatorPSR::setFuze ( DtDetonatorFuze  fuze) [virtual]

Set the fuze type.

Get the attacker entity Name.

virtual void DtWarheadDetonationActuatorPSR::setAttackerName ( const DtString name) [virtual]

Set the attacker entity Name.

Get the target name associated with the detonation proximity.

virtual void DtWarheadDetonationActuatorPSR::setTargetName ( const DtString target) [virtual]

Set the target name associated with the detonation proximity.

virtual DtReal DtWarheadDetonationActuatorPSR::detonationProximity ( ) const [virtual]

Get the detonation proximity.

virtual void DtWarheadDetonationActuatorPSR::setDetonationProximity ( DtReal  proximity) [virtual]

Set the detonation proximity.

virtual void DtWarheadDetonationActuatorPSR::setDetonationTime ( DtReal  time) [virtual]

Set the detonation time.

virtual DtReal DtWarheadDetonationActuatorPSR::detonationTime ( ) const [virtual]

Get the detonation time.

virtual void DtWarheadDetonationActuatorPSR::setArmed ( bool  arm) [virtual]

Set whether the munition is armed or not.

virtual bool DtWarheadDetonationActuatorPSR::armed ( ) const [virtual]

Get whether we're armed or not.

virtual void DtWarheadDetonationActuatorPSR::setCurrentMunition ( const DtSimMunition currentMunition) [virtual]
static DtVrfProcessStateRepository* DtWarheadDetonationActuatorPSR::creator ( const DtString rwName,
DtVrfObject vrfObject,
DtReaderWriterRegistry parentRegistry 
) [static]

Returns a newly created instance of this class.


Member Data Documentation

For timed detonations.

Stores the writable name of the attacker.

For proximity detonation:


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)