12#ifndef WSF_SOLAR_ELEVATION_AT_TARGET_SENSOR_COMPONENT_HPP
13#define WSF_SOLAR_ELEVATION_AT_TARGET_SENSOR_COMPONENT_HPP
15#include "wsf_export.h"
58 void SetBounds(
double aMinAngle,
double aMaxAngle);
63 bool mEnabled =
false;
67 ElevationMode& GetOrCreateElevationMode(
const WsfSensorMode& aSensorMode);
69 std::vector<ElevationMode> mModes;
70 ElevationMode mTemplate;
#define WSF_DECLARE_COMPONENT_ROLE_TYPE(TYPE, ROLE)
Definition WsfComponentRoles.hpp:44
@ cWSF_COMPONENT_SOLAR_ELEVATION_AT_TARGET
A solar elevation from target sensor component.
Definition WsfComponentRoles.hpp:151
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfComponent.hpp:39
virtual const int * GetComponentRoles() const =0
virtual WsfStringId GetComponentName() const =0
virtual WsfComponent * CloneComponent() const =0
virtual void * QueryInterface(int aRole)=0
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
Definition WsfSensorComponent.hpp:36
virtual void PostAttemptToDetect(double aSimTime, WsfPlatform *aTargetPtr, WsfSensorResult &aResult)
Definition WsfSensorComponent.hpp:85
virtual bool Initialize(double aSimTime)
Definition WsfComponent.cpp:45
virtual bool ProcessModeInput(UtInput &aInput, WsfSensorMode &aSensorMode)
Definition WsfSensorComponent.hpp:61
Definition WsfSensorMode.hpp:36
Definition WsfSensorResult.hpp:27
Definition WsfSensor.hpp:92
Class that stores the defined elevation angles for each individual mode.
Definition WsfSolarElevationAtTargetComponent.hpp:53
bool IsEnabled() const
Definition WsfSolarElevationAtTargetComponent.hpp:55
double GetMinAngle() const
Definition WsfSolarElevationAtTargetComponent.hpp:56
double GetMaxAngle() const
Definition WsfSolarElevationAtTargetComponent.hpp:57
Definition WsfSolarElevationAtTargetComponent.hpp:26
static WsfSolarElevationAtTargetSensorComponent * Find(const WsfSensor &aParent)
Returns the parent sensor's component, or nullptr if not found.
Definition WsfSolarElevationAtTargetComponent.cpp:47
static WsfSolarElevationAtTargetSensorComponent * FindOrCreate(WsfSensor &aParent)
Returns the parent sensor's component, or creates one if not found.
Definition WsfSolarElevationAtTargetComponent.cpp:55
static void RegisterComponentFactory(WsfScenario &aScenario)
Called by WsfScenario::CreateTypeLists on initialization.
Definition WsfSolarElevationAtTargetComponent.cpp:41