PLCnext API Documentation
21.0.0.35466
|
Container for a (relative) setting identifier with its value. More...
#include <DeviceSettingItem.hpp>
Public Member Functions | |
void | Serialize (RscWriter &writer) const override |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More... | |
void | Deserialize (RscReader &reader) override |
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More... | |
Public Member Functions inherited from Arp::System::Rsc::Services::IRscSerializable | |
virtual | ~IRscSerializable ()=default |
default destructor More... | |
Static Public Member Functions | |
static size_t | GetFieldCount (void) |
Static Public Member Functions inherited from Arp::System::Rsc::Services::IRscSerializable | |
static size_t | GetFieldCount (void) |
Returns the count of fields of the struct type More... | |
Public Attributes | |
RscString< 512 > | Setting |
Tokens which describe the (relative) path to the setting combined with the value. More... | |
RscVariant< 512 > | Value |
The value of the setting which is identified by the (relative) path which is described by the tokens. More... | |
Container for a (relative) setting identifier with its value.
The structure is designed for efficient interpretation on the receiving side which is the Remoting server. The structure is used by Arp.Device.Interface.Services.IDeviceSettingsService.WriteValue A sequence of instances of this structure is intended to be passed to the method Arp.Device.Interface.Services.IDeviceSettingsService.WriteValues.
|
inlineoverridevirtual |
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.
reader | Reference to RscReader. |
Implements Arp::System::Rsc::Services::IRscSerializable.
|
inlineoverridevirtual |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.
writer | Reference to RscWriter |
Implements Arp::System::Rsc::Services::IRscSerializable.
RscString<512> Arp::Device::Interface::Services::DeviceSettingItem::Setting |
Tokens which describe the (relative) path to the setting combined with the value.
If this instance of the structure
is part of a sequence (an array) then the preceeding instance's tokens already provide a context at which the tokens here start with their description.
RscVariant<512> Arp::Device::Interface::Services::DeviceSettingItem::Value |
The value of the setting which is identified by the (relative) path which is described by the tokens.
The type of the value must match the value which is defined for the particular setting.