VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
encumbranceActuatorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 VT MAK, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 #include <readerWriter/rwReal.h>
16 #include "vrfutil/rwResource.h"
17 
21 {
22 public:
25  DtReaderWriterRegistry* parentRegistry = NULL);
26 
28  DtReaderWriterRegistry* parentRegistry = NULL);
29 
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
37 
38  virtual ~DtEncumbranceActuatorDescriptor() override;
39 
42  virtual DtString type() const override;
43 
44  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const override;
45 
48  virtual const DtEntityType& fuelType() const;
49  virtual void setFuelType(const DtEntityType& fuelType);
51 
54  virtual DtReal fuelWeight() const;
55  virtual void setFuelWeight(DtReal value);
57 
59  static DtComponentDescriptor * creator();
60 
61 protected:
64 
65 protected:
66 
70 
76 
82 
84 };
85 
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myFuelWeight
Parameter Name: fuel-weight Parameter Description: Weight of fuel in kg/l, set to 0...
Definition: encumbranceActuatorDescriptor.h:75
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
DtRwResource myFuelType
Parameter Name: fuel-type Parameter Description: The fuel that will be consumed by the surface vessel...
Definition: encumbranceActuatorDescriptor.h:81
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
DtEncumbranceActuatorDescriptor is used by DtEncumbranceActuator.
Definition: encumbranceActuatorDescriptor.h:20
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()
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

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)