PLCnext API Documentation
22.3.0.20
Arp
Plc
Domain
Services
IPlcInfoService.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/IRscService.hpp"
9
#include "PlcInfoServiceProxyFactory.hpp"
10
#include "Arp/System/Rsc/Services/RscVariant.hxx"
11
#include "PlcInfoId.hpp"
12
#include <vector>
13
14
// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IPlcInfoService.cs
15
16
namespace
Arp
{
namespace
Plc {
namespace
Domain {
namespace
Services
17
{
18
19
using namespace
Arp
;
20
using namespace
Arp::System::Rsc::Services
;
21
25
class
IPlcInfoService
:
public
IRscService
26
{
27
public
:
// typedefs
28
using
Ptr = std::shared_ptr<IPlcInfoService>;
29
30
public
:
// construction/destruction
32
IPlcInfoService
(
void
) =
default
;
33
34
public
:
// static policy operation
35
static
IRscServiceProxyFactory& GetProxyFactory(
void
);
36
37
public
:
// abstract operations
43
virtual
RscVariant<256>
GetInfo(
PlcInfoId
identifier) = 0;
44
50
virtual
std::vector<RscVariant<256>> GetInfos(
const
std::vector<PlcInfoId>& identifiers) = 0;
51
};
52
54
// inline methods of class IPlcInfoService
55
inline
IRscServiceProxyFactory& IPlcInfoService::GetProxyFactory()
56
{
57
return
PlcInfoServiceProxyFactory::GetInstance();
58
}
59
60
}}}}
// end of namespace Arp::Plc::Domain::Services
Arp::Plc::Domain::Services::IPlcInfoService
Provides informations about the Plc (realtime) project.
Definition:
IPlcInfoService.hpp:25
Arp::System::Rsc::Services
Namespace for classes and interfaces for the Remote Service Call implementation
Definition:
IRscReadEnumerator.hxx:9
Arp::System::Rsc::Services::RscVariant< 256 >
Arp::Plc::Domain::Services::PlcInfoId
PlcInfoId
Collects all identifiers of Plc informations to be read by IPlcInfoService.
Definition:
PlcInfoId.hpp:20
Arp.h
Arp
Root namespace for the PLCnext API
Arp::System::Rsc::Services::IRscService
Base interface for all Rsc service interface.
Definition:
IRscService.hpp:18
Generated on Tue Apr 19 2022 13:32:31 for PLCnext API Documentation by
1.8.13