Aria
2.8.0
|
Given a device connection it receives packets from the sick through it. More...
#include <ArSZSeries.h>
Public Member Functions | |
ArSZSeriesPacketReceiver () | |
Constructor with assignment of a device connection. | |
unsigned short | CRC16 (unsigned char *, int) |
ArDeviceConnection * | getDeviceConnection (void) |
Gets the device this instance receives packets from. | |
ArSZSeriesPacket * | receivePacket (unsigned int msWait=0, bool shortcut=false) |
Receives a packet from the robot if there is one available. | |
void | setDeviceConnection (ArDeviceConnection *conn) |
Sets the device this instance receives packets from. | |
void | setmyInfoLogLevel (ArLog::LogLevel infoLogLevel) |
void | setmyIsSZ00 (bool isSZ00) |
void | setmyName (const char *name) |
virtual | ~ArSZSeriesPacketReceiver () |
Destructor. | |
Protected Attributes | |
ArDeviceConnection * | myConn |
ArLog::LogLevel | myInfoLogLevel |
bool | myIsSZ00 |
char | myName [1024] |
unsigned int | myNameLength |
ArSZSeriesPacket | myPacket |
unsigned short | myPrevCrc |
unsigned char | myReadBuf [100000] |
int | myReadCount |
Given a device connection it receives packets from the sick through it.