VR-Forces 4.0.4 Class Documentation
include/vrfutil/combatIdentificationLevelTableEntry.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2007 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: combatIdentificationLevelTableEntry.h,v $ $Revision: 1.5 $ $State: Exp $
00007 ** Created: 4/5/07 MEM
00008 *******************************************************************************/
00009 
00012 
00014 
00015 #ifndef combatIdentificationLevelTableEntry_H_
00016 #define combatIdentificationLevelTableEntry_H_
00017 
00020 #include "vrfutil/vrfutilDefines.h"
00021 
00022 #include "vrfutil/rwInt.h"
00023 #include "vrfutil/rwReal.h"
00024 #include "vrfutil/csvReaderWriter.h"
00025 #include <list>
00026 
00027 class DtCombatIdentificationDetectionIntervalEntry;
00028 
00029 class DT_DLL_vrfutil DtCombatIdentificationLevelTableEntry : public DtCSVReaderWriter
00030 {
00031 
00032 public:
00034    DtCombatIdentificationLevelTableEntry(const DtString& name = DtString::nullString(), 
00035       DtReaderWriterRegistry* parentRegistry = NULL);
00036    DtCombatIdentificationLevelTableEntry(const DtSymbolString& name, 
00037       DtReaderWriterRegistry* parentRegistry = NULL);
00038 
00040    virtual ~DtCombatIdentificationLevelTableEntry();
00041 
00043    DtCombatIdentificationLevelTableEntry(const DtCombatIdentificationLevelTableEntry& orig,
00044       const DtString& name = DtString::nullString(), 
00045       DtReaderWriterRegistry* parentRegistry = NULL);
00046    DtCombatIdentificationLevelTableEntry(const DtCombatIdentificationLevelTableEntry& orig,
00047       const DtSymbolString& name, 
00048       DtReaderWriterRegistry* parentRegistry = NULL);
00049 
00051    DtCombatIdentificationLevelTableEntry& operator=(
00052       const DtCombatIdentificationLevelTableEntry& orig);
00053 
00056    virtual const double appSignature() const;
00057    virtual void setAppSignature(const double appSig);
00059 
00062    virtual int lookupIdentificationLevel(double & detectionInterval) const;
00064 
00069    virtual bool getData(DtCSVLineEntry & entryData, std::vector<double> & timeValues );
00071 
00076    virtual void addDetectionInterval(DtCombatIdentificationDetectionIntervalEntry* entryData );
00078 
00082    virtual const char* readerWriterType() const;
00083 
00084    void printEntry();
00085 
00086 protected:
00087    typedef std::vector<DtCombatIdentificationDetectionIntervalEntry*> DtDetectionLevelList;
00088 
00091    void clearLevelList();
00095    void copyLevelListFrom(const DtDetectionLevelList& levelList);
00096 
00100 
00104    DtRwReal      myApparentSignature;
00105 
00111    DtDetectionLevelList       myDetectionLevelList;
00112 
00113 
00115 };
00116 
00117 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)