2 #ifndef _ED247_STREAM_ASSISTANT_H_ 3 #define _ED247_STREAM_ASSISTANT_H_ 6 #include "ed247_signal.h" 7 #include "ed247_sample.h" 27 Stream* get_api_stream() {
return _stream; }
30 virtual bool write(
const Signal& signal,
const void* data, uint32_t size) = 0;
32 virtual bool read(
const Signal& signal,
const void** data, uint32_t* size) = 0;
41 bool was_written() {
return _was_written; }
60 virtual bool write(
const Signal& signal,
const void* data, uint32_t size)
override;
61 virtual bool read(
const Signal& signal,
const void** data, uint32_t * size)
override;
73 virtual bool write(
const Signal& signal,
const void* data, uint32_t size)
override;
74 virtual bool read(
const Signal& signal,
const void** data, uint32_t * size)
override;
83 std::unordered_map<uint32_t, Sample> _signal_samples;
Definition: ed247_sample.h:14
Definition: ed247_signal.h:42
Timestamp structure, seconds from EPOCH (January 1st 1970) and nanoseconds offset with reference to p...
Definition: ed247.h:209
Definition: ed247_stream_assistant.h:55
Definition: ed247_stream.h:43
Definition: ed247_stream_assistant.h:68
ed247_status_t
Status codes.
Definition: ed247.h:67
Definition: ed247_channel.cpp:37
Definition: ed247_stream_assistant.h:11
Definition: ed247_stream_assistant.h:20
Sample Details.
Definition: ed247.h:909