VR-Forces 4.2 Class Documentation
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/rdrWritr.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 
92 protected:
93 
94  DtListItem* myListItem;
98 };

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)