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

Instances of DtEmitterComponentDescriptor are used to specify the parameters for a DtEmitterComponent object. More...

Inheritance diagram for DtEmitterComponentDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtEmitterComponentDescriptor (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 constructor
 DtEmitterComponentDescriptor (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 DtEmitterComponentDescriptor (const DtEmitterComponentDescriptor &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 copy constructor
DtEmitterComponentDescriptoroperator= (const DtEmitterComponentDescriptor &orig)
 assignment
virtual ~DtEmitterComponentDescriptor ()
 destructor
virtual DtString type () const
 Returns the type of component this descriptor describes.
virtual DtComponentDescriptorclone (DtReaderWriterRegistry *parentRegistry=NULL) const
virtual DtVector mountLocation () const
 Accessor/mutator for myMountLocation.
virtual void setMountLocation (const DtVector &location)
 Accessor/mutator for myMountLocation.
virtual bool targetingCapable () const
 Accessor/mutator for myTargetingCapable.
virtual void setTargetingCapable (bool onOff)
 Accessor/mutator for myTargetingCapable.
virtual bool on () const
 Accessor/mutator for myOn.
virtual void setOn (bool onOff)
 Accessor/mutator for myOn.
virtual DtEmitterSystemEntryemitterSystem ()
 Accessor for myEmitterSystemEntry.
virtual const
DtEmitterSystemEntry
emitterSystem () const
 Accessor for myEmitterSystemEntry.

Static Public Member Functions

static DtComponentDescriptorcreator ()
 

Protected Attributes

parameters

These parameters are available for setting in the OPD files.

DtRwVector myMountLocation
 Parameter Name: mount-location
Parameter Description: Emitter system offset from entity in meters.
DtRwBoolean myTargetingCapable
 Parameter Name: targeting-capable
Parameter Description: Emitter system will set target to entities specified in “Set Target” messages.
DtRwBoolean myOn
 Parameter Name: on
Parameter Description: Emitter system on at startup.
DtEmitterSystemEntry myEmitterSystemEntry
 Parameter Name: emitter-system
Parameter Description: Emitter sub-system.

Detailed Description

Instances of DtEmitterComponentDescriptor are used to specify the parameters for a DtEmitterComponent object.

The emitter component is a sensor component that mounts on an entity and models basic electromagnetic emissions. An entity can have multiple emitter components. Each emitter component can have multiple beams.


Constructor & Destructor Documentation

constructor

copy constructor

destructor


Member Function Documentation

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

assignment

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

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:
DtEmitterComponentDescriptorType

Reimplemented from DtComponentDescriptor.

virtual DtComponentDescriptor* DtEmitterComponentDescriptor::clone ( DtReaderWriterRegistry parentRegistry = NULL) const [virtual]

Reimplemented from DtComponentDescriptor.

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

Accessor/mutator for myMountLocation.

virtual void DtEmitterComponentDescriptor::setMountLocation ( const DtVector location) [virtual]

Accessor/mutator for myMountLocation.

Accessor/mutator for myTargetingCapable.

virtual void DtEmitterComponentDescriptor::setTargetingCapable ( bool  onOff) [virtual]

Accessor/mutator for myTargetingCapable.

virtual bool DtEmitterComponentDescriptor::on ( ) const [virtual]

Accessor/mutator for myOn.

virtual void DtEmitterComponentDescriptor::setOn ( bool  onOff) [virtual]

Accessor/mutator for myOn.

Accessor for myEmitterSystemEntry.

Accessor for myEmitterSystemEntry.


Member Data Documentation

Parameter Name: mount-location
Parameter Description: Emitter system offset from entity in meters.


Parameter Default Value: (0. 0. 0.) (x, y, z)
Parameter Units: meters

Parameter Name: targeting-capable
Parameter Description: Emitter system will set target to entities specified in “Set Target” messages.


Parameter Default Value: False

Parameter Name: on
Parameter Description: Emitter system on at startup.


Parameter Default Value: False

Parameter Name: emitter-system
Parameter Description: Emitter sub-system.


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)