PLCnext API Documentation
22.9.0.33
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
20
class
RtEventManagerProxy
:
public
IRtEventManager
,
public
AppDomainSingleton
<RtEventManagerProxy>,
private
Loggable
<RtEventManagerProxy>
21
{
22
public
:
// construction/destruction
24
RtEventManagerProxy
(
void
);
26
RtEventManagerProxy
(
const
RtEventManagerProxy
& arg) =
default
;
28
RtEventManagerProxy
&
operator=
(
const
RtEventManagerProxy
& arg) =
default
;
30
~RtEventManagerProxy
(
void
);
31
32
public
:
// IEventManager operations
36
RtEvent::Ptr
GetEvent
(
const
String
& name)
override
;
40
bool
HasEvent
(
const
String
& name)
override
;
41
};
42
44
// inline methods of class RtEventManagerProxy
45
46
}}}}
// end of namespace Arp::Plc::Commons::Esm
Arp.h
Arp::AppDomainSingleton
This class implements the singleton pattern for singletons with process wide scope.
Definition:
AppDomainSingleton.hxx:25
Arp::BasicString< char8 >
Arp::Plc::Commons::Esm::IRtEventManager
Definition:
IRtEventManager.hpp:14
Arp::Plc::Commons::Esm::RtEventManagerProxy
With the rt event manager proxy can be get instances of RtEvent. The instances of RtEvent will be cre...
Definition:
RtEventManagerProxy.hpp:21
Arp::Plc::Commons::Esm::RtEventManagerProxy::HasEvent
bool HasEvent(const String &name) override
Checks that a given RtEvent exists.
Arp::Plc::Commons::Esm::RtEventManagerProxy::GetEvent
RtEvent::Ptr GetEvent(const String &name) override
Get the shared pointer of the give RtEvent.
Arp::Plc::Commons::Esm::RtEventManagerProxy::~RtEventManagerProxy
~RtEventManagerProxy(void)
Destructs this instance and frees all resources.
Arp::Plc::Commons::Esm::RtEventManagerProxy::RtEventManagerProxy
RtEventManagerProxy(void)
Constructs an RtEventManagerProxy instance.
Arp::Plc::Commons::Esm::RtEventManagerProxy::operator=
RtEventManagerProxy & operator=(const RtEventManagerProxy &arg)=default
Assignment operator.
Arp::Plc::Commons::Esm::RtEventManagerProxy::RtEventManagerProxy
RtEventManagerProxy(const RtEventManagerProxy &arg)=default
Copy constructor.
Arp::Plc::Commons::Esm::RtEvent::Ptr
RtEventManagerSharedData::Ptr< RtEvent > Ptr
Shared pointer type of RtEvent.
Definition:
RtEvent.hpp:24
Arp::System::Commons::Diagnostics::Logging::Loggable
Definition:
Loggable.hxx:19
Arp
Root namespace for the PLCnext API
Generated on Fri Oct 14 2022 06:27:09 for PLCnext API Documentation by
1.9.1