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 using Ptr = std::shared_ptr<IArDataService>;
34 using GetAllArInfoResultDelegate = delegate<void(IRscReadEnumerator<ArInfo>&)>;
35 using GetAllArAttributeNamesResultDelegate = delegate<void(IRscReadEnumerator<RscString<256>>&)>;
36 using GetAttributeValuesAttributeNameDelegate = delegate<void(IRscWriteEnumerator<RscString<256>>&)>;
37 using GetAttributeValuesResultDelegate = delegate<void(IRscReadEnumerator<ArDataResult>&)>;
44 static IRscServiceProxyFactory& GetProxyFactory(
void);
51 virtual void GetAllArInfo(GetAllArInfoResultDelegate resultDelegate) = 0;
58 virtual void GetAllArAttributeNames(
uint16 arUserId, GetAllArAttributeNamesResultDelegate resultDelegate) = 0;
74 virtual void GetAttributeValues(
uint16 arUserId, GetAttributeValuesAttributeNameDelegate attributeNameDelegate, GetAttributeValuesResultDelegate resultDelegate) = 0;
81 virtual std::vector<DiagnosticResult> GetArDiagnosis(
const std::vector<uint16>& arUserId) = 0;
86 inline IRscServiceProxyFactory& IArDataService::GetProxyFactory()
88 return ArDataServiceProxyFactory::GetInstance();
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:9
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
Use this service to manage PROFINET Controller Application Relationships (AR)
Definition: IArDataService.hpp:30
Root namespace for the PLCnext API
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