EmbeddedProto
2.0.0
EmbeddedProto is a C++ Protocol Buffer implementation specifically suitable for microcontrollers.
|
#include <MessageInterface.h>
Public Member Functions | |
MessageInterface ()=default | |
virtual | ~MessageInterface ()=default |
Error | serialize_with_id (uint32_t field_number, ::EmbeddedProto::WriteBufferInterface &buffer) const final |
virtual void | clear ()=0 |
Clear the content of this message and set it to it's default state. More... | |
Public Member Functions inherited from EmbeddedProto::Field | |
Field ()=default | |
virtual | ~Field ()=default |
virtual Error | serialize_with_id (uint32_t field_number, WriteBufferInterface &buffer) const =0 |
virtual Error | serialize (WriteBufferInterface &buffer) const =0 |
virtual Error | deserialize (ReadBufferInterface &buffer)=0 |
uint32_t | serialized_size () const |
Calculate the size of this message when serialized. More... | |
|
default |
|
virtualdefault |
|
pure virtual |
Clear the content of this message and set it to it's default state.
The defaults are to be set according to the Protobuf standard.
Implements EmbeddedProto::Field.
|
final |