Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
#include <IService.h>
Public Member Functions | |
BasicRawServiceDataView (zserio::Span< const uint8_t > rawData) | |
IBasicReflectableConstPtr< ALLOC > | getReflectable () const override |
Span< const uint8_t > | getData () const override |
Public Member Functions inherited from zserio::IBasicServiceData< std::allocator< uint8_t > > | |
virtual | ~IBasicServiceData ()=default |
Service data implementation which only keeps pointer to the raw data buffer.
Must be used with caution only when the proper life-time of the data is ensured.
Definition at line 173 of file IService.h.
|
inlineexplicit |
Constructor from span.
rawData | Span as a pointer to the raw data buffer. |
Definition at line 181 of file IService.h.
|
inlineoverridevirtual |
Gets service data as bytes.
Implements zserio::IBasicServiceData< std::allocator< uint8_t > >.
Definition at line 190 of file IService.h.
|
inlineoverridevirtual |
Gets reflectable representing the service data (if available).
Implements zserio::IBasicServiceData< std::allocator< uint8_t > >.
Definition at line 185 of file IService.h.