WSF
WsfEOIR_Sensor::EOIR_SensorScheduler Class Reference

#include <WsfEOIR_Sensor.hpp>

Inheritance diagram for WsfEOIR_Sensor::EOIR_SensorScheduler:
Collaboration diagram for WsfEOIR_Sensor::EOIR_SensorScheduler:

Public Member Functions

 EOIR_SensorScheduler ()
 ~EOIR_SensorScheduler () override=default
bool SelectTarget (double aSimTime, double &aNextSimTime, size_t &aTargetIndex, WsfTrackId &aRequestId, WsfSensor::Settings &aSettings) override
WsfSensorSchedulerClone () const override
Public Member Functions inherited from WsfSensorScheduler
 WsfSensorScheduler ()
virtual ~WsfSensorScheduler ()=default
bool DebugEnabled () const
 Returns 'true' if debugging is enabled for the scheduler.
void SetDebugEnabled (bool aDebug)
virtual void FrameTimeChanged (double aSimTime, WsfStringId aModeNameId)
virtual int GetActiveRequestCount (WsfStringId aModeNameId) const
virtual int GetMaximumRequestCount (WsfStringId aModeNameId) const
virtual bool HaveRequestFor (const WsfTrackId &aRequestId) const
virtual bool Initialize (double aSimTime, WsfSensor *aSensorPtr, WsfSensorTracker *aTrackerPtr)
virtual void ModeDeselected (double aSimTime, WsfStringId aModeNameId)
virtual void ModeSelected (double aSimTime, WsfStringId aModeNameId)
virtual void PlatformAdded (double aSimTime, WsfPlatform *aPlatformPtr)
virtual void PlatformDeleted (WsfPlatform *aPlatformPtr)
virtual bool ProcessInput (UtInput &aInput)
virtual void RemoveTarget (double aSimTime, size_t aTargetIndex)
virtual const WsfTrackGetTrackForRequest (const WsfTrackId &aRequestId) const
virtual bool StartTracking (double aSimTime, const WsfTrack &aTrack, WsfStringId aModeNameId)
virtual bool StopTracking (double aSimTime, const WsfTrackId &aTrackId)
virtual void TrackerModeChange (double aSimTime, const WsfTrackId &aRequestId, size_t aTargetIndex, WsfPlatform *aTargetPtr, const WsfTrack *aTrackPtr, WsfStringId aModeNameId)
virtual void TurnOff (double aSimTime)
virtual void TurnOn (double aSimTime)
WsfSimulationGetSimulation () const

Additional Inherited Members

Protected Types inherited from WsfSensorScheduler
using SearchList = std::vector<size_t>
using SearchListIndex = SearchList::size_type
Protected Member Functions inherited from WsfSensorScheduler
 WsfSensorScheduler (const WsfSensorScheduler &aSrc)
WsfSensorScheduleroperator= (const WsfSensorScheduler &aSrc)=delete
const SearchListGetSearchList () const
Protected Attributes inherited from WsfSensorScheduler
WsfSensormSensorPtr
WsfSensorTrackermTrackerPtr
SearchList mSearchList

Constructor & Destructor Documentation

◆ EOIR_SensorScheduler()

WsfEOIR_Sensor::EOIR_SensorScheduler::EOIR_SensorScheduler ( )

◆ ~EOIR_SensorScheduler()

WsfEOIR_Sensor::EOIR_SensorScheduler::~EOIR_SensorScheduler ( )
overridedefault

Member Function Documentation

◆ Clone()

WsfSensorScheduler * WsfEOIR_Sensor::EOIR_SensorScheduler::Clone ( ) const
overridevirtual

◆ SelectTarget()

bool WsfEOIR_Sensor::EOIR_SensorScheduler::SelectTarget ( double aSimTime,
double & aNextSimTime,
size_t & aTargetIndex,
WsfTrackId & aRequestId,
WsfSensor::Settings & aSettings )
overridevirtual

Select a target for a detection attempt.

Parameters
aSimTime[input] The current simulation time.
aNextSimTime[output] The simulation time when the scheduler should next be called.
aTargetIndex[output] The object ID of the target to be detected (typically a platform index or some other unique ID). This will not be valid if the return value from the method is false.
aRequestId[output] The request ID (original track ID from StartTracking) associated with the target. aRequest.IsNull() will be true if the target is not associated with a track request. This will not be valid if the return value from the method is false.
aSettings[updated] The sensor settings to be used for the detection attempt. This will not be valid if the return value from the method is false.
Returns
true if a target was selected or false if no target selected.

Reimplemented from WsfSensorScheduler.

References WsfSensorScheduler::mSensorPtr, platformPtr, and SelectTarget().

Referenced by SelectTarget(), and ~EOIR_SensorScheduler().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved