HORIBA C++ SDK
Library for HORIBA devices
Loading...
Searching...
No Matches
horiba::devices::single_devices::Device Class Referenceabstract

Interface for devices connected to the ICL. More...

#include <device.h>

Inheritance diagram for horiba::devices::single_devices::Device:

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)
 

Detailed Description

Interface for devices connected to the ICL.

Constructor & Destructor Documentation

◆ Device()

horiba::devices::single_devices::Device::Device ( int id,
std::shared_ptr< communication::Communicator > communicator )

◆ ~Device()

virtual horiba::devices::single_devices::Device::~Device ( )
virtualdefault

Member Function Documentation

◆ close()

virtual void horiba::devices::single_devices::Device::close ( )
pure virtual

◆ device_id()

int horiba::devices::single_devices::Device::device_id ( ) const
nodiscard

◆ execute_command()

communication::Response horiba::devices::single_devices::Device::execute_command ( const communication::Command & command)
protected

◆ open()

virtual void horiba::devices::single_devices::Device::open ( )
virtual

The documentation for this class was generated from the following file: