8 #include "Arp/System/Rsc/Services/IRscService.hpp" 9 #include "ArConfigurationServiceProxyFactory.hpp" 10 #include "ArConfiguration.hpp" 11 #include "ArDifference.hpp" 12 #include "Arp/System/Core/delegate.hxx" 13 #include "Arp/System/Rsc/Services/IRscReadEnumerator.hxx" 14 #include "Arp/System/Rsc/Services/IRscWriteEnumerator.hxx" 19 namespace Arp {
namespace Io {
namespace ProfinetStack {
namespace Controller {
namespace Services
30 using Ptr = std::shared_ptr<IArConfigurationService>;
31 using GetConfigurationsResultDelegate = delegate<void(IRscReadEnumerator<ArConfiguration>&)>;
32 using GetDifferencesResultDelegate = delegate<void(IRscReadEnumerator<ArDifference>&)>;
39 static IRscServiceProxyFactory& GetProxyFactory(
void);
55 virtual void GetConfigurations(
const std::vector<uint16>& arUserIds, GetConfigurationsResultDelegate resultDelegate) = 0;
70 virtual void GetDifferences(
const std::vector<uint16>& arUserIds, GetDifferencesResultDelegate resultDelegate) = 0;
75 inline IRscServiceProxyFactory& IArConfigurationService::GetProxyFactory()
77 return ArConfigurationServiceProxyFactory::GetInstance();
This service provides PROFINET AR configurations and differences
Definition: IArConfigurationService.hpp:27
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:9
Root namespace for the PLCnext API
Contains AR configurations with differences
Definition: ArDifference.hpp:25
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
Contains configuration for an AR
Definition: ArConfiguration.hpp:25