PLCnext API Documentation 25.0.2.69
RtEventManagerSharedData.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/System/Commons/Ipc/SharedData.hxx"
9
10namespace Arp { namespace Plc { namespace Commons { namespace Esm
11{
12
13using namespace Arp::System::Commons::Ipc;
14
15class RtEventManagerSharedData : public SharedData<RtEventManagerSharedData>
16{
17private: // typedefs
19
20public: // usings
22 using InstancePtr = std::unique_ptr<Instance>;
23
24public: // construction/destruction
26 RtEventManagerSharedData(size_t memorySize);
27
28public: // static singleton operations
29 static Instance& CreateInstance(size_t memorySize);
30 static void OpenInstance(void);
31 static bool IsCreated(void);
32 static void DisposeInstance(void);
33 static Instance& GetInstance(void);
34
35private: // static fields
36 static InstancePtr instancePtr;
37};
38
39}}}} // end of namespace Arp::Plc::Commons::Esm
Definition: RtEventManagerSharedData.hpp:16
Definition: SharedData.hxx:27
Namespace for class, enumerations and functions dealing with interprocess communication functionality...
Root namespace for the PLCnext API