1#ifndef CCD_DEVICES_DISCOVERY_H
2#define CCD_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;
39 std::vector<std::shared_ptr<single_devices::ChargeCoupledDevice>>
43 std::shared_ptr<horiba::communication::Communicator> communicator;
44 std::vector<std::shared_ptr<single_devices::ChargeCoupledDevice>> ccds;
46 std::vector<std::shared_ptr<single_devices::ChargeCoupledDevice>> parse_ccds(
47 nlohmann::json raw_ccds);
std::vector< std::shared_ptr< single_devices::ChargeCoupledDevice > > charge_coupled_devices() const
CCDs that have been discovered after calling the execute() function.
~ChargeCoupledDevicesDiscovery() override=default
ChargeCoupledDevicesDiscovery(std::shared_ptr< horiba::communication::Communicator > communicator)
Builds a CCD discovery.
void execute(bool error_on_no_devices) noexcept(false) override
Executes the CCD discovery.
Interface for device discoveries on the ICL.
Definition device_discovery.h:9
Definition ccds_discovery.h:11