12#ifndef WSFSENSORDETECTOR_HPP
13#define WSFSENSORDETECTOR_HPP
15#include "wsf_export.h"
44 double aDetectionThreshold = UtMath::LinearToDB(3.0)) = 0;
71 static bool LoadInstance(UtInput& aInput, std::unique_ptr<SensorDetector>& aSensorDetectorPtr);
75 static SensorDetector* CreateInstance(
const std::string& aTypeName);
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfSensorMode.hpp:36
static void AddObjectFactory(FactoryPtr aFactoryPtr)
Definition WsfSensorDetector.cpp:98
SensorDetector *(* FactoryPtr)(const std::string &)
Definition WsfSensorDetector.hpp:64
SensorDetectorTypes & operator=(const SensorDetectorTypes &aRhs)=default
SensorDetectorTypes(const SensorDetectorTypes &aSrc)=default
std::list< FactoryPtr > ObjectFactoryList
Definition WsfSensorDetector.hpp:65
virtual ~SensorDetectorTypes()=default
static bool LoadInstance(UtInput &aInput, std::unique_ptr< SensorDetector > &aSensorDetectorPtr)
Definition WsfSensorDetector.cpp:56
Definition WsfSensorDetector.hpp:36
virtual SensorDetector * Clone() const =0
bool mDebugEnabled
'true' if 'debug_detector' was specified.
Definition WsfSensorDetector.hpp:58
virtual double ComputeProbabilityOfDetection(double aSignalToNoise, double aDetectionThreshold=UtMath::LinearToDB(3.0))=0
virtual bool Initialize(double aSimTime, WsfSensorMode *aModePtr, size_t aBeamIndex=0)
Definition WsfSensorDetector.cpp:31
void SetDebugEnabled(bool aDebugEnabled)
Set the debug flag for the detector.
Definition WsfSensorDetector.hpp:51
virtual bool ProcessInput(UtInput &aInput)
Definition WsfSensorDetector.cpp:38
SensorDetector()
Definition WsfSensorDetector.cpp:24
virtual ~SensorDetector()=default
bool DebugEnabled() const
Returns 'true' if debugging is enabled for the detector.
Definition WsfSensorDetector.hpp:53
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32