VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dmgAngleOfIncidenceTable.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <readerWriter/rwReal.h>
15 #include <vlutil/vlMachineTypes.h>
16 
17 class DtString;
19 class DtPrbValueList;
20 
30 {
31 
32 protected:
33  //default constructor
35 
38  parentRegistry = NULL);
40  parentRegistry = NULL);
41 
44  const DtDmgAngleOfIncidenceTable& orig,
45  DtReaderWriterRegistry* parentRegistry = NULL);
47  const DtDmgAngleOfIncidenceTable& orig,
48  DtReaderWriterRegistry* parentRegistry = NULL);
49 
52 
53 public:
54 
56  virtual ~DtDmgAngleOfIncidenceTable();
57 
58  virtual DtDmgAngleOfIncidenceTable * clone(const DtString& name,
59  DtReaderWriterRegistry* parentRegistry = NULL) const = 0;
60  virtual DtDmgAngleOfIncidenceTable * clone(const DtSymbolString& name,
61  DtReaderWriterRegistry* parentRegistry = NULL) const = 0;
62 
64  virtual bool isValid() const = 0;
65 
70  virtual void getProbabilities(DtReal rangeOrPower, DtPrbValueList* entry) const = 0;
71 
74  virtual double getMaximumInputValue() const = 0;
75 
78  virtual double getMinimumInputValue() const = 0;
79 
82  virtual void setAngleOfIncidence(DtReal angle);
83  virtual DtReal angleOfIncidence() const;
85 
86  virtual bool operator==(const DtDmgAngleOfIncidenceTable&) const;
87  virtual bool operator!=(const DtDmgAngleOfIncidenceTable& rhs) const
88  {
89  return !(*this == rhs);
90  }
91 
92 protected:
96 
103 
105 };
106 
107 typedef DtDmgAngleOfIncidenceTable* (*DtDmgAngleOfIncidenceTableCreatorFcn)();
108 
111 {
112 public:
115 
118 
120  virtual void addCreatorFcn(const DtString& type, DtDmgAngleOfIncidenceTableCreatorFcn fcn);
121 
122  virtual DtDmgAngleOfIncidenceTable* createAngleOfIncidenceTable(const DtString& type);
123 
124 private:
129 
130 protected:
131  typedef std::map<DtString, DtDmgAngleOfIncidenceTableCreatorFcn> DtDmgAngleOfIncidenceTableCreatorMap;
133 
134 };

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)