Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions | Protected Member Functions
MessageBuilder::PayloadBuilder Struct Referenceabstract

Build a record payload. More...

#include <MessageBuilder.h>

Public Member Functions

virtual size_t size () const =0
 Return the size of the payload built by this object. More...
 
virtual void build (const Span< uint8_t > &buffer) const =0
 Build the payload in a buffer that has the required size. More...
 

Protected Member Functions

 ~PayloadBuilder ()
 Non virtual destructor. More...
 

Detailed Description

Build a record payload.

Definition at line 43 of file MessageBuilder.h.

Constructor & Destructor Documentation

~PayloadBuilder ( )
protected

Non virtual destructor.

Definition at line 62 of file MessageBuilder.h.

Member Function Documentation

virtual void build ( const Span< uint8_t > &  buffer) const
pure virtual

Build the payload in a buffer that has the required size.

Parameters
bufferThe buffer used to construct the payload.
virtual size_t size ( ) const
pure virtual

Return the size of the payload built by this object.

Returns
The size of the payload.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.