#include <Communication.h>
Public Member Functions | |
bool | connectMulSock (const std::string &ip, int index) |
bool | connectSock () |
bool | disconnectSock () |
void | readFrame () |
void | readMulFrame (int index) |
uint8_t | readMulSock (void *buf, int count, int index) |
uint8_t | readSock (void *buf, int count) |
int | writeMulSock (const void *buf, int count, int i) |
int | writeSock (const void *buf, int count) |
Private Attributes | |
int | sockID |
int | sockIDList [1000] |
Definition at line 39 of file Communication.h.
bool Communication::connectMulSock | ( | const std::string & | ip, |
int | index | ||
) |
Definition at line 297 of file Communication.cpp.
bool Communication::connectSock | ( | ) |
Definition at line 69 of file Communication.cpp.
bool Communication::disconnectSock | ( | ) |
void Communication::readFrame | ( | ) |
Definition at line 239 of file Communication.cpp.
void Communication::readMulFrame | ( | int | index | ) |
Definition at line 475 of file Communication.cpp.
uint8_t Communication::readMulSock | ( | void * | buf, |
int | count, | ||
int | index | ||
) |
Definition at line 465 of file Communication.cpp.
uint8_t Communication::readSock | ( | void * | buf, |
int | count | ||
) |
Definition at line 229 of file Communication.cpp.
int Communication::writeMulSock | ( | const void * | buf, |
int | count, | ||
int | i | ||
) |
Definition at line 450 of file Communication.cpp.
int Communication::writeSock | ( | const void * | buf, |
int | count | ||
) |
Definition at line 223 of file Communication.cpp.
|
private |
Definition at line 58 of file Communication.h.
|
private |
Definition at line 59 of file Communication.h.