PLCnext API Documentation 23.6.0.37
IRtEventManager.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/Plc/Commons/Esm/RtEvent.hpp"
9
10namespace Arp { namespace Plc { namespace Commons { namespace Esm
11{
12
14{
15protected: // construction/destruction
17 IRtEventManager(void) = default;
19 virtual ~IRtEventManager(void) = default;
20
21public: // abstract operations
22 virtual RtEvent::Ptr GetEvent(const String& name) = 0;
23 virtual bool HasEvent(const String& name) = 0;
24
25private: // deleted methods (for non-copyable classes)
26 IRtEventManager(const IRtEventManager& arg) = delete;
27 IRtEventManager& operator=(const IRtEventManager& arg) = delete;
28};
29
30}}}} // 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:25
Root namespace for the PLCnext API