37#ifndef SCPILinuxGPIBTransport_h
38#define SCPILinuxGPIBTransport_h
46 SCPILinuxGPIBTransport(
const std::string& args);
47 ~SCPILinuxGPIBTransport();
50 SCPILinuxGPIBTransport(
const SCPILinuxGPIBTransport&) =
delete;
51 SCPILinuxGPIBTransport& operator=(
const SCPILinuxGPIBTransport&) =
delete;
53 std::string GetConnectionString()
override;
54 static std::string GetTransportName();
56 void FlushRXBuffer(
void)
override;
57 bool SendCommand(
const std::string& cmd)
override;
58 std::string ReadReply(
bool endOnSemicolon =
true)
override;
59 size_t ReadRawData(
size_t len,
unsigned char* buf, std::function<
void(
float)> progress =
nullptr)
override;
60 void SendRawData(
size_t len,
const unsigned char* buf)
override;
62 bool IsCommandBatchingSupported()
override;
63 bool IsConnected()
override;
65 TRANSPORT_INITPROC(SCPILinuxGPIBTransport)
68 std::string m_devicePath;
Abstraction of a transport layer for moving SCPI data between endpoints.
Definition: SCPITransport.h:47