Contains parameter of an Interbus module for ReadConfiguration() and WriteConfiguration() of the Interbus.
More...
#include <DeviceConfiguration.hpp>
|
|
| DeviceConfiguration (void) |
| | Constructs an DeviceConfiguration instance.
|
| |
|
| DeviceConfiguration (uint16 deviceNumber, uint16 deviceCode, uint16 deviceLevel, uint16 groupNumber) |
| | Constructs an DeviceConfiguration instance.
|
| |
| void | Serialize (RscWriter &writer) const |
| | Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
|
| |
| void | Deserialize (RscReader &reader) |
| | Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
|
| |
|
| RscSerializable (void)=default |
| | The default constructor.
|
| |
|
|
uint16 | DeviceNumber = 0 |
| | Device number: High Byte: BusSegmentNo, Low Byte: Position. For direct conneted local bus: BusSegmentNo 0, Position wtih left to right order, starting with 1.
|
| |
|
uint16 | DeviceCode = 0 |
| | Device code: High Byte: Length Code, Low Byte: ID Code, see device documentation.
|
| |
|
uint16 | DeviceLevel = 0 |
| | Device level: Level between 0 and 15, for direct conneted local bus 0.
|
| |
|
uint16 | GroupNumber = 0 |
| | Group number: High Byte: Group, Low Byte: Alternative Only need for Control_Active_Configuration, default 0xFFFF.
|
| |
Contains parameter of an Interbus module for ReadConfiguration() and WriteConfiguration() of the Interbus.
◆ Deserialize()
| void Arp::Io::Interbus::Services::DeviceConfiguration::Deserialize |
( |
RscReader & |
reader | ) |
|
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.
- Parameters
-
| reader | Reference to RscReader. |
◆ GetFieldCount()
| size_t Arp::Io::Interbus::Services::DeviceConfiguration::GetFieldCount |
( |
void |
| ) |
|
|
static |
Returns the count of fields
- Returns
- Count of fields.
The field count is used for serialization via Rsc
◆ Serialize()
| void Arp::Io::Interbus::Services::DeviceConfiguration::Serialize |
( |
RscWriter & |
writer | ) |
const |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.
- Parameters
-
| writer | Reference to RscWriter |
The documentation for this class was generated from the following files: