It is meant to carry the payload of an Event. More...
#include <RTEventPayload.h>
Public Member Functions | |
RTEventPayload () | |
RTEventPayload (const char *payload, uint32_t size) | |
RTEventPayload (const RTEventPayload &payload) | |
Copy constructor needed du to the heap allocation of the payload. | |
virtual | ~RTEventPayload () |
template<typename T > | |
T * | getValue () |
Protected Attributes | |
char * | payload_ |
uint32_t | size_ |
It is meant to carry the payload of an Event.
Definition at line 15 of file RTEventPayload.h.
fesa::RTEventPayload::RTEventPayload | ( | ) |
Constructor
Definition at line 26 of file RTEventPayload.cpp.
fesa::RTEventPayload::RTEventPayload | ( | const char * | payload, | |
uint32_t | size | |||
) |
Constructor
payload | pointer to the payload | |
size | size of the payload |
Definition at line 11 of file RTEventPayload.cpp.
fesa::RTEventPayload::RTEventPayload | ( | const RTEventPayload & | payload | ) |
Copy constructor needed du to the heap allocation of the payload.
Copy Constructor
Definition at line 32 of file RTEventPayload.cpp.
fesa::RTEventPayload::~RTEventPayload | ( | ) | [virtual] |
T * fesa::RTEventPayload::getValue | ( | ) | [inline] |
returns the payload of the event
Definition at line 54 of file RTEventPayload.h.
References payload_.
char* fesa::RTEventPayload::payload_ [protected] |
Definition at line 49 of file RTEventPayload.h.
Referenced by getValue(), RTEventPayload(), and ~RTEventPayload().
uint32_t fesa::RTEventPayload::size_ [protected] |
Definition at line 50 of file RTEventPayload.h.
Referenced by RTEventPayload().