HORIBA C++ SDK
Library for HORIBA devices
Loading...
Searching...
No Matches
device_manager.h
Go to the documentation of this file.
1#ifndef DEVICE_MANAGER_H
2#define DEVICE_MANAGER_H
3
4#include <memory>
5#include <vector>
6
8class Monochromator;
10class SpectrAcq3;
11} /* namespace horiba::devices::single_devices */
12
13namespace horiba::devices {
14
20 public:
21 virtual ~DeviceManager() = default;
22
26 virtual void start() = 0;
27
31 virtual void stop() = 0;
32
39 virtual void discover_devices(bool error_on_no_device = false) = 0;
40
46 [[nodiscard]] virtual std::vector<
47 std::shared_ptr<horiba::devices::single_devices::Monochromator>>
48 monochromators() const = 0;
49
55 [[nodiscard]] virtual std::vector<
56 std::shared_ptr<horiba::devices::single_devices::ChargeCoupledDevice>>
58
64 [[nodiscard]] virtual std::vector<
65 std::shared_ptr<horiba::devices::single_devices::SpectrAcq3>>
66 spectracq3_devices() const = 0;
67};
68} /* namespace horiba::devices */
69
70#endif /* ifndef DEVICE_MANAGER_H */
Responsible to detect and and manage Horiba devices connected to the computer.
Definition device_manager.h:19
virtual void start()=0
Starts the device manager.
virtual void stop()=0
Stops the device manager.
virtual ~DeviceManager()=default
virtual std::vector< std::shared_ptr< horiba::devices::single_devices::SpectrAcq3 > > spectracq3_devices() const =0
The connected SpectrAcq3s.
virtual void discover_devices(bool error_on_no_device=false)=0
Discovers devices connected to the computer.
virtual std::vector< std::shared_ptr< horiba::devices::single_devices::Monochromator > > monochromators() const =0
The connected monochromators.
virtual std::vector< std::shared_ptr< horiba::devices::single_devices::ChargeCoupledDevice > > charge_coupled_devices() const =0
The connected charge coupled devices.
Represents a CCD camera.
Definition ccd.h:24
Represents a Monochromator.
Definition mono.h:20
Represents a SpectrAcq3 device.
Definition spectracq3.h:75
Definition device_manager.h:7
Definition ccds_discovery.h:11