ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
|
Declaration of OcmDaqService. More...
#include "ocmDaqService.hpp"
#include <algorithm>
#include <regex>
#include <fmt/format.h>
#include <fmt/ostream.h>
#include <log4cplus/loggingmacros.h>
#include <mal/rr/qos/ConnectionTime.hpp>
#include <nlohmann/json.hpp>
#include <daq/conversion.hpp>
#include <daq/daqController.hpp>
#include <daq/error/report.hpp>
#include <daq/fits/json.hpp>
#include <daqif/state.hpp>
#include <daq/json/startDaqV2.hpp>
#include "logger.hpp"
Go to the source code of this file.
Functions | |
daq::DaqContext | ParseStartDaqContext (std::string const &json_properties) |
Parse the JSON properties user provides with StartDaq. More... | |
std::ostream & | operator<< (std::ostream &os, ParsedSource const &s) |
ParsedSource | ParseSourceUri (std::string_view s) |
Parse user provided string in the format "<name>@<rr-uri>". More... | |
std::vector< ParsedSource > | ParseSourceUris (std::string_view s) |
Parse user provided string in the format "<name>@<rr-uri>[ <name>@...]". More... | |
Declaration of OcmDaqService.
Definition in file ocmDaqService.cpp.
std::ostream& operator<< | ( | std::ostream & | os, |
ParsedSource const & | s | ||
) |
Definition at line 117 of file ocmDaqService.cpp.
ParsedSource ParseSourceUri | ( | std::string_view | s | ) |
Parse user provided string in the format "<name>@<rr-uri>".
std::invalid_argument | on errors. |
Definition at line 122 of file ocmDaqService.cpp.
std::vector<ParsedSource> ParseSourceUris | ( | std::string_view | s | ) |
Parse user provided string in the format "<name>@<rr-uri>[ <name>@...]".
std::invalid_argument | on errors. |
Definition at line 159 of file ocmDaqService.cpp.
daq::DaqContext ParseStartDaqContext | ( | std::string const & | properties | ) |
Parse the JSON properties user provides with StartDaq.
{"keywords": KEYWORDS, "awaitInterval": DURATION}
nlohmann::json::exception | on parsing errors. |
std::invalid_argument | on argument errors. |
Definition at line 75 of file ocmDaqService.cpp.