PLCnext API Documentation 24.0.0.71
IRscServiceStub.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/System/Rsc/Services/Rsc.h"
9#include "Arp/System/Rsc/Services/RscServerContext.hpp"
10
11namespace Arp { namespace System { namespace Rsc { namespace Services
12{
13
18class IRscServiceStub
19{
20public: // typedefs
21 typedef std::shared_ptr<IRscServiceStub> Ptr;
22
23public: // construction/destruction
25 IRscServiceStub(void) = default;
27 virtual ~IRscServiceStub(void) = default;
28
29public: // abstract operations
30 virtual void Invoke(int methodHandle, RscServerContext& context) = 0;
31
32private: // deleted methods (for non-copyable interfaces)
33 IRscServiceStub(const IRscServiceStub& arg) = delete;
34 IRscServiceStub& operator=(const IRscServiceStub& arg) = delete;
35};
36
37}}}} // 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