VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rotaryWingEncumberedFlightActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 VT MAK, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <vlpi/disEnums.h>
16 
17 class DtString;
18 class DtSimManager;
21 class DtAnalogInputPort;
22 
30 {
31 
32 public:
33 
37  DtVrfObject* owner,
38  DtSimManager* simManager,
39  DtComponentDescriptor* desc = 0,
40  DtReaderWriterRegistry* parentRegistry = 0);
41 
46 
49  virtual bool init();
50 
53  virtual const char* type() const;
54 
56  virtual void tick();
57 
61  static DtSimComponent * creator(const DtString& name,
62  DtVrfObject* owner,
63  DtSimManager* simManager,
64  DtComponentDescriptor* desc = 0,
65  DtReaderWriterRegistry* parentRegistry = 0);
66 
67 protected:
68 
70  virtual bool createPorts();
71 
73  virtual void calculateAndApplyNewMaximums();
74 
76  virtual double calculateFuelConsumption();
77 
79  virtual void useFuel(double fuelUsed);
80 
81 private:
82 
85 
88 
91 
92 
93 protected:
96 
99 
102 
105 
107  double myWeightFuel;
108 
111 
113 
115 
122 
127 
129 };
130 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)