PLCnext API Documentation
21.0.0.35466
Arp
Plc
Commons
Esm
RtEventManagerProxy.hpp
1
//
3
// Copyright PHOENIX CONTACT Electronics GmbH
4
//
6
#pragma once
7
#include "
Arp/System/Core/Arp.h
"
8
#include "Arp/System/Core/AppDomainSingleton.hxx"
9
#include "Arp/System/Commons/Logging.h"
10
#include "Arp/Plc/Commons/Esm/IRtEventManager.hpp"
11
12
namespace
Arp
{
namespace
Plc {
namespace
Commons {
namespace
Esm
13
{
14
16
class
RtEventManagerProxy
:
public
IRtEventManager
,
public
AppDomainSingleton
<RtEventManagerProxy>,
private
Loggable
<RtEventManagerProxy>
17
{
18
public
:
// typedefs
19
20
public
:
// construction/destruction
22
RtEventManagerProxy
(
void
);
24
RtEventManagerProxy
(
const
RtEventManagerProxy
& arg) =
default
;
26
RtEventManagerProxy
&
operator=
(
const
RtEventManagerProxy
& arg) =
default
;
28
~RtEventManagerProxy
(
void
);
29
30
public
:
// operators
31
32
public
:
// static operations
33
34
public
:
// setter/getter operations
35
36
public
:
// operations
37
38
public
:
// IEventManager operations
42
RtEvent::Ptr
GetEvent
(
const
String
& name)
override
;
46
bool
HasEvent
(
const
String
& name)
override
;
47
48
protected
:
// operations
49
50
private
:
// static methods
51
52
private
:
// methods
53
54
private
:
// fields
55
56
private
:
// static fields
57
58
};
59
61
// inline methods of class RtEventManagerProxy
62
63
}}}}
// end of namespace Arp::Plc::Commons::Esm
Arp::Plc::Commons::Esm::RtEventManagerProxy::~RtEventManagerProxy
~RtEventManagerProxy(void)
Destructs this instance and frees all resources.
Arp::BasicString< char8 >
Arp.h
Arp::System::Commons::Diagnostics::Logging::Loggable
Definition:
Loggable.hxx:18
Arp::Plc::Commons::Esm::IRtEventManager
Definition:
IRtEventManager.hpp:13
Arp::Plc::Commons::Esm::RtEventManagerProxy::RtEventManagerProxy
RtEventManagerProxy(void)
Constructs an RtEventManagerProxy instance.
Arp::Plc::Commons::Esm::RtEventManagerProxy::HasEvent
bool HasEvent(const String &name) override
Checks that a given event exists.
Arp::Plc::Commons::Esm::RtEvent::Ptr
RtEventManagerSharedData::Ptr< RtEvent > Ptr
Shared pointer type of RtEvent.
Definition:
RtEvent.hpp:20
Arp
Root namespace for the PLCnext API
Arp::AppDomainSingleton
This class implements the singleton pattern for singletons with process wide scope.
Definition:
AppDomainSingleton.hxx:24
Arp::Plc::Commons::Esm::RtEventManagerProxy
This class implements a event manager proxy to get instances of RtEvent.
Definition:
RtEventManagerProxy.hpp:16
Arp::Plc::Commons::Esm::RtEventManagerProxy::operator=
RtEventManagerProxy & operator=(const RtEventManagerProxy &arg)=default
Assignment operator.
Arp::Plc::Commons::Esm::RtEventManagerProxy::GetEvent
RtEvent::Ptr GetEvent(const String &name) override
Get shared pointer of the give event.
Generated on Fri Dec 11 2020 14:17:53 for PLCnext API Documentation by
1.8.13