Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
#include <IService.h>
Public Member Functions | |
template<typename ZSERIO_OBJECT > | |
BasicObjectServiceData (ZSERIO_OBJECT &object, const ALLOC &allocator=ALLOC()) | |
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 based on objects generated by Zserio.
Definition at line 97 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 107 of file IService.h.
|
inlineoverridevirtual |
Gets service data as bytes.
Implements zserio::IBasicServiceData< std::allocator< uint8_t > >.
Definition at line 119 of file IService.h.
|
inlineoverridevirtual |
Gets reflectable representing the service data (if available).
Implements zserio::IBasicServiceData< std::allocator< uint8_t > >.
Definition at line 114 of file IService.h.