![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: detectLevelDeterminator.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 ** Created: 3/27/07 MEM 00008 *******************************************************************************/ 00009 00012 00015 00016 #ifndef detectLevelDeterminator_H_ 00017 #define detectLevelDeterminator_H_ 00018 00019 #include "vrfmodel/vrfmodelDefines.h" 00020 #include <vlutil/vlString.h> 00021 #include "tdbutil/stringKeyFactory.h" 00022 00023 class DtRwDetectionLevelContainer; 00024 class DtRwSensorContactInfo; 00025 00026 00027 class DtDetectionLevelDeterminator; 00028 00030 typedef DtStringKeyFactory<DtDetectionLevelDeterminator> DtDetectionLevelDeterminatorFactory; 00031 00032 00044 class DT_DLL_vrfmodel DtDetectionLevelDeterminator 00045 { 00046 private: 00048 DtDetectionLevelDeterminator (const DtDetectionLevelDeterminator& orig); 00049 00050 DtDetectionLevelDeterminator& operator= (const DtDetectionLevelDeterminator& orig); 00051 00052 public: 00054 DtDetectionLevelDeterminator(); 00055 00056 virtual ~DtDetectionLevelDeterminator(); 00057 00060 virtual void init(const DtRwDetectionLevelContainer & params) = 0; 00061 00064 virtual DtString type() const = 0; 00065 00068 virtual int determineCombatIdentificationLevel(double apparentSig, DtRwSensorContactInfo * 00069 sensorInfo) = 0; 00070 00072 static void setFactory(DtDetectionLevelDeterminatorFactory* factory); 00073 00076 static DtDetectionLevelDeterminator* createDeterminator(const DtString& type); 00077 00078 protected: 00079 static DtDetectionLevelDeterminatorFactory* theFactory; 00080 }; 00081 00082 #endif 00083 00084