VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Private Member Functions
DtWarheadDetonationActuatorDescriptor Class Reference

DtWarheadDetonationActuatorDescriptor; descriptor for the DtWarheadDetonationActuator component. More...

Inheritance diagram for DtWarheadDetonationActuatorDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtWarheadDetonationActuatorDescriptor (const DtString &name, DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtWarheadDetonationActuatorDescriptor (const DtWarheadDetonationActuatorDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
DtWarheadDetonationActuatorDescriptor & operator= (const DtWarheadDetonationActuatorDescriptor &orig)
 assignment
virtual ~DtWarheadDetonationActuatorDescriptor ()
 destructor
virtual DtString type () const
 Returns the type of component this descriptor describes.
virtual DtComponentDescriptor * clone (DtReaderWriterRegistry *parentRegistry=0) const
virtual bool groundImpactDetonate () const
 Accessor/mutator for myGroundImpactDetonate.
virtual void setGroundImpactDetonate (bool d)
 Accessor/mutator for myGroundImpactDetonate.
virtual bool waterImpactDetonate () const
 Accessor/mutator for myWaterImpactDetonate.
virtual void setWaterImpactDetonate (bool d)
 Accessor/mutator for myWaterImpactDetonate.
virtual bool entityImpactDetonate () const
 Accessor/mutator for myEntityImpactDetonate.
virtual void setEntityImpactDetonate (bool d)
 Accessor/mutator for myEntityImpactDetonate.
virtual bool removeEntityUponDetonation () const
 Accessor/mutator for myRemoveOnDetonation.
virtual void setRemoveEntityUponDetonation (bool b)
 Accessor/mutator for myRemoveOnDetonation.
virtual bool allowDirectHit () const
virtual void setAllowDirectHit (bool b)

Static Public Member Functions

static DtComponentDescriptor * creator ()
 

Protected Attributes

parameters

These parameters are available for setting in the OPD files.

DtRwBoolean myGroundImpactDetonate
 Parameter Name: detonate-on-ground-impact
Parameter Description: True if warhead will detonate upon contact with a dry terrain surface.
DtRwBoolean myWaterImpactDetonate
 Parameter Name: detonate-on-water-impact
Parameter Description: True if warhead will detonate upon contact with a wet terrain surface.
DtRwBoolean myEntityImpactDetonate
 Parameter Name: detonate-on-entity-impact
Parameter Description: True if this warhead will detonate upon contact with another entity's bounding volume.
DtRwBoolean myRemoveOnDetonation
 Parameter Name: remove-on-detonation
Parameter Description: True if you want to have the entity removed once it detonates
Parameter Default Value: True.
DtRwBoolean myAllowDirectHit
 Parameter Name: allow-direct-hit
Parameter Description: If true, then the warhead will produce a direct hit detonation PDU if it impacts a specific entity.

Private Member Functions

 DtWarheadDetonationActuatorDescriptor ()
 default constructor -- not implemented.

Detailed Description

DtWarheadDetonationActuatorDescriptor; descriptor for the DtWarheadDetonationActuator component.

Parameters for the DtWarheadDetonationActuator. Determines under what circumstances the warhead will detonate.


Constructor & Destructor Documentation

constructor

copy constructor

destructor

default constructor -- not implemented.


Member Function Documentation

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

assignment

Returns the type of component this descriptor describes.

Used to create the descriptor on read from an mtl file. Component descriptor type strings are defined in compDescTypes.h.

Returns:
DtWarheadDetonationActuatorDescriptorType

Reimplemented from DtActuatorComponentDescriptor.

Reimplemented from DtActuatorComponentDescriptor.

Accessor/mutator for myGroundImpactDetonate.

Accessor/mutator for myGroundImpactDetonate.

Accessor/mutator for myWaterImpactDetonate.

Accessor/mutator for myWaterImpactDetonate.

Accessor/mutator for myEntityImpactDetonate.

Accessor/mutator for myEntityImpactDetonate.

Accessor/mutator for myRemoveOnDetonation.

Accessor/mutator for myRemoveOnDetonation.

See also:
myAllowDirectHit
See also:
myAllowDirectHit

Returns:
Newly created instance of this class, with an empty DtReaderWriter name. Creation methods are registered with a DtComponentDescriptorFactory, so they can be created on demand as they are read in from a parameter database file.

Reimplemented from DtActuatorComponentDescriptor.


Member Data Documentation

Parameter Name: detonate-on-ground-impact
Parameter Description: True if warhead will detonate upon contact with a dry terrain surface.


Parameter Default Value: True

Parameter Name: detonate-on-water-impact
Parameter Description: True if warhead will detonate upon contact with a wet terrain surface.


Parameter Default Value: True

Parameter Name: detonate-on-entity-impact
Parameter Description: True if this warhead will detonate upon contact with another entity's bounding volume.


Parameter Default Value: True

Parameter Name: remove-on-detonation
Parameter Description: True if you want to have the entity removed once it detonates
Parameter Default Value: True.

Parameter Name: allow-direct-hit
Parameter Description: If true, then the warhead will produce a direct hit detonation PDU if it impacts a specific entity.

If false, it will always result in a indirect fire detonation capable of hurting multiple entities, even if it directly impacts on a single entity. Parameter Default Value: True


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)