9#include "Arp/Io/ProfinetStack/System/Services/ConfigurationErrorCode.hpp"
10#include "Arp/Io/ProfinetStack/System/Services/ConfigurationServiceProxyFactory.hpp"
11#include "Arp/System/Rsc/Services/IRscService.hpp"
12#include "Arp/System/Rsc/Services/RscString.hxx"
13#include "Arp/System/Rsc/Services/RscVariant.hxx"
17namespace Arp {
namespace Io {
namespace ProfinetStack {
namespace System {
namespace Services
39 using Ptr = std::shared_ptr<IConfigurationService>;
46 static IRscServiceProxyFactory& GetProxyFactory(
void);
86inline IRscServiceProxyFactory& IConfigurationService::GetProxyFactory()
88 return ConfigurationServiceProxyFactory::GetInstance();
This service read and writes different configuration options to the profinet system.
Definition: IConfigurationService.hpp:37
virtual ConfigurationErrorCode Write(const RscString< 512 > &name, RscVariant< 512 > value)=0
Writes one configuration to the profinet system.
virtual std::vector< RscString< 512 > > GetDeviceNames()=0
Gets the instance names of all registered profinet devices.
virtual RscString< 512 > GetControllerName()=0
Gets the instance name of the profinet controller. If no controller is registered returns an empty st...
IConfigurationService(void)=default
Constructs an IConfigurationService instance.
virtual ConfigurationErrorCode Read(const RscString< 512 > &name, RscVariant< 512 > &value)=0
Reads one configuration from the profinet system.
Base interface for all Rsc service interface.
Definition: IRscService.hpp:20
ConfigurationErrorCode
This enumeration defines errors codes of the Arp.Io.ProfinetStack.System.Services....
Definition: ConfigurationErrorCode.hpp:19
@ System
System components used by the System, Device, Plc or Io domains.
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API