#include <icl_core/TimeSpan.h>
#include <icl_core_thread/PeriodicThread.h>
#include <icl_comm_serial/Serial.h>
#include <icl_comm/ByteOrderConversion.h>
#include <driver_svh/Logging.h>
#include <driver_svh/SVHSerialPacket.h>
#include <boost/function.hpp>
#include <boost/shared_ptr.hpp>
Go to the source code of this file.
Classes | |
class | driver_svh::SVHReceiveThread |
Thread for receiving messages from the serial device. More... | |
Namespaces | |
namespace | driver_svh |
Typedefs | |
typedef boost::function< void(const SVHSerialPacket &packet, unsigned int packet_count)> | driver_svh::ReceivedPacketCallback |
definition of boost function callback for received packages |
This file contains the ReceiveThread for the serial communication. In order to receive packages independently from the sending direction this thread periodically polls the serial interface for new data. If data is present a statemachine will evaluate the right packet structure and send the data to further parsing once a complete serial packaged is received
Definition in file SVHReceiveThread.h.