Go to the documentation of this file.
25 #include <sys/socket.h>
26 #include <arpa/inet.h>
43 bool open(std::string ipAddress,
UINT16 port,
bool enableVerboseDebugOutput =
false);
44 bool open(
UINT32 ipAddress,
UINT16 port,
bool enableVerboseDebugOutput =
false);
bool isClientConnected_unlocked()
uint64_t m_last_tcp_msg_received_nsec
std::list< unsigned char > m_rxBuffer
UINT32 getNumReadableBytes()
void * m_disconnectFunctionObjPtr
void(* DisconnectFunction)(void *obj)
void(* ReadFunction)(void *obj, UINT8 *inputBuffer, UINT32 &numBytes)
bool write(UINT8 *buffer, UINT32 numberOfBytes)
void setDisconnectCallbackFunction(DisconnectFunction discFunction, void *obj)
void * m_readFunctionObjPtr
struct sockaddr_in m_serverAddr
std::string readString(UINT8 delimiter)
bool m_longStringWarningPrinted
void setReadCallbackFunction(ReadFunction readFunction, void *obj)
ReadFunction m_readFunction
uint64_t getNanosecTimestampLastTcpMessageReceived(void)
UINT32 read(UINT8 *buffer, UINT32 bufferLen)
void readThreadFunction(bool &endThread, UINT16 &waitTimeMs)
DisconnectFunction m_disconnectFunction
SickThread< Tcp, &Tcp::readThreadFunction > * m_readThread
bool open(std::string ipAddress, UINT16 port, bool enableVerboseDebugOutput=false)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:12