This service read and writes different configuration options to the profinet system.
More...
#include <IConfigurationService.hpp>
|
static IRscServiceProxyFactory & | GetProxyFactory (void) |
|
static IRscServiceProxyFactory & | GetProxyFactory (void) |
| Returns a reference to service proxy factory to create a proxy instance of the service More...
|
|
This service read and writes different configuration options to the profinet system.
◆ IConfigurationService()
Arp::Io::ProfinetStack::System::Services::IConfigurationService::IConfigurationService |
( |
void |
| ) |
|
|
default |
◆ GetControllerName()
virtual RscString<512> Arp::Io::ProfinetStack::System::Services::IConfigurationService::GetControllerName |
( |
| ) |
|
|
pure virtual |
Gets the instance name of the profinet controller. If no controller is registered returns an empty string.
- Returns
- Instance name of the controller
◆ GetDeviceNames()
virtual std::vector<RscString<512> > Arp::Io::ProfinetStack::System::Services::IConfigurationService::GetDeviceNames |
( |
| ) |
|
|
pure virtual |
Gets the instance names of all registered profinet devices.
- Returns
- Names of all registered profinet devices
◆ Read()
virtual ConfigurationErrorCode Arp::Io::ProfinetStack::System::Services::IConfigurationService::Read |
( |
const RscString< 512 > & |
name, |
|
|
RscVariant< 512 > & |
value |
|
) |
| |
|
pure virtual |
Reads one configuration from the profinet system.
- Parameters
-
name | Name of the configuration option |
value | Contains the read value |
- Returns
- If operation was successfull and result contains valid value returns None, else returns specific error code.
◆ Write()
virtual ConfigurationErrorCode Arp::Io::ProfinetStack::System::Services::IConfigurationService::Write |
( |
const RscString< 512 > & |
name, |
|
|
RscVariant< 512 > |
value |
|
) |
| |
|
pure virtual |
Writes one configuration to the profinet system.
- Parameters
-
name | Name of the configuration option |
value | Contains the value of the configuration option to write |
- Returns
- If operation was successfull and value has been written returns None, else returns specific error code.
The documentation for this class was generated from the following file: