PLCnext API Documentation 25.0.2.69
|
Allows to read and write parameters of the PLC config. More...
#include <IPlcConfigService.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IPlcConfigService > |
![]() | |
using | Ptr = std::shared_ptr< IRscService > |
The shared_ptr type of IRscService. | |
Public Member Functions | |
IPlcConfigService (void)=default | |
Constructs an IPlcConfigService instance. | |
virtual PlcConfigResult | GetItem (PlcConfigId identifier)=0 |
Returns the requested config item. More... | |
virtual ConfigErrorCode | SetItem (const PlcConfigItem &item)=0 |
Sets the value of the config item. More... | |
virtual std::vector< PlcConfigResult > | GetItems (const std::vector< PlcConfigId > &identifiers)=0 |
Returns the requested config items. More... | |
virtual std::vector< ConfigErrorCode > | SetItems (const std::vector< PlcConfigItem > &items)=0 |
Sets the values of the config items. More... | |
![]() | |
IRscService (void)=default | |
The default constructor. | |
IRscService (const IRscService &arg)=delete | |
The deleted copy constructor. More... | |
IRscService (IRscService &&arg) noexcept=default | |
The default move constructor. More... | |
IRscService & | operator= (const IRscService &arg)=delete |
The deleted assignment operator. More... | |
IRscService & | operator= (IRscService &&arg) noexcept=default |
The default move-assignment operator. More... | |
virtual | ~IRscService (void)=default |
Destructs this instance and frees all resources. | |
Static Public Member Functions | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
![]() | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
Returns a reference to service proxy factory to create a proxy instance of this service. More... | |
Allows to read and write parameters of the PLC config.
This service is defined in library Arp.Plc.Domain.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
|
pure virtual |
Returns the requested config item.
identifier | The identifier of the config item to retrieve. |
|
pure virtual |
Returns the requested config items.
identifiers | The identifiers of the config items to retrieve. |
|
pure virtual |
Sets the value of the config item.
item | The config item to update. |
|
pure virtual |
Sets the values of the config items.
items | The config items to update. |