VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
highFidelityTerrainDamageConfig.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
13 #include <readerWriter/rwString.h>
14 #include <readerWriter/rwReal.h>
15 #include <vrfutil/rwEntityType.h>
16 #include <readerWriter/rwBoolean.h>
18 #include <vrfutil/rwTemplatedMap.h>
19 #include <vrfutil/rwKeyValueList.h>
20 
22 
24 {
25 public:
28 
31  parentRegistry = NULL);
32 
34  parentRegistry = NULL);
35 
38  DtReaderWriterRegistry* parentRegistry = NULL);
39 
41  DtReaderWriterRegistry* parentRegistry = NULL);
42 
44  DtReaderWriterRegistry* parentRegistry = NULL);
45 
48 
50 
51  virtual DtHighFidelityTerrainDamageConfig* clone(const DtString& name,
52  DtReaderWriterRegistry* parentRegistry = NULL) const;
53 
54  virtual DtHighFidelityTerrainDamageConfig* clone(const DtSymbolString& name,
55  DtReaderWriterRegistry* parentRegistry = NULL) const;
56 
58 
59  virtual DtString dynamicTerrainType() const;
60  virtual void setDynamicTerrainType(const DtString& type);
62 
64 
65  virtual DtString powerType() const;
66  virtual void setPowerType(const DtString& type);
68 
70 
71  virtual DtString damageAlgorithm() const;
72  virtual void setDamageAlgorithm(const DtString& alg);
74 
76 
77  virtual double delay() const;
78  virtual void setDelay(double d);
80 
82 
83  virtual bool detonateOnDestroy() const;
84  virtual void setDetonateOnDestroy(bool v);
86 
89  virtual const DtEntityType& detonationMunition() const;
90  virtual void setDetonationMunition(const DtEntityType& m);
92 
95  virtual const std::map<DtRwReal, DtRwString>& terrainDamageTable() const;
96  virtual void setTerrainDamageTable(const std::map<DtRwReal, DtRwString>& table);
98 
101  virtual const DtRwKeyValueList& additionalAlgorithmConfigList() const;
102  virtual void setAdditionalAlgorithmConfigList(const DtRwKeyValueList& l);
103  virtual DtString additionalAlgorithmConfigValue(const DtString& key) const;
104  virtual void setAdditionalAlgorithmConfigValue(const DtString& key, const DtString& val);
106 
107  virtual const char* readerWriterType() const;
108 
110  static const char* theXmlType();
111 
112  virtual const char* xmlType() const
113  {
114  return theXmlType();
115  }
116 
119  {
120  return !(*this == rhs);
121  }
122 
123 protected:
127 
132 
137 
142 
147 
152 
157 
161 
167 };
168 

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)