ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
message.hpp
Go to the documentation of this file.
1 /**
2  * @file
3  * @ingroup daq_dpm_common
4  * @copyright 2022 ESO - European Southern Observatory
5  *
6  * @brief Message declarations shared between daqDpmServer and daqDpmMerge
7  */
8 #include <chrono>
9 
10 #include <daq/fits/keyword.hpp>
11 
12 namespace daq::dpm::message {
13 
14 struct BaseMessage {
15  std::chrono::system_clock::time_point timestamp;
16 };
17 
19  std::string alert_type;
20 };
21 
22 /**
23  */
26  std::string message;
27 };
28 
29 } // namespace daq::dpm::message
Contains data structure for FITS keywords.
std::variant< ValueKeyword, EsoKeyword, LiteralKeyword > KeywordVariant
The different variants of keywords that are supported.
Definition: keyword.hpp:400
std::chrono::system_clock::time_point timestamp
Definition: message.hpp:15
fits::KeywordVariant keyword
Definition: message.hpp:25