ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Declaration of OcmDaqService. More...
#include <daq/config.hpp>
#include <rad/ioExecutor.hpp>
#include <Daqif.hpp>
#include <boost/asio/io_context.hpp>
#include <daq/eventLog.hpp>
#include <daq/eventLogObserver.hpp>
#include <daq/manager.hpp>
#include <daq/daqContext.hpp>
#include <log4cplus/logger.h>
#include <mal/Mal.hpp>
Go to the source code of this file.
Classes | |
struct | ParsedSource |
class | OcmDaqService |
Implements the MAL interface daqif::OcmDaq (async version). More... | |
Functions | |
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... | |
daq::DaqContext | ParseStartDaqContext (std::string const &properties) |
Parse the JSON properties user provides with StartDaq. More... | |
Declaration of OcmDaqService.
Definition in file ocmDaqService.hpp.
std::ostream& operator<< | ( | std::ostream & | os, |
ParsedSource const & | s | ||
) |
Definition at line 88 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 93 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 130 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. |
Definition at line 46 of file ocmDaqService.cpp.