PLCnext API Documentation  21.9.0.40
DeviceInfoServiceFactory.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
8 #include "Arp/System/Rsc/Services/RscServiceFactoryBase.hpp"
9 #include "Arp/System/Rsc/Services/IRscServiceStub.hpp"
10 
11 // DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IDeviceInfoService.cs
12 
13 namespace Arp { namespace Device { namespace Interface { namespace Services
14 {
15 
16 using namespace Arp::System::Rsc::Services;
17 
19 class DeviceInfoServiceFactory : public RscServiceFactoryBase
20 {
21 public: // construction/destruction
24 
25 public: // static singleton operation
26  ARP_CXX_SYMBOL_EXPORT static DeviceInfoServiceFactory& GetInstance(void);
27 
28 public: // IServiceFactory operations
29  IRscService* CreateServiceImpl(const char* providerName, IRscAuthorizator* pAuthorizator)override;
30  IRscServiceStub* CreateServiceStub(const char* providerName, IRscAuthorizator* pAuthorizator)override;
31 
32 private: // static fields
33  static DeviceInfoServiceFactory instance;
34 };
35 
36 }}}} // end of namespace Arp::Device::Interface::Services
37 
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:9
Root namespace for the PLCnext API
Base interface for all Rsc service interface.
Definition: IRscService.hpp:18
Creates RSC service instances of type IDeviceInfoService
Definition: DeviceInfoServiceFactory.hpp:19
Definition: IRscAuthorizator.hpp:15