1 #ifndef _VNPROTOCOL_UART_PACKETFINDER_H_
2 #define _VNPROTOCOL_UART_PACKETFINDER_H_
9 #include "vn/util/boostpython.h"
39 typedef void (*ValidPacketFoundHandler)(
void* userData,
Packet& packet,
size_t runningIndexOfPacketStart,
xplat::TimeStamp timestamp);
59 void processReceivedData(
char data[],
size_t length);
67 void processReceivedData(
char data[],
size_t length,
xplat::TimeStamp timestamp);
71 void processReceivedData(boost::python::list data);
81 void registerPossiblePacketFoundHandler(
void* userData, ValidPacketFoundHandler handler);
84 void unregisterPossiblePacketFoundHandler();
88 boost::python::object* register_packet_found_handler( PyObject* callable);
Helps with management of communication with a sensor using the UART protocol.
Definition: packetfinder.h:25
Identifies a derived class as being unable to be copied and prevents copy attempts.
Definition: nocopy.h:21
Structure representing a UART packet received from the VectorNav sensor.
Definition: packet.h:16