8 #include "Arp/System/Rsc/Services/IRscService.hpp" 9 #include "DeviceStatusServiceProxyFactory.hpp" 10 #include "Arp/System/Core/delegate.hxx" 11 #include "Arp/System/Rsc/Services/IRscReadEnumerator.hxx" 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
30 using Ptr = std::shared_ptr<IDeviceStatusService>;
31 using GetItemsIdentifiersDelegate = delegate<void(IRscWriteEnumerator<RscString<512>>&)>;
32 using GetItemsResultDelegate = delegate<void(IRscReadEnumerator<RscVariant<512>>&)>;
39 static IRscServiceProxyFactory& GetProxyFactory(
void);
54 virtual void GetItems(GetItemsIdentifiersDelegate identifiersDelegate, GetItemsResultDelegate resultDelegate) = 0;
59 inline IRscServiceProxyFactory& IDeviceStatusService::GetProxyFactory()
61 return DeviceStatusServiceProxyFactory::GetInstance();
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
Use this service to read device states.
Definition: IDeviceStatusService.hpp:27