PLCnext API Documentation 25.0.2.69
IPlcInfoService.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/Rsc/Commons/IRscService.hpp"
10#include <vector>
11#include "Arp/Base/Rsc/Commons/RscVariant.hxx"
12#include "Arp/Plc/Domain/Services/PlcInfoId.hpp"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IPlcInfoService.cs
15
17{
18
19using namespace Arp::Base::Rsc::Commons;
20
28class ARP_EXPORT IPlcInfoService : public IRscService
29{
30public: // usings
31 using Ptr = std::shared_ptr<IPlcInfoService>;
32
33public: // construction/destruction
35 IPlcInfoService(void) = default;
36
37public: // static policy operation
38 static IRscServiceProxyFactory& GetProxyFactory(void);
39
40public: // abstract operations
46 virtual RscVariant<256> GetInfo(PlcInfoId identifier) = 0;
47
53 virtual std::vector<RscVariant<256>> GetInfos(const std::vector<PlcInfoId>& identifiers) = 0;
54};
55
56} // end of namespace Arp::Plc::Domain::Services
This is the base interface of all Rsc services.
Definition: IRscService.hpp:22
std::shared_ptr< IRscService > Ptr
The shared_ptr type of IRscService.
Definition: IRscService.hpp:25
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
Provides informations about the Plc (realtime) project.
Definition: IPlcInfoService.hpp:29
virtual RscVariant< 256 > GetInfo(PlcInfoId identifier)=0
Gets the specified info from the Plc project.
IPlcInfoService(void)=default
Constructs an IPlcInfoService instance.
virtual std::vector< RscVariant< 256 > > GetInfos(const std::vector< PlcInfoId > &identifiers)=0
Gets the specified infos from the Plc project.
Namespace for services of the PLC domain
PlcInfoId
Collects all identifiers of Plc informations to be read by IPlcInfoService.
Definition: PlcInfoId.hpp:19