|
libRBR
v1.2.3
RBR instrument communication API
|
A set of callbacks from parser to user code. More...
#include <RBRParser.h>

Data Fields | |
| RBRParserSampleCallback | sample |
| Called when a sample has been parsed. More... | |
| RBRInstrumentSample * | sampleBuffer |
| Where to put sample data for consumption by the sample callback. More... | |
| RBRParserEventCallback | event |
| Called when an event has been parsed. More... | |
| RBRInstrumentEvent * | eventBuffer |
| Where to put event data for consumption by the event callback. More... | |
A set of callbacks from parser to user code.
All of the callback functions are optional; however, where any callback function is provided, the corresponding buffer must also be provided, or else RBRParser_init() will return RBRINSTRUMENT_MISSING_CALLBACK.
| RBRParserEventCallback RBRParserCallbacks::event |
Called when an event has been parsed.
Requires that RBRParserCallbacks.eventBuffer also be populated.
| RBRInstrumentEvent* RBRParserCallbacks::eventBuffer |
Where to put event data for consumption by the event callback.
Required only when RBRParserCallbacks.event is populated.
| RBRParserSampleCallback RBRParserCallbacks::sample |
Called when a sample has been parsed.
Requires that RBRParserCallbacks.sampleBuffer also be populated.
| RBRInstrumentSample* RBRParserCallbacks::sampleBuffer |
Where to put sample data for consumption by the sample callback.
Required only when RBRParserCallbacks.sample is populated.
1.8.17