13#ifndef HLCC_AMBIENTDATACLIENT_AMBIENTDATA_HPP
14#define HLCC_AMBIENTDATACLIENT_AMBIENTDATA_HPP
19#include <boost/asio/thread_pool.hpp>
21#include <ptk/posastro.hpp>
22#include <rad/logger.hpp>
23#include <rad/cii/oldbAdapter.hpp>
24#include <TrsHksRrIcd.hpp>
53 AmbientData(log4cplus::Logger& logger, rad::cii::OldbAdapter& oldb);
147 ptk::Arcsecs
GetXp()
const;
156 void SetXp(ptk::Arcsecs xp);
164 ptk::Arcsecs
GetYp()
const;
173 void SetYp(ptk::Arcsecs yp);
180 log4cplus::Logger& m_logger;
209 rad::cii::OldbAdapter& m_oldb;
214 mutable std::recursive_mutex m_mutex {};
223 boost::asio::thread_pool m_async_exec;
234 std::atomic<bool> m_reading_busy;
239 double m_temperature;
269 double m_observing_wavelength {650*1e-9};
double GetHumidity() const
Definition ambientData.cpp:289
bool RefreshTrs(std::string hksrr_uri)
Definition ambientData.cpp:51
void RefreshAsm()
Definition ambientData.cpp:231
ptk::Arcsecs GetXp() const
Definition ambientData.cpp:324
ptk::Dut1 GetDut1() const
Definition ambientData.cpp:312
void SetYp(ptk::Arcsecs yp)
Definition ambientData.cpp:342
void RefreshAsmAsync()
Definition ambientData.cpp:259
double GetTemperature() const
Definition ambientData.cpp:277
AsmData ReadAsm()
Definition ambientData.cpp:102
ptk::Arcsecs GetYp() const
Definition ambientData.cpp:336
virtual ~AmbientData()
Definition ambientData.cpp:46
double GetPressure() const
Definition ambientData.cpp:283
AmbientData(log4cplus::Logger &logger, rad::cii::OldbAdapter &oldb)
Definition ambientData.cpp:31
void SetDut1(ptk::Dut1 dut1)
Definition ambientData.cpp:318
void SetXp(ptk::Arcsecs xp)
Definition ambientData.cpp:330
double GetObservingWavelength() const
Definition ambientData.cpp:295
void SetObservingWavelength(double observing_wavelength)
Definition ambientData.cpp:301
Definition requestor.hpp:39
Definition ambientData.cpp:29
Requestor class header file.
Definition ambientData.hpp:35
double air_temperature
Definition ambientData.hpp:37
bool data_quality
Definition ambientData.hpp:36
double relative_humidity_average
Definition ambientData.hpp:40
double ambient_pressure_average
Definition ambientData.hpp:42
double relative_humidity
Definition ambientData.hpp:39
double ambient_pressure
Definition ambientData.hpp:41
double air_temperature_average
Definition ambientData.hpp:38