Zserio C++17 runtime library
0.5.0
Built for Zserio 2.17.0
|
#include <IService.h>
Public Member Functions | |
template<typename ZSERIO_OBJECT > | |
BasicObjectServiceData (const ZSERIO_OBJECT &object, const ALLOC &allocator=ALLOC()) | |
IBasicIntrospectableViewConstPtr< ALLOC > | getIntrospectable () const override |
Span< const uint8_t > | getData () const override |
![]() | |
virtual | ~IBasicServiceData ()=default |
Service data implementation based on objects generated by Zserio.
Definition at line 99 of file IService.h.
|
inlineexplicit |
Constructor from zserio-generated object.
object | Reference to zserio object. |
allocator | Allocator to use for data allocation |
Definition at line 109 of file IService.h.
|
inlineoverridevirtual |
Gets service data as bytes.
Implements zserio::IBasicServiceData< std::allocator< uint8_t > >.
Definition at line 118 of file IService.h.
|
inlineoverridevirtual |
Gets introspectable representing the service data (if available).
Implements zserio::IBasicServiceData< std::allocator< uint8_t > >.
Definition at line 113 of file IService.h.