Abstract Base class of the two concrete Events: RequestEvent and RTEvent This class cannot be instantiated and it contains only common services. More...
#include <AbstractEvent.h>
Public Member Functions | |
virtual | ~AbstractEvent () |
Destructor. | |
MultiplexingContext * | getMultiplexingContext () |
Returns a pointer to the context attached to the event Attention! If possible, please use getMultiplexingContextSharedPtr, since the lifetime of the this pointer is limited by the lifetime of the Event. | |
Protected Member Functions | |
AbstractEvent (MultiplexingContext *context) | |
Constructor. | |
Protected Attributes | |
MultiplexingContext * | muxContext_ |
Multiplexing context attached to the event. |
Abstract Base class of the two concrete Events: RequestEvent and RTEvent This class cannot be instantiated and it contains only common services.
Definition at line 18 of file AbstractEvent.h.
fesa::AbstractEvent::~AbstractEvent | ( | ) | [virtual] |
Destructor.
Definition at line 14 of file AbstractEvent.cpp.
fesa::AbstractEvent::AbstractEvent | ( | MultiplexingContext * | context | ) | [protected] |
Constructor.
name | of the event | |
context | linked to the event |
Definition at line 9 of file AbstractEvent.cpp.
MultiplexingContext * fesa::AbstractEvent::getMultiplexingContext | ( | ) | [inline] |
Returns a pointer to the context attached to the event Attention! If possible, please use getMultiplexingContextSharedPtr, since the lifetime of the this pointer is limited by the lifetime of the Event.
Definition at line 50 of file AbstractEvent.h.
References muxContext_.
Referenced by fesa::ServerAction< DeviceType, DataType, FilterType >::execute(), and fesa::AbstractRTAction::executeAction().
MultiplexingContext* fesa::AbstractEvent::muxContext_ [protected] |
Multiplexing context attached to the event.
Definition at line 47 of file AbstractEvent.h.
Referenced by getMultiplexingContext(), and fesa::RTEvent::~RTEvent().