Zserio C++ runtime library
1.2.0
Built for Zserio 2.16.0
|
#include <IService.h>
Public Member Functions | |
BasicRawServiceDataHolder (const vector< uint8_t, ALLOC > &rawData) | |
BasicRawServiceDataHolder (vector< uint8_t, ALLOC > &&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 owns the data.
Definition at line 132 of file IService.h.
|
inlineexplicit |
Constructor from vector const l-value reference.
rawData | Raw data to be copied inside the service data. |
Definition at line 140 of file IService.h.
|
inlineexplicit |
Constructor from vector r-value reference.
rawData | Raw data to be moved inside the service data. |
Definition at line 149 of file IService.h.
|
inlineoverridevirtual |
Gets service data as bytes.
Implements zserio::IBasicServiceData< std::allocator< uint8_t > >.
Definition at line 158 of file IService.h.
|
inlineoverridevirtual |
Gets reflectable representing the service data (if available).
Implements zserio::IBasicServiceData< std::allocator< uint8_t > >.
Definition at line 153 of file IService.h.