#include <ArLMS1XX.h>
Public Member Functions | |
ArLMS1XXPacketReceiver () | |
Constructor with assignment of a device connection. | |
ArDeviceConnection * | getDeviceConnection (void) |
Gets the device this instance receives packets from. | |
ArLMS1XXPacket * | 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. | |
virtual | ~ArLMS1XXPacketReceiver () |
Destructor. | |
Protected Types | |
enum | State { STARTING, DATA, REMAINDER } |
Protected Attributes | |
ArDeviceConnection * | myConn |
char | myName [1024] |
unsigned int | myNameLength |
ArLMS1XXPacket | myPacket |
char | myReadBuf [100000] |
int | myReadCount |
State | myState |
|
|