NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
This class shall be used to define custom events with user-supplied data. More...
#include <Events.hpp>
Public Member Functions | |
CustomEventWrapper (Runtime::TupleBuffer &&buffer) | |
creates a custom events that stores a buffer as a payload More... | |
uint8_t * | data () override |
Gets the payload of the event. More... | |
template<typename T > | |
T * | data () |
Gets the payload of the event. More... | |
![]() | |
BaseEvent (EventType eventType=EventType::kInvalidEvent) | |
Creates an event of a given type. More... | |
EventType | getEventType () const |
The event type. More... | |
This class shall be used to define custom events with user-supplied data.
|
inlineexplicit |
creates a custom events that stores a buffer as a payload
buffer |
References NES::Runtime::kCustomEvent.
|
inlinevirtual |
Gets the payload of the event.
Implements NES::Runtime::BaseEvent.
References NES::Runtime::TupleBuffer::getBuffer().
|
inlineoverridevirtual |
Gets the payload of the event.
Implements NES::Runtime::BaseEvent.
References NES::Runtime::TupleBuffer::getBuffer().