Template Function MessageSerialization::serialize_field(const INTROSPECTION_CPP_MEMBER *, void *, cbor::TxStream&)
Defined in File MessageSerialization.h
Function Documentation
-
template<typename T>
void MessageSerialization::serialize_field(const INTROSPECTION_CPP_MEMBER *member, void *field, cbor::TxStream &stream) Serialize a C++ field.
The type support introspection information is used to know if a specific data type is a single item, a sequence or a vector. Based on this conclusion a specific interpretation is passed to the stream.
- Parameters:
member – Pointer to the member containing type support informations
field – Pointer to the origin memory address of the elementary data
stream – The stream used to send data