8 #ifndef DAQ_CONVERSION_HPP_
9 #define DAQ_CONVERSION_HPP_
13 #include <string_view>
23 daqif::DaqStatus&
operator<<(daqif::DaqStatus& status, Status
const& rhs);
28 Status&
operator<<(Status& status, daqif::DaqStatus
const& rhs);
33 std::filesystem::space_info&
34 operator<<(std::filesystem::space_info& space, daqif::StorageStatus
const& rhs);
40 operator<<(daqif::StorageStatus& storage, std::filesystem::space_info& rhs);
57 std::string_view
ToString(daqif::DaqState state) noexcept;
62 std::string_view
ToString(daqif::DaqSubState state) noexcept;
Contains State support functions for daqif.
daqif::DaqStatus & operator<<(daqif::DaqStatus &status, daq::Status const &rhs)
Convert daq::Status -> daqif::DaqStatus by populating from rhs.
daqif::FullState MakeState(State state) noexcept
Converts daq::State to DaqSubstate.
std::string_view ToString(daqif::DaqState state) noexcept
State
Observable states of the data acquisition process.
Describes the full state and substate.
Config class header file.