VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
soilFactors.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 #include "vrfutil/readerWriter.h"
18 #include "vrfutil/rwReal.h"
19 #include "vrfutil/rwString.h"
20 
22 
29 
30 #include "vrfutil/vrfutilDefines.h"
32 {
33 protected:
34 
37  DtSoilFactors();
38 
39 public:
41  DtSoilFactors(const DtString& soilType,
42  DtReaderWriterRegistry* parentRegistry = NULL,
43  double accelerationFactor = 1.0, double stoppingFactor = 1.0,
44  double maxSpeedFactor = 1.0 );
45 
46  DtSoilFactors(const DtSymbolString& soilType,
47  DtReaderWriterRegistry* parentRegistry = NULL,
48  double accelerationFactor = 1.0, double stoppingFactor = 1.0,
49  double maxSpeedFactor = 1.0 );
50 
52  virtual ~DtSoilFactors();
53 
55  DtSoilFactors(const DtSoilFactors& orig,
56  DtReaderWriterRegistry* parentRegistry = NULL);
57 
60 
61  virtual DtSoilFactors* clone(DtReaderWriterRegistry* parentRegistry = NULL) const;
62 
64  virtual void setListItem(DtListItem* item);
65  virtual DtListItem* listItem();
66 
68  virtual const DtSymbolString soilType() const;
69 
71  virtual void setAccelerationFactor(DtReal aFactor);
72  virtual const DtRwReal& accelerationFactor() const;
73 
74  virtual void setStoppingFactor(DtReal sFactor);
75  virtual const DtRwReal& stoppingFactor() const;
76 
77  virtual void setMaxSpeedFactor(DtReal msFactor);
78  virtual const DtRwReal& maxSpeedFactor() const;
79 
83  virtual void inheritValues(const DtSoilFactors& orig);
84 
88  virtual const char* readerWriterType() const;
89 
90  bool operator==(const DtSoilFactors&) const;
91 
94  virtual void putData(DtEnvironmentSP, DtEnvValueSP parent) const;
95  virtual void getData(const DtEnvironmentSP, const DtEnvValueSP value,
98 
100  static const char* theXmlType();
101 
102  virtual const char* xmlType() const
103  {
104  return theXmlType();
105  }
107 
108 protected:
109 
110  DtListItem* myListItem;
114 };

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)