PLCnext API Documentation  22.9.0.33
IRtEventManager.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
8 #include "Arp/Plc/Commons/Esm/RtEvent.hpp"
9 
10 namespace Arp { namespace Plc { namespace Commons { namespace Esm
11 {
12 
14 {
15 public: // typedefs
16 
17 protected: // construction/destruction
19  IRtEventManager(void) = default;
21  virtual ~IRtEventManager(void) = default;
22 
23 public: // abstract operations
24  virtual RtEvent::Ptr GetEvent(const String& name) = 0;
25  virtual bool HasEvent(const String& name) = 0;
26 
27 private: // deleted methods (for non-copyable classes)
28  IRtEventManager(const IRtEventManager& arg) = delete;
29  IRtEventManager& operator=(const IRtEventManager& arg) = delete;
30 };
31 
32 }}}} // end of namespace Arp::Plc::Commons::Esm
Definition: IRtEventManager.hpp:14
virtual ~IRtEventManager(void)=default
Destructs this instance and frees all resources.
IRtEventManager(void)=default
Constructs an IRtEventManager instance.
RtEventManagerSharedData::Ptr< RtEvent > Ptr
Shared pointer type of RtEvent.
Definition: RtEvent.hpp:24
Root namespace for the PLCnext API