ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Namespaces | Functions
json.hpp File Reference

Declares JSON support for serialization. More...

#include <nlohmann/json.hpp>
#include <daq/state.hpp>
#include <daq/daqContext.hpp>

Go to the source code of this file.

Namespaces

 daq
 

Functions

NLOHMANN_JSON_SERIALIZE_ENUM(State, { {State::NotStarted, "NotStarted"}, {State::Starting, "Starting"}, {State::Acquiring, "Acquiring"}, {State::Stopping, "Stopping"}, {State::Stopped, "Stopped"}, {State::NotScheduled, "NotScheduled"}, {State::Scheduled, "Scheduled"}, {State::Transferring, "Transferring"}, {State::Merging, "Merging"}, {State::Releasing, "Releasing"}, {State::AbortingAcquiring, "AbortingAcquiring"}, {State::AbortingMerging, "AbortingMerging"}, {State::Aborted, "Aborted"}, {State::Completed, "Completed"}, }) void to_json(nlohmann void daq::to_json (nlohmann::json &j, Alert const &p)
 
void daq::to_json (nlohmann::json &j, DaqContext const &p)
 
void daq::to_json (nlohmann::json &j, DaqContext::Source const &p)
 
void daq::to_json (nlohmann::json &j, DpPart const &p)
 
void daq::from_json (nlohmann::json const &j, Status &p)
 
void daq::from_json (nlohmann::json const &j, Alert &p)
 
void daq::from_json (nlohmann::json const &j, DaqContext &p)
 
void daq::from_json (nlohmann::json const &j, DaqContext::Source &p)
 
void daq::from_json (nlohmann::json const &j, DpPart &p)
 

Detailed Description

Declares JSON support for serialization.

Definition in file json.hpp.