PLCnext API Documentation 25.0.2.69
IDeviceStatusService.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 "Arp/Base/Rsc/Commons/IRscReadEnumerator.hxx"
11#include "Arp/Base/Rsc/Commons/IRscWriteEnumerator.hxx"
12#include "Arp/Base/Core/delegate.hxx"
13#include "Arp/Base/Rsc/Commons/RscString.hxx"
14#include "Arp/Base/Rsc/Commons/RscVariant.hxx"
15
16// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IDeviceStatusService.cs
17
19{
20
21using namespace Arp::Base::Rsc::Commons;
22
32class ARP_EXPORT IDeviceStatusService : public IRscService
33{
34public: // usings
35 using Ptr = std::shared_ptr<IDeviceStatusService>;
38
39public: // construction/destruction
41 IDeviceStatusService(void) = default;
42
43public: // static policy operation
44 static IRscServiceProxyFactory& GetProxyFactory(void);
45
46public: // abstract operations
50 virtual RscVariant<512> GetItem(const RscString<512>& identifier) = 0;
51
55 virtual void GetItems(GetItemsIdentifiersDelegate identifiersDelegate, GetItemsResultDelegate resultDelegate) = 0;
56};
57
58} // end of namespace Arp::Device::Interface::Services
Prototyping of delegate template.
Definition: delegate.hxx:14
Interface for reading a arrays or enumerations.
Definition: IRscReadEnumerator.hxx:19
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 writing an array enumeration or enumeration of unspefied length.
Definition: IRscWriteEnumerator.hxx:20
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
This service provides operations to read status information from the device.
Definition: IDeviceStatusService.hpp:33
IDeviceStatusService(void)=default
Constructs an IDeviceStatusService instance.
virtual RscVariant< 512 > GetItem(const RscString< 512 > &identifier)=0
This operation reads a single status information item.
virtual void GetItems(GetItemsIdentifiersDelegate identifiersDelegate, GetItemsResultDelegate resultDelegate)=0
This operation reads a list of status information items.
Namespace for hardware abstraction services