|
VR-Engage
2.2
|
This class defines a descriptor for ladder climbing actuator components in VREngage. It extends the base actuator component descriptor to add configuration for ladder climbing speed, which affects how quickly human entities can climb ladders in VREngage simulations.
#include <vreLadderClimbingActuatorDescriptor.h>
Public Member Functions | |
| DtLadderClimbingActuatorDescriptor (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtLadderClimbingActuatorDescriptor (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtLadderClimbingActuatorDescriptor (const DtLadderClimbingActuatorDescriptor &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtLadderClimbingActuatorDescriptor & | operator= (const DtLadderClimbingActuatorDescriptor &orig) |
| virtual | ~DtLadderClimbingActuatorDescriptor () override |
| virtual DtString | type () const override |
| virtual DtComponentDescriptor * | clone (DtReaderWriterRegistry *parentRegistry=NULL) const override |
| virtual DtReal | ladderClimbingSpeed () const |
| virtual void | setLadderClimbingSpeed (DtReal speed) |
Static Public Member Functions | |
| static DtComponentDescriptor * | creator () |
Static Public Attributes | |
| static double | theDefaultLadderClimbingSpeed |
Protected Member Functions | |
| DtLadderClimbingActuatorDescriptor () | |
Protected Attributes | |
| DtRwReal | myLadderClimbingSpeed |
| makVre::DtLadderClimbingActuatorDescriptor::DtLadderClimbingActuatorDescriptor | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL ) |
Constructor with component name.
| name | The name of this component |
| parentRegistry | Parent registry for reader/writer functionality (optional) |
Creates a new ladder climbing actuator descriptor with the specified name.
Referenced by DtLadderClimbingActuatorDescriptor(), and operator=().
| makVre::DtLadderClimbingActuatorDescriptor::DtLadderClimbingActuatorDescriptor | ( | const DtSymbolString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL ) |
Constructor with component name as symbol string.
| name | The name of this component as a symbol string |
| parentRegistry | Parent registry for reader/writer functionality (optional) |
Creates a new ladder climbing actuator descriptor with the specified name.
| makVre::DtLadderClimbingActuatorDescriptor::DtLadderClimbingActuatorDescriptor | ( | const DtLadderClimbingActuatorDescriptor & | orig, |
| DtReaderWriterRegistry * | parentRegistry = NULL ) |
Copy constructor.
| orig | The source descriptor to copy from |
| parentRegistry | Parent registry for reader/writer functionality (optional) |
Creates a new ladder climbing actuator descriptor as a copy of the provided original.
References DtLadderClimbingActuatorDescriptor().
|
overridevirtual |
Virtual destructor.
Cleans up resources used by the descriptor.
|
protected |
Default constructor (not implemented)
Default constructor is protected and not implemented to prevent creation of instances without proper initialization.
| DtLadderClimbingActuatorDescriptor & makVre::DtLadderClimbingActuatorDescriptor::operator= | ( | const DtLadderClimbingActuatorDescriptor & | orig | ) |
Assignment operator.
| orig | The source descriptor to copy from |
Assigns the contents of the provided descriptor to this one.
References DtLadderClimbingActuatorDescriptor().
|
overridevirtual |
Gets the type identifier for this descriptor.
Returns a unique type identifier string for this descriptor type. Will return DtLadderClimbingActuatorDescriptorType.
|
overridevirtual |
Creates a clone of this descriptor.
| parentRegistry | Parent registry for reader/writer functionality (optional) |
Creates a new ladder climbing actuator descriptor as a deep copy of this one.
|
virtual |
Gets the ladder climbing speed.
Returns the maximum speed at which entities can climb ladders.
|
virtual |
Sets the ladder climbing speed.
| speed | The ladder climbing speed in meters per second |
Sets the maximum speed at which entities can climb ladders.
|
static |
Factory function to create a new instance of this descriptor.
Static factory function used by the descriptor creation system to instantiate new instances of this descriptor type.
|
static |
Default ladder climbing speed.
The default value for ladder climbing speed is 0.4 meters per second.
|
protected |
Maximum ladder climbing speed.
The maximum speed at which entities can climb ladders. Parameter name: "ladder-climbing-speed" Default value: 0.4 meters per second