This structure hides the implementation of the payload so it can't be used improperly.
The only class that can access the payload is the base class for messages with payloads.
#include <FormItMessaging.h>
Public Member Functions | |
| template<typename T > | |
| MessagePayloadStruct (const T &x) | |
| MessagePayloadStruct () | |
| Constructor. | |
| json | to_json () const |
| to_json() function. | |
Friends | |
| struct | MessageWithPayloadStruct |
|
inline |
|
inline |
Constructor.
|
inline |
to_json() function.
|
friend |