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 
60  virtual int fuelBin() const;
61  virtual void fuelBin(int d);
63 
65  static DtComponentDescriptor * creator();
66 
67 protected:
70 
71 protected:
72 
76 
82 
88 
94 };
95 
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:81
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:87
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
DtRwInt myFuelBin
Parameter Name: fuel-bin Parameter Description: Resource bin the fuel can be found in Parameter Defau...
Definition: encumbranceActuatorDescriptor.h:92
Description: Readable, Writable int.
Definition: rwInt.h:25
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 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)