WSF
WsfImageProcessor::Status Class Reference

#include <WsfImageProcessor.hpp>

Public Member Functions

 Status (WsfStringId aTruthName=WsfStringId())
WsfStringId TruthName () const
void EnterState (TargetRecognitionState aNewState, double aStateEntryTime, double aMinimumTimeInState)
void SetLastGoodUpdateTime (double aSimTime)
void SetStale ()
bool IsStale () const
bool CoastTimeExceeded (double aSimTime, TargetRecognitionState aState, double aCoastTime)
TargetRecognitionState CoastingState () const
TargetRecognitionState CurrentState () const
double StateEntryTime () const
double EarliestStateExitTime () const

Public Attributes

double mStateEntryTime {-1.0E+30}
 The time when the transition occurred into the current state.
double mMinimumTimeInState {0.0}
 The minimum time that must be spent in the current state before a transition to a higher state can occur.
double mLastGoodUpdateTime {-1.0E+30}
 The last time when a detection was registered that met the criteria for the current state.
TargetRecognitionState mCurrentState {cST_UNDETECTED}
 The current state.
double mCoastingStartTime {-1.0E+30}
 The time when coasting started.
TargetRecognitionState mCoastingState {cST_UNDETECTED}
 The state (quality) of the update associated with mLastFailedUpdateTime;.
WsfStringId mTruthName {nullptr}
 The name id of the underlying platform represented by the object.
bool mIsStale {false}
 True if the object is stale (didn't exist in the last image).

Constructor & Destructor Documentation

◆ Status()

Member Function Documentation

◆ CoastingState()

TargetRecognitionState WsfImageProcessor::Status::CoastingState ( ) const
inline

References mCoastingState.

◆ CoastTimeExceeded()

bool WsfImageProcessor::Status::CoastTimeExceeded ( double aSimTime,
TargetRecognitionState aState,
double aCoastTime )

Updates the coasting status.

Returns
true if the coast time limit has been exceeded, or false if coasting can continue.

References mCoastingStartTime, mCoastingState, and mIsStale.

Referenced by WsfImageProcessor::ImageProcessingCompleted().

◆ CurrentState()

TargetRecognitionState WsfImageProcessor::Status::CurrentState ( ) const
inline

◆ EarliestStateExitTime()

double WsfImageProcessor::Status::EarliestStateExitTime ( ) const
inline

◆ EnterState()

void WsfImageProcessor::Status::EnterState ( TargetRecognitionState aNewState,
double aStateEntryTime,
double aMinimumTimeInState )
inline

◆ IsStale()

bool WsfImageProcessor::Status::IsStale ( ) const
inline

◆ SetLastGoodUpdateTime()

void WsfImageProcessor::Status::SetLastGoodUpdateTime ( double aSimTime)
inline

◆ SetStale()

void WsfImageProcessor::Status::SetStale ( )
inline

References mIsStale.

◆ StateEntryTime()

double WsfImageProcessor::Status::StateEntryTime ( ) const
inline

◆ TruthName()

WsfStringId WsfImageProcessor::Status::TruthName ( ) const
inline

Member Data Documentation

◆ mCoastingStartTime

double WsfImageProcessor::Status::mCoastingStartTime {-1.0E+30}

The time when coasting started.

Referenced by CoastTimeExceeded(), SetLastGoodUpdateTime(), and Status().

◆ mCoastingState

TargetRecognitionState WsfImageProcessor::Status::mCoastingState {cST_UNDETECTED}

The state (quality) of the update associated with mLastFailedUpdateTime;.

Referenced by CoastingState(), CoastTimeExceeded(), and Status().

◆ mCurrentState

TargetRecognitionState WsfImageProcessor::Status::mCurrentState {cST_UNDETECTED}

The current state.

Referenced by CurrentState(), EnterState(), and Status().

◆ mIsStale

bool WsfImageProcessor::Status::mIsStale {false}

True if the object is stale (didn't exist in the last image).

Referenced by CoastTimeExceeded(), IsStale(), SetLastGoodUpdateTime(), SetStale(), and Status().

◆ mLastGoodUpdateTime

double WsfImageProcessor::Status::mLastGoodUpdateTime {-1.0E+30}

The last time when a detection was registered that met the criteria for the current state.

Referenced by SetLastGoodUpdateTime(), and Status().

◆ mMinimumTimeInState

double WsfImageProcessor::Status::mMinimumTimeInState {0.0}

The minimum time that must be spent in the current state before a transition to a higher state can occur.

Referenced by EarliestStateExitTime(), EnterState(), and Status().

◆ mStateEntryTime

double WsfImageProcessor::Status::mStateEntryTime {-1.0E+30}

The time when the transition occurred into the current state.

Referenced by EarliestStateExitTime(), EnterState(), StateEntryTime(), and Status().

◆ mTruthName

WsfStringId WsfImageProcessor::Status::mTruthName {nullptr}

The name id of the underlying platform represented by the object.

Referenced by Status(), and TruthName().


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