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 typedef std::shared_ptr<IDeviceStatusService> Ptr;
31 typedef delegate<void(IRscWriteEnumerator<RscString<512>>&)> GetItemsIdentifiersDelegate;
32 typedef delegate<void(IRscReadEnumerator<RscVariant<512>>&)> GetItemsResultDelegate;
41 static IRscServiceProxyFactory& GetProxyFactory(
void);
56 virtual void GetItems(GetItemsIdentifiersDelegate identifiersDelegate, GetItemsResultDelegate resultDelegate) = 0;
73 inline IRscServiceProxyFactory& IDeviceStatusService::GetProxyFactory()
75 return DeviceStatusServiceProxyFactory::GetInstance();
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:9
IDeviceStatusService(void)
Constructs an IDeviceStatusService instance.
Definition: IDeviceStatusService.hpp:65
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
virtual ~IDeviceStatusService(void)
Destructs this instance and frees all resouces.
Definition: IDeviceStatusService.hpp:69