fesa::RTEventPayload Class Reference

It is meant to carry the payload of an Event. More...

#include <RTEventPayload.h>

Inheritance diagram for fesa::RTEventPayload:
fesa::OnSubscriptionRTEventPayload

List of all members.

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_

Detailed Description

It is meant to carry the payload of an Event.

Definition at line 15 of file RTEventPayload.h.


Constructor & Destructor Documentation

fesa::RTEventPayload::RTEventPayload (  ) 

Constructor

Definition at line 26 of file RTEventPayload.cpp.

fesa::RTEventPayload::RTEventPayload ( const char *  payload,
uint32_t  size 
)

Constructor

Parameters:
payload pointer to the payload
size size of the payload

Definition at line 11 of file RTEventPayload.cpp.

References payload_, and size_.

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.

References payload_, and size_.

fesa::RTEventPayload::~RTEventPayload (  )  [virtual]

Destructor

Definition at line 18 of file RTEventPayload.cpp.

References payload_.


Member Function Documentation

template<typename T >
T * fesa::RTEventPayload::getValue (  )  [inline]

returns the payload of the event

Returns:
the payload

Definition at line 54 of file RTEventPayload.h.

References payload_.


Member Data Documentation

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().


The documentation for this class was generated from the following files:

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1