VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
combatIdentificationLevelTableEntry.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: combatIdentificationLevelTableEntry.h,v $ $Revision: 1.5 $ $State: Exp $
7 ** Created: 4/5/07 MEM
8 *******************************************************************************/
9 
12 
14 
15 #ifndef combatIdentificationLevelTableEntry_H_
16 #define combatIdentificationLevelTableEntry_H_
17 
20 #include "vrfutil/vrfutilDefines.h"
21 
22 #include <readerWriter/rwInt.h>
23 #include <readerWriter/rwReal.h>
25 #include <list>
26 
28 
30 {
31 
32 public:
34  DtCombatIdentificationLevelTableEntry(const DtString& name = DtString::nullString(),
35  DtReaderWriterRegistry* parentRegistry = NULL);
37  DtReaderWriterRegistry* parentRegistry = NULL);
38 
41 
44  const DtString& name = DtString::nullString(),
45  DtReaderWriterRegistry* parentRegistry = NULL);
47  const DtSymbolString& name,
48  DtReaderWriterRegistry* parentRegistry = NULL);
49 
53 
56  virtual const double appSignature() const;
57  virtual void setAppSignature(const double appSig);
59 
62  virtual int lookupIdentificationLevel(double & detectionInterval) const;
64 
69  virtual bool getData(DtCSVLineEntry & entryData, std::vector<double> & timeValues );
71 
76  virtual void addDetectionInterval(DtCombatIdentificationDetectionIntervalEntry* entryData );
78 
82  virtual const char* readerWriterType() const;
83 
84  void printEntry();
85 
86 protected:
87  typedef std::vector<DtCombatIdentificationDetectionIntervalEntry*> DtDetectionLevelList;
88 
91  void clearLevelList();
95  void copyLevelListFrom(const DtDetectionLevelList& levelList);
96 
100 
105 
112 
113 
115 };
116 
117 #endif
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
File: csvReaderWriter.h.
Definition: cSVReaderWriter.h:36
Definition: combatIdentificationLevelTableEntry.h:29
Definition: readerWriterRegistry.h:39
std::vector< DtCombatIdentificationDetectionIntervalEntry * > DtDetectionLevelList
Definition: combatIdentificationLevelTableEntry.h:87
std::vector< std::string > DtCSVLineEntry
Stores a parsed csv line.
Definition: cSVReaderWriter.h:89
DtCombatIdentificationDetectionIntervalEntry.
Definition: combatIdentificationDetectionIntervalEntry.h:26
DtRwReal myApparentSignature
Parameter Name: Parameter Description: The apparent signature of the object. Parameter Default Value...
Definition: combatIdentificationLevelTableEntry.h:104
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual bool getData(FILE *fp)
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
const DtCSVReaderWriter & operator=(const DtCSVReaderWriter &orig)
assignment operator
DtDetectionLevelList myDetectionLevelList
Parameter Name: Parameter Description: List of detection intervals and the identification levels ass...
Definition: combatIdentificationLevelTableEntry.h:111

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)