8#include "Arp/System/Commons/Logging.h"
9#include "Arp/Plc/Commons/Esm/RtEventManagerSharedData.hpp"
11namespace Arp {
namespace Plc {
namespace Commons {
namespace Esm
37 bool WaitOne(
unsigned long timeout = 0,
bool setSubscriberReady =
true);
52 ImplPtr implPtr =
nullptr;
Rt event for bidirectional exchange of events in the ESM context. Instances of this will be created b...
Definition: RtEvent.hpp:19
bool IsSubscriberReady(void) const
Returns state of the subscriber to processing incoming signaled events.
Definition: RtEvent.cpp:78
RtEvent()
Constructs an RtEvent instance.
Definition: RtEvent.cpp:14
bool WaitOne(unsigned long timeout=0, bool setSubscriberReady=true)
Waits blocking on the signal of the sender.
Definition: RtEvent.cpp:55
RtEvent & operator=(const RtEvent &arg)=delete
Assignment operator.
void SetSubscriberReady(bool isSubscriberReady)
Sets the state of the subscriber to processing incoming signaled events.
Definition: RtEvent.cpp:71
RtEvent(const RtEvent &arg)=delete
Copy constructor.
Impl & GetImpl(void)
For internal use only.
Definition: RtEvent.cpp:27
bool SetAndWaitOne(unsigned long timeout=0)
Signals the event to the subscriber and waits blocking on the done by the subscriber.
Definition: RtEvent.cpp:64
void Set(void)
Signals the event to the subscriber.
Definition: RtEvent.cpp:39
RtEventManagerSharedData::Ptr< RtEvent > Ptr
Shared pointer type of RtEvent.
Definition: RtEvent.hpp:22
void Done(void)
Signals that the event was processed by the subscriber to the sender.
Definition: RtEvent.cpp:45
~RtEvent(void)
Destructs this instance and frees all resources.
Definition: RtEvent.cpp:20
Derive from this class to inherit logging functionality.
Definition: Loggable.hxx:28
boost::interprocess::offset_ptr< T > Ptr
Returned pointer types are shared memory based offset pointer.
Definition: SharedMemory.hpp:24
Root namespace for the PLCnext API