|
VR-Engage
2.2
|
This class defines a descriptor for parachute actuator components in VREngage. It extends the base parachute actuator descriptor to add configuration for oxygen consumption during high-altitude parachute operations. The descriptor specifies both the rate of oxygen consumption and the altitude threshold at which oxygen begins to be consumed.
#include <vreParachuteActuatorDescriptor.h>
Public Member Functions | |
| DtVreParachuteActuatorDescriptor (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) | |
| DtVreParachuteActuatorDescriptor (const DtVreParachuteActuatorDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| DtVreParachuteActuatorDescriptor & | operator= (const DtVreParachuteActuatorDescriptor &orig) |
| virtual DtComponentDescriptor * | clone (DtReaderWriterRegistry *parentRegistry=0) const override |
| virtual | ~DtVreParachuteActuatorDescriptor () override |
| virtual void | setOxygenUsePerMinute (double val) |
| virtual double | oxygenUsePerMinute () const |
| virtual void | setOxygenUseAltitude (double val) |
| virtual double | oxygenUseAltitude () const |
Static Public Member Functions | |
| static DtComponentDescriptor * | creator () |
Protected Attributes | |
| DtRwReal | myOxygenUsePerMinute |
| DtRwReal | myOxygenUseAltitude |
| makVre::DtVreParachuteActuatorDescriptor::DtVreParachuteActuatorDescriptor | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 ) |
Constructor with component name.
| name | The name of this component |
| parentRegistry | Parent registry for reader/writer functionality (optional) |
Creates a new parachute actuator descriptor with the specified name.
Referenced by DtVreParachuteActuatorDescriptor(), and operator=().
| makVre::DtVreParachuteActuatorDescriptor::DtVreParachuteActuatorDescriptor | ( | const DtVreParachuteActuatorDescriptor & | orig, |
| DtReaderWriterRegistry * | parentRegistry = 0 ) |
Copy constructor.
| orig | The source descriptor to copy from |
| parentRegistry | Parent registry for reader/writer functionality (optional) |
Creates a new parachute actuator descriptor as a copy of the provided original.
References DtVreParachuteActuatorDescriptor().
|
overridevirtual |
Virtual destructor.
Cleans up resources used by the descriptor.
| DtVreParachuteActuatorDescriptor & makVre::DtVreParachuteActuatorDescriptor::operator= | ( | const DtVreParachuteActuatorDescriptor & | orig | ) |
Assignment operator.
| orig | The source descriptor to copy from |
Assigns the contents of the provided descriptor to this one.
References DtVreParachuteActuatorDescriptor().
|
overridevirtual |
Creates a clone of this descriptor.
| parentRegistry | Parent registry for reader/writer functionality (optional) |
Creates a new parachute actuator descriptor as a deep copy of this one.
|
virtual |
Sets the oxygen consumption rate.
| val | The oxygen consumption rate in units per minute |
Sets the rate at which oxygen is consumed when operating above the oxygen use altitude threshold.
|
virtual |
Gets the oxygen consumption rate.
Returns the rate at which oxygen is consumed when operating above the oxygen use altitude threshold.
|
virtual |
Sets the oxygen use altitude threshold.
| val | The altitude threshold in meters |
Sets the altitude threshold above which oxygen begins to be consumed.
|
virtual |
Gets the oxygen use altitude threshold.
Returns the altitude threshold above which oxygen begins to be consumed.
|
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.
|
protected |
Oxygen consumption rate in units per minute.
The rate at which oxygen is consumed when operating above the oxygen use altitude threshold.
|
protected |
Oxygen use altitude threshold in meters.
The altitude threshold above which oxygen begins to be consumed.