27#ifndef NIDAS_DYNLD_ISFF_WIND2D_H
28#define NIDAS_DYNLD_ISFF_WIND2D_H
36 class VariableConverter;
53namespace dynld {
namespace isff {
94 std::list<const nidas::core::Sample*>& results)
throw();
Interface to a data sample.
Definition Sample.h:190
Support for a sensor that is sending packets on a TCP socket, a UDP socket, a Bluetooth RF Comm socke...
Definition SerialSensor.h:65
Definition VariableConverter.h:70
void validateSscanfs()
Virtual method to check that the Sscanfs for this CharacterSensor are OK.
Definition Wind2D.cc:141
void setSpeedName(const std::string &val)
Definition Wind2D.h:71
nidas::core::dsm_sample_id_t _wind_sample_id
Store the ID of the sample containing the wind variables.
Definition Wind2D.h:138
unsigned int _outlen
Length of output sample.
Definition Wind2D.h:131
int _vIndex
Index of wind v component in output sample.
Definition Wind2D.h:126
std::string _dirName
Definition Wind2D.h:102
WindOrienter & getOrienter()
Provide access to the orienter, mostly for testing.
Definition Wind2D.h:91
void validate()
Implementation of DSMSensor::validate for a Character Sensor.
Definition Wind2D.cc:79
std::string _vName
Definition Wind2D.h:106
int _speedIndex
Index of wind speed in output sample.
Definition Wind2D.h:111
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:147
Wind2D()
Definition Wind2D.cc:56
const std::string & getUName() const
Definition Wind2D.h:77
void setVName(const std::string &val)
Definition Wind2D.h:83
void setDirName(const std::string &val)
Definition Wind2D.h:75
int _uIndex
Index of wind u component in output sample.
Definition Wind2D.h:121
bool process(const nidas::core::Sample *samp, std::list< const nidas::core::Sample * > &results)
Definition Wind2D.cc:176
Wind2D & operator=(const Wind2D &x)
void fromDOMElement(const xercesc::DOMElement *node)
Definition Wind2D.cc:315
std::string _uName
Definition Wind2D.h:104
const std::string & getVName() const
Definition Wind2D.h:81
std::string _speedName
Definition Wind2D.h:100
const std::string & getDirName() const
Definition Wind2D.h:73
nidas::core::VariableConverter * _speedConverter
A correction can be applied to the wind speed.
Definition Wind2D.h:154
void setUName(const std::string &val)
Definition Wind2D.h:79
int _dirIndex
Index of wind direction in output sample.
Definition Wind2D.h:116
const std::string & getSpeedName() const
Definition Wind2D.h:69
WindOrienter _orienter
Definition Wind2D.h:156
~Wind2D()
Definition Wind2D.cc:65
A class for rotating winds according to different orientations of the wind sensor.
Definition WindOrienter.h:45
Sample * getSample(sampleType type, unsigned int len)
A convienence method for getting a sample of an enumerated type from a pool.
Definition Sample.cc:70
unsigned int dsm_sample_id_t
Definition Sample.h:64
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31