HORIBA C++ SDK
Library for HORIBA devices
|
Interface representing a communication channel with the ICL. More...
#include <communicator.h>
Public Member Functions | |
virtual | ~Communicator ()=default |
virtual void | open ()=0 |
Opens the communication channel with the ICL. | |
virtual void | close ()=0 |
Closes the communication channel with the ICL. | |
virtual bool | is_open ()=0 |
Checks if the communication channel is open or not. | |
virtual Response | request_with_response (const Command &command)=0 |
Sends a command to the ICL and returns the response. | |
Interface representing a communication channel with the ICL.
|
virtualdefault |
|
pure virtual |
Closes the communication channel with the ICL.
Implemented in horiba::communication::WebSocketCommunicator.
|
pure virtual |
Checks if the communication channel is open or not.
Implemented in horiba::communication::WebSocketCommunicator.
|
pure virtual |
Opens the communication channel with the ICL.
Implemented in horiba::communication::WebSocketCommunicator.
|
pure virtual |
Sends a command to the ICL and returns the response.
command | The command for the ICL |
Implemented in horiba::communication::WebSocketCommunicator.