Aria  2.8.0
ArSZSeriesPacketReceiver Class Reference

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)
 
ArDeviceConnectiongetDeviceConnection (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

ArDeviceConnectionmyConn
 
ArLog::LogLevel myInfoLogLevel
 
bool myIsSZ00
 
char myName [1024]
 
unsigned int myNameLength
 
ArSZSeriesPacket myPacket
 
unsigned short myPrevCrc
 
unsigned char myReadBuf [100000]
 
int myReadCount
 

Detailed Description

Given a device connection it receives packets from the sick through it.


The documentation for this class was generated from the following files: