PLCnext API Documentation 23.0.2.9
IRscServiceStub.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
7#include "Arp/System/Rsc/Services/Rsc.h"
8#include "Arp/System/Rsc/Services/RscServerContext.hpp"
9
10namespace Arp { namespace System { namespace Rsc { namespace Services
11{
12
17class IRscServiceStub
18{
19public: // typedefs
20 typedef std::shared_ptr<IRscServiceStub> Ptr;
21
22public: // construction/destruction
24 IRscServiceStub(void) = default;
26 virtual ~IRscServiceStub(void) = default;
27
28public: // abstract operations
29 virtual void Invoke(int methodHandle, RscServerContext& context) = 0;
30
31private: // deleted methods (for non-copyable interfaces)
32 IRscServiceStub(const IRscServiceStub& arg) = delete;
33 IRscServiceStub& operator=(const IRscServiceStub& arg) = delete;
34};
35
36}}}} // end of namespace Arp::System::Rsc::Services
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API