HORIBA C++ SDK
Library for HORIBA devices
|
Interface for devices connected to the ICL. More...
#include <device.h>
Public Member Functions | |
Device (int id, std::shared_ptr< communication::Communicator > communicator) | |
virtual | ~Device ()=default |
virtual void | open () |
Opens the device. | |
virtual void | close ()=0 |
Closes the device. | |
int | device_id () const |
Protected Member Functions | |
communication::Response | execute_command (const communication::Command &command) |
Interface for devices connected to the ICL.
horiba::devices::single_devices::Device::Device | ( | int | id, |
std::shared_ptr< communication::Communicator > | communicator ) |
|
virtualdefault |
|
pure virtual |
Closes the device.
Implemented in horiba::devices::single_devices::ChargeCoupledDevice, horiba::devices::single_devices::Monochromator, and horiba::devices::single_devices::SpectrAcq3.
|
nodiscard |
|
protected |
|
virtual |
Opens the device.
Reimplemented in horiba::devices::single_devices::ChargeCoupledDevice, horiba::devices::single_devices::Monochromator, and horiba::devices::single_devices::SpectrAcq3.