8 #ifndef OCM_DAQ_DAQ_CONTEXT_HPP_
9 #define OCM_DAQ_DAQ_CONTEXT_HPP_
87 std::vector<daq::fits::KeywordVariant>
keywords;
Contains declaration for DpPart.
Contains data structure for FITS keywords.
std::vector< KeywordVariant > KeywordVector
Vector of keywords.
void UpdateKeywords(DaqContext &ctx, fits::KeywordVector const &keywords)
Updates (adds or replaces) primary HDU keywords.
void AddDpParts(DaqContext &ctx, std::vector< DpPart > const &parts)
bool operator==(DaqContext const &lhs, DaqContext const &rhs) noexcept
std::vector< DpPart > DpParts
Config class header file.
Declarations for daq::Source and related classes.
Structure carrying context needed to start a Data Acquisition and construct a Data Product Specificat...
std::vector< Source > meta_sources
DpParts results
Results from Data Acquisition (FITS files and keywords).
DaqContext & operator=(DaqContext &&)=default
std::string process_name
User defined process name.
std::vector< daq::fits::KeywordVariant > keywords
Keyword list provided by OCM to Data Product.
std::vector< Source > prim_sources
DaqContext(DaqContext const &)=default
std::chrono::milliseconds await_interval
Interval (and thus duration) of the requests sent to primary sources to await end of recording.
std::optional< json::StartDaqV2Spec > specification
Optional specification, if DAQ was started using StartDaqV2.
std::string file_id
Data Product FileId as specified by OLAS ICD.
std::string dp_name_prefix
Data product file name prefix.
std::chrono::system_clock::time_point creation_time
Time when DAQ was created.
DaqContext(DaqContext &&)=default
std::string id
DAQ identfier, possibly provided by user.
DaqContext & operator=(DaqContext const &)=default