Class Communication
Defined in File socket.hpp
Inheritance Relationships
Derived Type
public tcpComm
(Class tcpComm)
Class Documentation
-
class Communication
Subclassed by tcpComm
Public Functions
-
virtual int CommConnect(std::string addr, uint16_t port) = 0
-
virtual int CommRead(unsigned char *buffer, int buf_size) = 0
-
virtual int CommWrite(unsigned char *buffer, int buf_size) = 0
-
virtual void CommDisconnect() = 0
-
virtual bool IsConnected() = 0
Public Members
-
std::queue<std::vector<unsigned char>> recvQueue
-
virtual int CommConnect(std::string addr, uint16_t port) = 0