Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

ArLMS1XXPacketReceiver Class Reference

#include <ArLMS1XX.h>

List of all members.


Detailed Description

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


Public Member Functions

 ArLMS1XXPacketReceiver ()
 Constructor with assignment of a device connection.
ArDeviceConnectiongetDeviceConnection (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

ArDeviceConnectionmyConn
char myName [1024]
unsigned int myNameLength
ArLMS1XXPacket myPacket
char myReadBuf [100000]
int myReadCount
State myState


Member Enumeration Documentation

enum ArLMS1XXPacketReceiver::State [protected]
 

Enumeration values:
STARTING  Looking for beginning.
DATA  Read the data in a big whack.
REMAINDER  Have extra data from reading in data.


The documentation for this class was generated from the following files:
Generated on Thu Jan 7 10:34:42 2010 for Aria by  doxygen 1.4.2