12#ifndef WSFCOHERENTSENSORPROCESSOR_HPP
13#define WSFCOHERENTSENSORPROCESSOR_HPP
15#include "wsf_nx_export.h"
83 void Update(
double aSimTime)
override;
213 void ClearStateList();
215 void ProcessResults(
double aSimTime,
WsfSensor* aSensorPtr =
nullptr,
WsfPlatform* aTargetPtr =
nullptr);
217 void ResultsProcessingInitiated(
double aSimTime);
218 void ResultsProcessingCompleted(
double aSimTime);
220 void PurgeOldTracks(
double aSimTime,
WsfSensor* aSensorPtr);
223 std::list<WsfSensor*> mAttachedSensors;
226 bool mUseTargetResult;
229 double mDetectionThreshold;
247 using StateList = std::map<size_t, State*>;
248 StateList mStateList;
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
WsfSensorResult mResult
Definition WsfCoherentSensorProcessor.hpp:53
ResultData()
Definition WsfCoherentSensorProcessor.hpp:40
double mSimTime
Definition WsfCoherentSensorProcessor.hpp:52
ResultData(double aSimTime, WsfSensorResult &aResult)
Definition WsfCoherentSensorProcessor.hpp:46
Definition WsfCoherentSensorProcessor.hpp:95
WsfTrack * mTrackPtr
Definition WsfCoherentSensorProcessor.hpp:97
Definition WsfCoherentSensorProcessor.hpp:35
WsfFusionStrategy & GetFusionStrategy()
Return the correlation strategy used by this processor.
Definition WsfCoherentSensorProcessor.hpp:185
void ClearSensorResults(WsfStringId aSensorId)
Definition WsfCoherentSensorProcessor.cpp:746
std::vector< ResultData > Results
Type definitions for storing and processing sensor results.
Definition WsfCoherentSensorProcessor.hpp:71
WsfCoherentSensorProcessor & operator=(const WsfCoherentSensorProcessor &)=delete
DetectionAlgorithmType
Detection Algorithm State.
Definition WsfCoherentSensorProcessor.hpp:58
@ cDA_SNR
Definition WsfCoherentSensorProcessor.hpp:59
@ cDA_RSS_SNR
Definition WsfCoherentSensorProcessor.hpp:60
WsfCoherentSensorProcessor(WsfScenario &aScenario)
Definition WsfCoherentSensorProcessor.cpp:46
virtual void UpdateTrack(double aSimTime, WsfTrack *aTrackPtr, WsfSensor *aSensorPtr, WsfPlatform *aTargetPtr, WsfSensorResult &aResult)
Definition WsfCoherentSensorProcessor.cpp:799
std::map< WsfStringId, Results > SensorToResultsMap
Definition WsfCoherentSensorProcessor.hpp:72
std::map< WsfStringId, SensorToResultsMap > TargetToSensorToResultMap
Definition WsfCoherentSensorProcessor.hpp:73
TargetSensingState
Target Sensing State.
Definition WsfCoherentSensorProcessor.hpp:65
@ cSS_UNDETECTED
Definition WsfCoherentSensorProcessor.hpp:66
@ cSS_DETECTED
Definition WsfCoherentSensorProcessor.hpp:67
Definition WsfFusionStrategy.hpp:52
bool Initialize2(double aSimTime) override
Definition WsfProcessor.cpp:104
void Update(double aSimTime) override
Definition WsfProcessor.cpp:121
WsfProcessor(const WsfScenario &aScenario)
Definition WsfProcessor.cpp:25
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
virtual bool SensorAdded(WsfSensor *aSensorPtr)=0
Clear any data or lists maintained by inheriting classes.
bool Initialize(double aSimTime) override
Definition WsfSensorProcessor.cpp:54
WsfSensorProcessor(WsfScenario &aScenario)
Definition WsfSensorProcessor.cpp:34
bool ProcessInput(UtInput &aInput) override
Definition WsfSensorProcessor.cpp:72
WsfProcessor * Clone() const override=0
virtual bool SensorRemoved(WsfSensor *aSensorPtr)=0
Definition WsfSensorResult.hpp:27
Definition WsfSensor.hpp:92
Definition WsfSingleSensorObserver.hpp:33
virtual void OnSensorDetectionAttempted(double aSimTime, WsfSensor *aSensorPtr, WsfPlatform *aTargetPtr, WsfSensorResult &aResult)
Called after each sensor detection attempt, per mode/beam for multi-mode/beam sensors.
Definition WsfSingleSensorObserver.hpp:56
virtual void OnSensorTurnedOff(double aSimTime, WsfSensor *aSensorPtr)
Called just after the sensor is turned off.
Definition WsfSingleSensorObserver.hpp:38
virtual void OnSensorTargetUpdated(double aSimTime, WsfSensor *aSensorPtr, WsfPlatform *aTargetPtr, WsfSensorResult &aResult)
Called after each sensor update.
Definition WsfSingleSensorObserver.hpp:50
virtual void OnSensorDeleting(WsfSensor *aSensorPtr)
Called before the sensor is actually deleted.
Definition WsfSingleSensorObserver.hpp:44
An object that represents an 'track' (perception) of something.
Definition WsfTrack.hpp:120