8 #include "Arp/System/Rsc/Services/IRscService.hpp" 9 #include "ArDataServiceProxyFactory.hpp" 10 #include "ArDataResult.hpp" 12 #include "Arp/System/Core/delegate.hxx" 13 #include "Arp/System/Rsc/Services/IRscReadEnumerator.hxx" 14 #include "Arp/System/Rsc/Services/IRscWriteEnumerator.hxx" 15 #include "Arp/System/Rsc/Services/RscString.hxx" 16 #include "DiagnosticResult.hpp" 21 namespace Arp {
namespace Io {
namespace ProfinetStack {
namespace Controller {
namespace Services
33 typedef std::shared_ptr<IArDataService> Ptr;
34 typedef delegate<void(IRscReadEnumerator<ArInfo>&)> GetAllArInfoResultDelegate;
35 typedef delegate<void(IRscReadEnumerator<RscString<256>>&)> GetAllArAttributeNamesResultDelegate;
36 typedef delegate<void(IRscWriteEnumerator<RscString<256>>&)> GetAttributeValuesAttributeNameDelegate;
37 typedef delegate<void(IRscReadEnumerator<ArDataResult>&)> GetAttributeValuesResultDelegate;
46 static IRscServiceProxyFactory& GetProxyFactory(
void);
53 virtual void GetAllArInfo(GetAllArInfoResultDelegate resultDelegate) = 0;
60 virtual void GetAllArAttributeNames(
uint16 arUserId, GetAllArAttributeNamesResultDelegate resultDelegate) = 0;
76 virtual void GetAttributeValues(
uint16 arUserId, GetAttributeValuesAttributeNameDelegate attributeNameDelegate, GetAttributeValuesResultDelegate resultDelegate) = 0;
83 virtual std::vector<DiagnosticResult> GetArDiagnosis(
const std::vector<uint16>& arUserId) = 0;
100 inline IRscServiceProxyFactory& IArDataService::GetProxyFactory()
102 return ArDataServiceProxyFactory::GetInstance();
Namespace for classes and interfaces for the Remote Service Call implementation
Use this service to manage PROFINET Controller Application Relationships (AR)
Definition: IArDataService.hpp:30
IArDataService(void)
Constructs an IArDataService instance.
Definition: IArDataService.hpp:92
Root namespace for the PLCnext API
virtual ~IArDataService(void)
Destructs this instance and frees all resouces.
Definition: IArDataService.hpp:96
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:31
Base interface for all Rsc service interface.
Definition: IRscService.hpp:18
Container for a combination of an error code and a value which is a result for a read operation to a ...
Definition: ArDataResult.hpp:29