LRAUV  revA
HFRCMSurfaceCurrentAtVehicleLocation.h
Go to the documentation of this file.
1 
14 #ifndef HFRCMSURFACECURRENTATVEHICLELOCATION_H_
15 #define HFRCMSURFACECURRENTATVEHICLELOCATION_H_
16 
18 #include "data/Mtx.h"
19 
20 #include "HFRadarCompactModelForecasterIF.h" // for TOTAL_HOURS, etc.
21 
23 class BlobReader;
24 class ConfigReader;
25 
38 {
39 public:
42 
44  void initialize( void );
45 
47  void run();
48 
49 protected:
50  const bool debug_;
52  // space components
59  // time components
60  Mtx expansionCoefficients_; // TODO: Would it be better to have a lookup component for the ECs like for the EOFs?
62  double forecastEpochSeconds_[ HFRadarCompactModelForecasterIF::TOTAL_HOURS ]; // TODO: Would go into time interpolator component
63  // results
66  // readers & writers
71  // Configuration readers
73 
75  bool lookupExpansionCoefficients( void );
76 
79 
81  void reproject( void );
82 
83 private:
84  // Note that the copy constructor below is private and not given a body.
85  // Any attempt to call it will return a compiler error.
86  HFRCMSurfaceCurrentAtVehicleLocation( const HFRCMSurfaceCurrentAtVehicleLocation& old ); // disallow copy constructor
87 
88 };
89 
90 #endif /* HFRCMSURFACECURRENTATVEHICLELOCATION_H_ */
Contains the SyncComponent class definition.
float velocityAccuracy_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:64
A DataAccessor that reads values from the Slate Contains a default dataValue that must not be NULL...
Definition: UniversalDataReader.h:26
float eastEnsembleMeanHere_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:55
A DataAccessor that writes values to the Slate via its associated DataElement.
Definition: UniversalDataWriter.h:24
Definition: BlobReader.h:212
Mtx eastEmpiricalOrthogonalFunctionsHere_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:53
Specifies the interface details for the HFRadarCompactModelForecaster component in the EstimationModu...
bool haveValidForecast_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:65
Definition: Mtx.h:24
int verbosity_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:51
virtual ~HFRCMSurfaceCurrentAtVehicleLocation()
Definition: HFRCMSurfaceCurrentAtVehicleLocation.cpp:48
void initialize(void)
Initialize function.
Definition: HFRCMSurfaceCurrentAtVehicleLocation.cpp:51
bool lookupExpansionCoefficients(void)
Look up the expansion coefficients at the current time.
Definition: HFRCMSurfaceCurrentAtVehicleLocation.cpp:84
float northEnsembleMeanHere_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:56
float eastScalingFactor_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:57
Module is the abstract base class for a collection of Component objects that can be contained in a lo...
Definition: Module.h:45
void run()
The actual "payload" of the component.
Definition: HFRCMSurfaceCurrentAtVehicleLocation.cpp:59
UniversalDataReader * longitudeReader_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:68
bool lookupEmpiricalOrthogonalFunctions(void)
Look up the empirical orthogonal functions at the current location.
Definition: HFRCMSurfaceCurrentAtVehicleLocation.cpp:93
Mtx expansionCoefficients_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:60
UniversalDataWriter * northVelocityWriter_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:70
Definition: ConfigReader.h:13
Specifies the interface details for the HFRCMSurfaceCurrentAtVehicleLocation component in the Estimat...
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:37
double forecastEpochSeconds_[HFRadarCompactModelForecasterIF::TOTAL_HOURS]
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:62
UniversalDataWriter * eastVelocityWriter_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:69
void reproject(void)
Calculate the estimated velocities at the current location and time.
Definition: HFRCMSurfaceCurrentAtVehicleLocation.cpp:123
HFRCMSurfaceCurrentAtVehicleLocation(const Module *module)
Definition: HFRCMSurfaceCurrentAtVehicleLocation.cpp:27
float northScalingFactor_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:58
Mtx northEmpiricalOrthogonalFunctionsHere_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:54
const bool debug_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:50
ConfigReader * velocityAccuracyConfigReader_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:72
Abstract Base class for components that generate other estimates.
Definition: SyncComponent.h:206
Mtx expansionCoefficientsNow_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:61
UniversalDataReader * latitudeReader_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:67
float eastVelocity_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:64
float northVelocity_
Definition: HFRCMSurfaceCurrentAtVehicleLocation.h:64