Zserio C++17 runtime library
0.5.0
Built for Zserio 2.17.0
|
#include <IService.h>
Public Member Functions | |
virtual | ~IBasicServiceData ()=default |
virtual IBasicIntrospectableViewConstPtr< ALLOC > | getIntrospectable () const =0 |
virtual Span< const uint8_t > | getData () const =0 |
Service data interface.
When introspectable interface is available, holds the introspectable object, otherwise holds serialized data.
Definition at line 22 of file IService.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Gets service data as bytes.
Implemented in zserio::BasicRawServiceDataView< ALLOC >, zserio::BasicRawServiceDataHolder< ALLOC >, zserio::BasicObjectServiceData< ALLOC >, and zserio::BasicIntrospectableServiceData< ZSERIO_OBJECT, ALLOC >.
|
pure virtual |
Gets introspectable representing the service data (if available).
Implemented in zserio::BasicRawServiceDataView< ALLOC >, zserio::BasicRawServiceDataHolder< ALLOC >, zserio::BasicObjectServiceData< ALLOC >, and zserio::BasicIntrospectableServiceData< ZSERIO_OBJECT, ALLOC >.