VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
automotiveActuatorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <readerWriter/rwBoolean.h>
17 #include "vrfutil/rwResource.h"
18 
22 {
23 public:
25  DtAutomotiveActuatorDescriptor(const DtString& componentName,
26  DtReaderWriterRegistry* parentRegistry = 0);
27 
30  DtReaderWriterRegistry* parentRegistry = 0);
31 
32  virtual ~DtAutomotiveActuatorDescriptor() override;
33 
36  const DtAutomotiveActuatorDescriptor & orig);
37 
40  virtual DtString type() const override;
41 
42  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
43 
46 
49  virtual const DtEntityType& fuelType() const;
50  virtual void setFuelType(const DtEntityType& fuelType);
52 
55  virtual double fuelEfficiency() const;
56  virtual void setFuelEfficiency(double d);
58 
61  virtual bool checkForTerrainCollisions() const;
62  virtual void setCheckForTerrainCollisions(bool yesOrNo);
64 
67  virtual bool useHighFidelityGroundClamping() const;
68  virtual void setUseHighFidelityGroundClamping(bool yesOrNo);
70 
71 
72 protected:
75 
76 protected:
80 
87 
103 
109 
114 
116 };
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
DtRwResource myFuelType
Parameter Name: fuel-type Parameter Description: The fuel that will be consumed by the surface vessel...
Definition: automotiveActuatorDescriptor.h:108
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
DtRwBoolean myCheckForTerrainCollisions
Parameter Name: check-terrain-collisions Parameter Description: Specifies whether or not the actuator...
Definition: automotiveActuatorDescriptor.h:86
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwReal myFuelEfficiency
Parameter Name: fuel-efficieny Parameter Description: When a ground vehicle moves, how much of the fuel is used. Measurement is in kilometers/liter Parameter Default Value: 100 .
Definition: automotiveActuatorDescriptor.h:113
DtAutomotiveActuatorDescriptor; descriptor for the DtAutomotiveActuatorComponent component.
Definition: automotiveActuatorDescriptor.h:21
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
This class will read in an old resource by name and convert it to the type, or, just read it as type...
Definition: rwResource.h:12
DtRwBoolean myUseHighFidelityGroundClamping
Parameter Name: use-high-fidelity-ground-clamping Parameter Description: Specifies whether or not to ...
Definition: automotiveActuatorDescriptor.h:102

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)