16template <
typename StreamT>
51 template <
typename... Args>
std::string sendCommandUnlocked(const std::string &command) override
Sends a command without acquiring the communication mutex.
StreamT stream
Definition AsioInterface.hpp:43
asio::io_context ioContext
Definition AsioInterface.hpp:42
AsioInterface(Args &&... args)
Construct an AsioInterface, forwarding arguments to the stream.
Definition AsioInterface.hpp:52
std::string sendCommand(const std::string &command) override
Sends a command over the Asio stream and reads the response.
~AsioInterface() override=default
Abstract interface for communicating with a scanner.
Definition ICommInterface.hpp:45
Definition AsioInterface.hpp:5