PLCnext API Documentation 26.0.1.58
IRscServiceProxyFactory2.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Services/RscServiceProxyInfo.hpp"
9#include "Arp/Base/Rsc/Commons/Services/IRscServiceProxyFactory.hpp"
10
11namespace Arp::Base::Rsc::Commons::Services
12{
13
14// forwards
15class IRscServiceProxy2;
16
22{
23public: // usings
24 using Ptr = std::shared_ptr<IRscServiceProxyFactory2>;
25 using IRscServiceProxy2Ptr = std::shared_ptr<IRscServiceProxy2>;
26
27public: // construction
29 IRscServiceProxyFactory2(void) = default;
30
31 // canonical construction/destruction/assignment
41 virtual ~IRscServiceProxyFactory2(void) = default;
42
43public: // abstract operations
48 virtual IRscServiceProxy2Ptr CreateServiceProxy2(const RscServiceProxyInfo& serviceProxyInfo, RscClient& client) = 0;
49};
50
51} // end of namespace Arp::Base::Rsc::Commons::Services
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory2.hpp:22
IRscServiceProxyFactory2(const IRscServiceProxyFactory2 &arg)=delete
The default copy constructor.
IRscServiceProxyFactory2(IRscServiceProxyFactory2 &&arg) noexcept=default
The default move constructor.
virtual ~IRscServiceProxyFactory2(void)=default
Destructs this instance and frees all resources.
std::shared_ptr< IRscServiceProxy2 > IRscServiceProxy2Ptr
The shared pointer type of the service type.
Definition: IRscServiceProxyFactory2.hpp:25
virtual IRscServiceProxy2Ptr CreateServiceProxy2(const RscServiceProxyInfo &serviceProxyInfo, RscClient &client)=0
Creates a service proxy instance to be used by RSC clients remotely.
IRscServiceProxyFactory2(void)=default
Constructs an IRscServiceProxyFactory2 instance.
IRscServiceProxyFactory2 & operator=(IRscServiceProxyFactory2 &&arg) noexcept=default
The default move-assignment operator.
IRscServiceProxyFactory2 & operator=(const IRscServiceProxyFactory2 &arg)=delete
The default copy-assignment operator.
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
std::shared_ptr< IRscServiceProxyFactory > Ptr
The shared pointer type of this proxy factory type.
Definition: IRscServiceProxyFactory.hpp:24
This class monitors a RSC client call using RAII idiom.
Definition: RscClient.TransactionGuard.hpp:18
This class contains all infos of a RSC service proxy.
Definition: RscServiceProxyInfo.hpp:21