8 #include "Arp/Device/Interface/Services/DeviceStatusServiceProxyFactory.hpp"
9 #include "Arp/System/Core/delegate.hxx"
10 #include "Arp/System/Rsc/Services/IRscReadEnumerator.hxx"
11 #include "Arp/System/Rsc/Services/IRscService.hpp"
12 #include "Arp/System/Rsc/Services/IRscWriteEnumerator.hxx"
13 #include "Arp/System/Rsc/Services/RscString.hxx"
14 #include "Arp/System/Rsc/Services/RscVariant.hxx"
18 namespace Arp {
namespace Device {
namespace Interface {
namespace Services
31 using Ptr = std::shared_ptr<IDeviceStatusService>;
40 static IRscServiceProxyFactory& GetProxyFactory(
void);
55 virtual void GetItems(GetItemsIdentifiersDelegate identifiersDelegate, GetItemsResultDelegate resultDelegate) = 0;
60 inline IRscServiceProxyFactory& IDeviceStatusService::GetProxyFactory()
62 return DeviceStatusServiceProxyFactory::GetInstance();
Use this service to read device states.
Definition: IDeviceStatusService.hpp:29
IDeviceStatusService(void)=default
Constructs an IDeviceStatusService instance.
virtual void GetItems(GetItemsIdentifiersDelegate identifiersDelegate, GetItemsResultDelegate resultDelegate)=0
Read a list of states
virtual RscVariant< 512 > GetItem(const RscString< 512 > &identifier)=0
Read a single state
Interface for reading an array or an enumerator. For regular enumerators UndefinedArrayLength is used...
Definition: IRscReadEnumerator.hxx:21
Base interface for all Rsc service interface.
Definition: IRscService.hpp:19
Interface for writing an array or an enumerator. For regular enumerators UndefinedArrayLength is used...
Definition: IRscWriteEnumerator.hxx:23
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:10
Root namespace for the PLCnext API