VR-Forces 4.1 Class Documentation
soilFactors.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: soilFactors.h,v $ $Revision: 1.9 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 #ifndef DtSoilFactors_H_
19 #define DtSoilFactors_H_
20 
21 #include "vrfutil/rdrWritr.h"
22 #include "vrfutil/rwReal.h"
23 #include "vrfutil/rwString.h"
24 
26 
33 
34 #include "vrfutil/vrfutilDefines.h"
36 {
37 protected:
38 
41  DtSoilFactors();
42 
43 public:
45  DtSoilFactors(const DtString& soilType,
46  DtReaderWriterRegistry* parentRegistry = NULL,
47  double accelerationFactor = 1.0, double stoppingFactor = 1.0,
48  double maxSpeedFactor = 1.0 );
49 
50  DtSoilFactors(const DtSymbolString& soilType,
51  DtReaderWriterRegistry* parentRegistry = NULL,
52  double accelerationFactor = 1.0, double stoppingFactor = 1.0,
53  double maxSpeedFactor = 1.0 );
54 
56  virtual ~DtSoilFactors();
57 
59  DtSoilFactors(const DtSoilFactors& orig,
60  DtReaderWriterRegistry* parentRegistry = NULL);
61 
64 
65  virtual DtSoilFactors* clone(DtReaderWriterRegistry* parentRegistry = NULL) const;
66 
68  virtual void setListItem(DtListItem* item);
69  virtual DtListItem* listItem();
70 
72  virtual const DtSymbolString soilType() const;
73 
75  virtual void setAccelerationFactor(DtReal aFactor);
76  virtual const DtRwReal& accelerationFactor() const;
77 
78  virtual void setStoppingFactor(DtReal sFactor);
79  virtual const DtRwReal& stoppingFactor() const;
80 
81  virtual void setMaxSpeedFactor(DtReal msFactor);
82  virtual const DtRwReal& maxSpeedFactor() const;
83 
87  virtual void inheritValues(const DtSoilFactors& orig);
88 
92  virtual const char* readerWriterType() const;
93 
94 protected:
95 
96  DtListItem* myListItem;
100 };
101 
102 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)