|

INTRODUCTION
Overview
Download and Install
Documentation
Publications
REPOSITORY
Libraries
DEVELOPER
Dev Guide
Dashboard
PEOPLE
Contributors
Users

Project
Download
Mailing lists
|
|
|
1 #ifndef GBXSERIALDEVICEACFR_STICKINBUFFERCALLBACK_H
2 #define GBXSERIALDEVICEACFR_STICKINBUFFERCALLBACK_H
4 #include <gbxsickacfr/gbxserialdeviceacfr/serialdevicehandler.h>
5 #include <gbxsickacfr/gbxiceutilacfr/buffer.h>
7 namespace gbxserialdeviceacfr {
16 : timeStampSec(s), timeStampUsec(us), msg(r) {}
32 StickInBufferCallback() {}
35 void msgReceived( const RxMsgPtr &msg,
38 { rxMsgBuffer_.push( TimedRxMsg( timeStampSec, timeStampUsec, msg ) ); }
Definition: serialdevicehandler.h:66
Received message plus a timeStamp: a simple container to keep the two together. Definition: stickinbuffercallback.h:10
A thread-safe data pipe with buffer semantics. Definition: buffer.h:45
|
|