35#include <NDEVR/Connection.h>
43 class SocketIOChannel;
61 virtual void tx(
const String& command)
override;
64 virtual bool isOpen()
const override;
70 QByteArray m_channel_write_buffer;
71 QByteArray m_channel_read_buffer;
73 std::mutex m_critical_section;
74 bool m_is_open =
false;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Provides the unseen backend logic for setting up, tearing down, and sending data over a specific type...
Definition Connection.h:153
Stores factories that can be registered for creating Connections of various types.
Definition Connection.h:177
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
A light-weight base class for Log that allows processes to update, without the need for additional in...
Definition ProgressInfo.hpp:48
A ConnectionFactory that enables the creation of a SocketIODriver for interfacing with a SocketIO.
Definition SocketIODriver.h:81
virtual Buffer< ConnectionInfo > availableConnections(const ConnectionSearchParamaters ¶ms) override
virtual Buffer< ConnectionCategory > availableConnectionCatagories() override
virtual bool handlesType(const String &request) const override
virtual ConnectionBackend * createConnection(const ConnectionInfo &request) override
A ConnectionBackend that allows the software to interface with SocketIO for communicating with across...
Definition SocketIODriver.h:49
virtual void tx(const String &command) override
virtual uint04 rx(char *s, uint04 max_size=Constant< uint04 >::Max) override
~SocketIODriver()=default
SocketIODriver & operator=(const SocketIODriver &other)=delete
virtual void close() override
SocketIODriver(DynamicPointer< SocketIOChannel > socket, ProgressInfo *log=nullptr)
virtual bool isOpen() const override
SocketIODriver(const SocketIODriver &other)=delete
SocketIODriver(ProgressInfo *log=nullptr)
SocketIODriver & operator=(SocketIODriver &&other)=delete
SocketIODriver(SocketIODriver &&other)=delete
virtual TranslatedString lastError() const override
virtual bool waitForReadyRead(const TimeSpan &span) override
virtual uint04 bytesAvailable() const override
virtual uint04 peek(char *s, uint04 size=Constant< uint04 >::Max) const override
virtual bool open(const ConnectionInfo &request) override
The core String class for the NDEVR API.
Definition String.h:69
Stores a time span, or difference between two times, with an optional start time.
Definition TimeSpan.h:46
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
A structure designed to store information about a specific Connection.
Definition Connection.h:97
Describes settings for performing a Connection search.
Definition Connection.h:136
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233