1#ifndef SPECTRACQ3_DEVICES_DISCOVERY_H
2#define SPECTRACQ3_DEVICES_DISCOVERY_H
9#include <nlohmann/json.hpp>
23 std::shared_ptr<horiba::communication::Communicator> communicator);
32 void execute(
bool error_on_no_devices)
noexcept(
false)
override;
40 [[nodiscard]] std::vector<std::shared_ptr<single_devices::SpectrAcq3>>
44 std::shared_ptr<horiba::communication::Communicator> communicator;
45 std::vector<std::shared_ptr<single_devices::SpectrAcq3>> saq3s;
47 std::vector<std::shared_ptr<single_devices::SpectrAcq3>> parse_saq3s(
48 nlohmann::json raw_saq3s);
Interface for device discoveries on the ICL.
Definition device_discovery.h:9
~SpectrAcq3sDiscovery() override=default
void execute(bool error_on_no_devices) noexcept(false) override
Executes the SpectrAcq3 discovery.
std::vector< std::shared_ptr< single_devices::SpectrAcq3 > > spectracq3s() const
SpectrAcq3s that have been discovered after calling the execute() function.
SpectrAcq3sDiscovery(std::shared_ptr< horiba::communication::Communicator > communicator)
Builds a SpectrAcq3 discovery.
Definition ccds_discovery.h:11