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

End User Descriptoon: DtActuatorComponentDescriptor contains parameters common to all actuator component descriptors in VR-Forces. More...

Inheritance diagram for DtActuatorComponentDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtActuatorComponentDescriptor (const DtString &componentName, DtReaderWriterRegistry *parentRegistry=NULL)
 constructor
 DtActuatorComponentDescriptor (const DtSymbolString &componentName, DtReaderWriterRegistry *parentRegistry=NULL)
 DtActuatorComponentDescriptor (const DtActuatorComponentDescriptor &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 copy constructor
DtActuatorComponentDescriptoroperator= (const DtActuatorComponentDescriptor &orig)
 assignment
virtual ~DtActuatorComponentDescriptor ()
 destructor
virtual DtString type () const
 Returns the type of component this descriptor describes.
virtual DtComponentDescriptorclone (DtReaderWriterRegistry *parentRegistry=0) const
virtual void setArtPartDescriptorList (const DtSimArtPartDescriptorList &artPartDescriptorList)
 Accessor/mutator for myArtPartDescriptorList.
virtual const
DtSimArtPartDescriptorList
artPartDescriptorList () const
 Accessor/mutator for myArtPartDescriptorList.

Static Public Member Functions

static DtComponentDescriptorcreator ()
 

Protected Member Functions

 DtActuatorComponentDescriptor ()
 default constructor; not implemented

Protected Attributes

parameters

These parameters are available for setting in the OPD files.

DtSimArtPartDescriptorList myArtPartDescriptorList
 Parameter Name: art-part-list
Parameter Description: List of articulated parts associated with this actuator.

Detailed Description

End User Descriptoon: DtActuatorComponentDescriptor contains parameters common to all actuator component descriptors in VR-Forces.

Developer Description: DtActuatorComponentDescriptor is used to specify actuator components. It derives from DtComponentDescriptor. It adds a DtSimArtPartDescriptorList list of articulating parts that the actuator will model. The DtSimArtPartDescriptorList includes the information needed for VR-Link to represent articulated parts on the network. All actuators must use a DtActuatorComponentDescriptor, even if there are no articulating parts involved.

DtSimArtPartDescriptorList is a DtList of DtSimArtPartDescriptors. The DtSimArtPartDescriptor specifies a part type and a parent part type that are VR-Link articulated part types, a vector that represents where the articulating part is attached (in the parent part's coordinate system), and a DtSimArtPartParamList. The DtSimArtPartParamList is a DtList of the VR-Link articulated part parameter types the part should use. Enumerations for various types of articulated parts can be found in disEnums.h file. DtArtPartType is the type of articulated part that will be attached to the entity or another part like a turret or missile launcher. DtArtParamType describes the different types of parameters an articulated part has that will describe its motion. For example, a DtApAzimuth parameter will specify that the articulated part should rotate around the z axis of the part.


Constructor & Destructor Documentation

DtActuatorComponentDescriptor::DtActuatorComponentDescriptor ( const DtString componentName,
DtReaderWriterRegistry parentRegistry = NULL 
)

constructor

copy constructor

destructor

default constructor; not implemented


Member Function Documentation

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

assignment

virtual DtString DtActuatorComponentDescriptor::type ( ) const [virtual]
virtual DtComponentDescriptor* DtActuatorComponentDescriptor::clone ( DtReaderWriterRegistry parentRegistry = 0) const [virtual]
virtual void DtActuatorComponentDescriptor::setArtPartDescriptorList ( const DtSimArtPartDescriptorList artPartDescriptorList) [virtual]

Accessor/mutator for myArtPartDescriptorList.

Accessor/mutator for myArtPartDescriptorList.


Member Data Documentation

Parameter Name: art-part-list
Parameter Description: List of articulated parts associated with this actuator.


Parameter Default Value:


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)