VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rotorWashControllerDescriptor.h
Go to the documentation of this file.
1 
4 #pragma once
5 
8 #include "readerWriter/rwInt.h"
9 #include "readerWriter/rwReal.h"
10 #include "vrfutil/rwIntegerList.h"
12 #include "geometry/surface.h"
13 
15 
18 {
19 public:
21  DtRotorWashControllerDescriptor(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0);
22 
25  DtReaderWriterRegistry * parentRegistry = 0);
26 
30 
33 
36  virtual DtString type() const;
37 
38  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry = 0) const;
39 
41  static DtComponentDescriptor * creator();
42 
43  virtual void setMaxEffectDistance(int maxEffectDistance);
44  virtual int maxEffectDistance() const;
45 
48  virtual void setMinSnowEffectDepth(double minSnowDepth);
49  virtual double minSnowEffectDepth() const;
50 
52  virtual int findRotorWashTypeForSoilRoughness(const DtString& soilRoughness) const;
53 
55  virtual void setRotorWashTypesThatAccumulateSnow(const std::set<int>& t);
56  virtual const std::set<int>& rotorWashTypesThatAccumulateSnow() const;
57 
59  virtual bool rotorWashTypeAccumulatesSnow(int rotorWashType) const;
60 
63  virtual void postGetSelf();
64 
65 protected:
66 
69 
70 protected:
75 
76  std::set<int> mySnowAccumulationSet;
77 };
78 
79 
Description: DtNLengthIntegerVector is a named, readable/writable vector of integers of arbitrary len...
Definition: nLengthIntegerVector.h:28
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwIntegerList mySoilTypeToRotorWashList
Definition: rotorWashControllerDescriptor.h:73
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
DtRwInt myMaxEffectDistance
Definition: rotorWashControllerDescriptor.h:71
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
Instances of DtRwIntegerList are lists of readable, writeable integers (DtRwInts).
Definition: rwIntegerList.h:19
A descriptor for the DtRotorWashController. This indicates the max effect distance.
Definition: rotorWashControllerDescriptor.h:17
std::set< int > mySnowAccumulationSet
Definition: rotorWashControllerDescriptor.h:76
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString type() const
Returns the type of component this descriptor describes.
static DtComponentDescriptor * creator()
DtNLengthIntegerVector myRotorWashTypesThatAccumulateSnow
Definition: rotorWashControllerDescriptor.h:74
DtRwReal myMinSnowEffectDepth
Definition: rotorWashControllerDescriptor.h:72

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)