VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
combatIdentificationLevelTable.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: combatIdentificationLevelTable.h,v $ $Revision: 1.8 $ $State: Exp $
7 ** Created: 4/2/07 MEM
8 *******************************************************************************/
9 
12 
14 
15 #ifndef combatIdentificationLevelTable_H_
16 #define combatIdentificationLevelTable_H_
17 
19 #include <vlutil/vlMachineTypes.h>
20 #include "vrfutil/vrfutilDefines.h"
21 #include <vector>
22 
23 class DtString;
26 
35 {
36 public:
37 
38  typedef std::vector<DtCombatIdentificationLevelTableEntry*> DtCombatIdentificationEntryList;
39 
42 
45  parentRegistry = NULL);
46 
48  parentRegistry = NULL);
49 
51  DtCombatIdentificationLevelTable(const DtString& name, const
53  parentRegistry = NULL);
54 
57  parentRegistry = NULL);
58 
61 
64 
65 public:
66 
71  virtual void putSelf(std::string& fp, int indentLevel = 0,
72  bool writeUnspecified = false, const DtFilename& path =
73  DtFilename::nullFilename());
74 
78  virtual void getSelf( FILE* fp,
79  const DtReaderWriter::SearchPaths& searchPaths = SearchPaths());
80 
83  virtual int getIdentificationLevel(DtReal& appSig, DtReal & detInterval) const;
84 
86  virtual const DtCombatIdentificationLevelTableEntry * getEntryForAppSignature(
87  double & appSig,bool needmatch = false) const;
88 
92  virtual const char* readerWriterType() const;
93 
94  virtual DtCombatIdentificationEntryList & identificationEntries();
95  virtual const DtCombatIdentificationEntryList & identificationEntries() const;
96 
99  virtual void addTableEntry(DtCombatIdentificationLevelTableEntry * entry);
100 
101 protected:
102 
103  void printTable();
106  void clearTable();
110  void copyTableFrom(const DtCombatIdentificationEntryList& sourceTable);
111 
112 protected:
113 
115 
116 };
117 
118 #endif
119 
120 
121 

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)