Dataflow Runtime API
3.1.1.0
|
Implementation of WindowsMsgQueueEventBufferIfc. More...
#include <Imt.Base.Dff.ActiveParts.WinEC7/WindowsMsgQueueEventBuffer.h>
Public Member Functions | |
WindowsMsgQueueEventBuffer (void) | |
Constructor. More... | |
virtual | ~WindowsMsgQueueEventBuffer (void) |
Destructor. More... | |
void | push (const uint16_t protocolIdentifier, const imt::base::core::serialization::SerializableIfc *const pEventData=NULL) |
Serialize data into the buffer (overwrite oldest if full). More... | |
virtual void | pop (EventDataItem &item) |
Public Member Functions inherited from imt::base::dff::activeparts::WindowsMsgQueueEventBufferIfc | |
virtual | ~WindowsMsgQueueEventBufferIfc (void) |
Destructor. More... | |
Implementation of WindowsMsgQueueEventBufferIfc.
For each event which is received, an EventDataItem can be popped from the buffer. This allows us a fast thread safe access to the buffer, without the need of a locking mechanism.
|
inlineexplicit |
Constructor.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
|
inline |
Serialize data into the buffer (overwrite oldest if full).
protocolIdentifier | Identifier of the protocol. |
pEventData | The value to be added. |