VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rangeProbEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include "vrfutil/rwEntityType.h"
10 #include <vlutil/vlMachineTypes.h>
11 
12 class DtString;
14 class DtPrbValueList;
15 
20 {
21 
22 protected:
25 
28  parentRegistry = NULL);
30  parentRegistry = NULL);
31 
33  DtRangeProbEntry(const DtString& name, const
35  parentRegistry = NULL);
36  DtRangeProbEntry(const DtSymbolString& name, const
38  parentRegistry = NULL);
39 
40  const DtRangeProbEntry& operator=(const DtRangeProbEntry& orig);
41 
42 public:
43 
45  virtual ~DtRangeProbEntry();
46 
47  virtual DtRangeProbEntry* clone(const DtString& name,
48  DtReaderWriterRegistry* parentRegistry = NULL) const = 0;
49  virtual DtRangeProbEntry* clone(const DtSymbolString& name,
50  DtReaderWriterRegistry* parentRegistry = NULL) const = 0;
51 
56  virtual void getProbabilities(DtReal range, DtPrbValueList* entry) = 0;
57 
62  virtual void setEntityType(const DtEntityType& entityType);
63  virtual const DtRwEntityType& entityType() const;
65 
67  virtual bool isValid() const = 0;
68 
70  virtual double solveForMaximum() const = 0;
71 
72  virtual bool operator==(const DtRangeProbEntry&) const;
73  bool operator!=(const DtRangeProbEntry& rhs) const
74  {
75  return !(*this == rhs);
76  }
77 
78 protected:
82 
87 
89 };

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)