VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwAircraftEngineEfficiency.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <readerWriter/rwReal.h>
13 
15 
21 {
22 public:
24  const DtString& name, DtReaderWriterRegistry* parentRegistry = 0);
27  DtReaderWriterRegistry* parentRegistry = 0);
28 
30 
32  static const char* theXmlType();
33 
34  virtual const char* xmlType() const;
35 
36  virtual const char* readerWriterType() const;
37 
38  virtual double altitude() const;
39  virtual void setAltitude(double alt);
40 
41  virtual double speed() const;
42  virtual void setSpeed(double speed);
43 
44  virtual double range() const;
45  virtual void setRange(double range);
46 
48  {
49  return (DtReaderWriter::operator==(rhs) &&
50  (myAltitude == rhs.myAltitude) &&
51  (mySpeed == rhs.mySpeed) &&
52  (myRange == rhs.myRange));
53  }
54 
56  {
57  return !(*this == rhs);
58  }
59 
60 protected:
64 };
65 
67  : public DtRwTemplatedListPtr<DtRwAircraftEngineEfficiencyDataPoint, true>
68 {
70 
71 public:
73  const DtString& name, DtReaderWriterRegistry* parentRegistry = 0);
75  const DtSymbolString& name, DtReaderWriterRegistry* parentRegistry = 0);
77  const DtRwAircraftEngineEfficiencyDataPointList& orig, DtReaderWriterRegistry* parentRegistry = 0);
79  const DtString& name, const DtRwAircraftEngineEfficiencyDataPointList& orig, DtReaderWriterRegistry* parentRegistry = 0);
80 
82 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)