|
WSF
|
#include <Sensor.hpp>
Public Member Functions | |
| Sensor () | |
| ~Sensor () | |
| bool | AttemptToDetect (Target &aTarget, WsfSensorResult &aResult) |
| bool | AttemptToDetect (WsfPlatform *aTargetPtr, WsfSensorResult &aResult) |
| void | ConvertRBA_ToWCS (double aGroundRange, double aBearing, double aAltitude, double aLocationWCS[3]) |
| void | ConvertWCS_ToRBA (const double aLocationWCS[3], double &aGroundRange, double &aBearing, double &aAltitude) |
| bool | CreateAndInitialize (WsfSimulation &aSimulation) |
| Create a local platform that has the sensor under test. | |
| void | CueToTarget (Target &aTarget) |
| void | CueToTarget (WsfPlatform *aTargetPtr) |
| void | SetAutomaticTargetCueing (bool aAutomaticTargetCueing) |
| bool | ProcessInput (UtInput &aInput) |
| WsfPlatform * | GetPlatform () const |
| WsfSensor * | GetSensor () const |
| double | GetSimTime () const |
| double | GetEarthRadiusMultiplier () const |
| double | GetHeight () const |
| double | GetMaximumRange () const |
| WsfSensor::Settings & | GetSettings () |
An interface class for the sensor under test.
This class was created because many of the available test functions were repeating code.
| Sensor::Sensor | ( | ) |
| Sensor::~Sensor | ( | ) |
| bool Sensor::AttemptToDetect | ( | Target & | aTarget, |
| WsfSensorResult & | aResult ) |
References AttemptToDetect(), and Target::GetPlatform().
Referenced by AttemptToDetect().
| bool Sensor::AttemptToDetect | ( | WsfPlatform * | aTargetPtr, |
| WsfSensorResult & | aResult ) |
| void Sensor::ConvertRBA_ToWCS | ( | double | aGroundRange, |
| double | aBearing, | ||
| double | aAltitude, | ||
| double | aLocationWCS[3] ) |
Given the ground range, bearing relative to the sensor and altitude, return the WCS location.
Referenced by Target::SetLocationRBA().
| void Sensor::ConvertWCS_ToRBA | ( | const double | aLocationWCS[3], |
| double & | aGroundRange, | ||
| double & | aBearing, | ||
| double & | aAltitude ) |
Given a WCS location, return the equivalent ground range, bearing relative to the sensor and altitude.
| bool Sensor::CreateAndInitialize | ( | WsfSimulation & | aSimulation | ) |
Create a local platform that has the sensor under test.
References WsfSimulation::AddPlatform(), WsfObjectTypeList< T >::Clone(), WsfPlatformTypes::Get(), WsfEM_Antenna::GetHeight(), WsfEM_Antenna::GetMaximumRange(), WsfMode::GetModeIndex(), WsfSimulation::GetScenario(), WsfPlatformPart::SetInitiallyTurnedOn(), and WsfObject::SetName().
| void Sensor::CueToTarget | ( | Target & | aTarget | ) |
References CueToTarget(), and Target::GetPlatform().
Referenced by CueToTarget().
| void Sensor::CueToTarget | ( | WsfPlatform * | aTargetPtr | ) |
References Utility::CueSensorToTarget().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Target::SetSpeedAndAttitude().
|
inline |
|
inline |
| bool Sensor::ProcessInput | ( | UtInput & | aInput | ) |
|
inline |