Zserio C++17 runtime library
0.5.0
Built for Zserio 2.17.0
|
#include <IService.h>
Public Member Functions | |
BasicIntrospectableServiceData (ZSERIO_OBJECT &&response, const ALLOC &allocator=ALLOC()) | |
IBasicIntrospectableViewConstPtr< ALLOC > | getIntrospectable () const override |
Span< const uint8_t > | getData () const override |
![]() | |
virtual | ~IBasicServiceData ()=default |
Service data implementation based on introspectable interface.
Holds reference to the introspectable object and lazy-initialized serialized data in case that getData() is used.
Definition at line 54 of file IService.h.
|
inlineexplicit |
Constructor from introspectable.
introspectable | Constant introspectable created from zserio request object. |
allocator | Allocator to use for data allocation. |
Definition at line 63 of file IService.h.
|
inlineoverridevirtual |
Lazy initialized data serialized using the introspectable object.
Gets service data as bytes.
Implements zserio::IBasicServiceData< std::allocator< uint8_t > >.
Definition at line 79 of file IService.h.
|
inlineoverridevirtual |
Gets introspectable representing the service data (if available).
Implements zserio::IBasicServiceData< std::allocator< uint8_t > >.
Definition at line 69 of file IService.h.