VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
damageProbabilityTable.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 
12 #include "vrfutil/simMunition.h"
15 #include "vrfutil/rwReal.h"
16 
21 {
22 public:
25 
28  parentRegistry = NULL);
29 
31  parentRegistry = NULL);
32 
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
38  DtReaderWriterRegistry* parentRegistry = NULL);
39 
41 
44 
45  virtual ~DtDamageProbabilityTable();
46 
47  virtual DtDamageProbabilityTable* clone(const DtString& name,
48  DtReaderWriterRegistry* parentRegistry = NULL) const;
49 
50  virtual DtDamageProbabilityTable* clone(const DtSymbolString& name,
51  DtReaderWriterRegistry* parentRegistry = NULL) const;
52 
53  virtual void getSelf(DtlObjPtr args,
54  const DtReaderWriter::SearchPaths& searchPaths = SearchPaths(),
55  const DtVariableBindingsList& variableBindings = nullVariableReference());
56 
57  virtual void putSelf(std::string& fp, int indentLevel = 0,
58  bool writeUnspecified = false, const DtFilename& path =
59  DtFilename::nullFilename());
60 
63  virtual const DtString& damageFilename() const;
64  virtual void setDamageFilename(const DtString& filename);
66 
68  virtual void addSurfaceEntry(const DtDmgSurfaceEntry& surfaceEntry);
69 
72  virtual bool getProbabilities(const DtString& surface, DtReal angleOfIncidence,
73  DtReal value, DtPrbValueList* probList) const;
74 
76  virtual double getMaximumInputValue() const;
77 
79  virtual double getMinimumInputValue() const;
80 
82  bool operator==(const DtDamageProbabilityTable& rhs) const;
83  bool operator!=(const DtDamageProbabilityTable& rhs) const
84  {
85  return !(*this == rhs);
86  }
87 
88 protected:
90  virtual void removeSurfaceEntry(DtDmgSurfaceEntry* surfaceEntry);
91 
92 protected:
96 
101 
106 
108 };
109 
110 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)