27 #ifndef NIDAS_DYNLD_ISFF_WIND2D_H
28 #define NIDAS_DYNLD_ISFF_WIND2D_H
36 class VariableConverter;
53 namespace dynld {
namespace isff {
84 std::list<const nidas::core::Sample*>& results)
throw();
void validate()
Implementation of DSMSensor::validate for a Character Sensor.
Definition: Wind2D.cc:62
unsigned int dsm_sample_id_t
Definition: Sample.h:63
int _uIndex
Index of wind u component in output sample.
Definition: Wind2D.h:112
void setUName(const std::string &val)
Definition: Wind2D.h:77
Support for a sensor that is sending packets on a TCP socket, a UDP socket, a Bluetooth RF Comm socke...
Definition: SerialSensor.h:64
void validateSscanfs()
Virtual method to check that the Sscanfs for this CharacterSensor are OK.
Definition: Wind2D.cc:120
Wind2D()
Definition: Wind2D.cc:49
std::string _vName
Definition: Wind2D.h:97
const std::string & getVName() const
Definition: Wind2D.h:79
const std::string & getUName() const
Definition: Wind2D.h:75
nidas::core::VariableConverter * _dirConverter
A correction can be applied to the wind direction, which is the common situation when the aneometer i...
Definition: Wind2D.h:138
void setSpeedName(const std::string &val)
Definition: Wind2D.h:69
void setVName(const std::string &val)
Definition: Wind2D.h:81
std::string _dirName
Definition: Wind2D.h:93
std::string _uName
Definition: Wind2D.h:95
void setDirName(const std::string &val)
Definition: Wind2D.h:73
const std::string & getDirName() const
Definition: Wind2D.h:71
nidas::dynld::isff::WindOrienter WindOrienter
Definition: Wind2D.h:147
Interface to a data sample.
Definition: Sample.h:189
unsigned int _outlen
Length of output sample.
Definition: Wind2D.h:122
int _speedIndex
Index of wind speed in output sample.
Definition: Wind2D.h:102
Wind2D & operator=(const Wind2D &x)
WindOrienter _orienter
Definition: Wind2D.h:149
const std::string & getSpeedName() const
Definition: Wind2D.h:67
A class for rotating winds according to different orientations of the wind sensor.
Definition: WindOrienter.h:44
nidas::core::dsm_sample_id_t _wind_sample_id
Store the ID of the sample containing the wind variables.
Definition: Wind2D.h:129
bool process(const nidas::core::Sample *samp, std::list< const nidas::core::Sample * > &results)
Definition: Wind2D.cc:155
Definition: VariableConverter.h:69
void fromDOMElement(const xercesc::DOMElement *node)
Initialize myself from a xercesc::DOMElement.
Definition: Wind2D.cc:315
std::string _speedName
Definition: Wind2D.h:91
nidas::core::VariableConverter * _speedConverter
A correction can be applied to the wind speed.
Definition: Wind2D.h:145
~Wind2D()
Definition: Wind2D.cc:58
int _vIndex
Index of wind v component in output sample.
Definition: Wind2D.h:117
int _dirIndex
Index of wind direction in output sample.
Definition: Wind2D.h:107
Definition: InvalidParameterException.h:35