HORIBA C++ SDK
Library for HORIBA devices
|
Device Manager using the ICL to communicate with connected Horiba devices. More...
#include <icl_device_manager.h>
Public Member Functions | |
ICLDeviceManager (std::shared_ptr< horiba::os::Process > icl_process, std::string websocket_ip="127.0.0.1", std::string websocket_port="25010", bool manage_icl_lifetime=true, bool enable_binary_messages=false) | |
Creates a device manager that uses the ICL to communicate with the devices. | |
void | start () override |
Starts the ICL device manager. Also starts the icl.exe if managing its lifecycle. | |
void | stop () override |
Stops the ICL device manager. Also stops the icl.exe if managing its lifecycle. | |
void | discover_devices (bool error_on_no_device=false) override |
Discovers connected Horiba devices to the ICL. | |
std::vector< std::shared_ptr< horiba::devices::single_devices::Monochromator > > | monochromators () const override |
The connected monochromators. | |
std::vector< std::shared_ptr< horiba::devices::single_devices::ChargeCoupledDevice > > | charge_coupled_devices () const override |
The connected charge coupled devices. | |
std::vector< std::shared_ptr< horiba::devices::single_devices::SpectrAcq3 > > | spectracq3_devices () const override |
The connected SpectrAcq3s. | |
![]() | |
virtual | ~DeviceManager ()=default |
Device Manager using the ICL to communicate with connected Horiba devices.
|
explicit |
Creates a device manager that uses the ICL to communicate with the devices.
icl_process | The process representing the icl.exe |
websocket_ip | The ip where the icl.exe is accepting connections |
websocket_port | The port where the icl.exe is accepting connections |
manage_icl_lifetime | Whether to start and stop the icl.exe |
enable_binary_messages | Whether to enable or not binary messages comming from the ICL |
|
nodiscardoverridevirtual |
The connected charge coupled devices.
Implements horiba::devices::DeviceManager.
|
overridevirtual |
Discovers connected Horiba devices to the ICL.
error_on_no_device | Whether to throw an exception if no devices have been found. |
Implements horiba::devices::DeviceManager.
|
nodiscardoverridevirtual |
The connected monochromators.
Implements horiba::devices::DeviceManager.
|
nodiscardoverridevirtual |
|
overridevirtual |
Starts the ICL device manager. Also starts the icl.exe if managing its lifecycle.
Implements horiba::devices::DeviceManager.
|
overridevirtual |
Stops the ICL device manager. Also stops the icl.exe if managing its lifecycle.
Implements horiba::devices::DeviceManager.