Parameters to address a module.
More...
#include <RecordParameters.hpp>
|
|
| RecordParameters (void) |
| | Constructs an RecordParameters instance.
|
| |
|
| RecordParameters (uint16 id, uint16 stationAddress, uint16 slot, uint16 index, uint16 length) |
| | Constructs an RecordParameters 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 | Id = 0 |
| | Node ID of the module
|
| |
|
uint16 | StationAddress = 0 |
| | Station address of Profibus slave
|
| |
|
uint16 | Slot = 0 |
| | Slot number of a module
|
| |
|
uint16 | Index = 0 |
| | Index of the object
|
| |
|
uint16 | Length = 0 |
| | Length of data record
|
| |
Parameters to address a module.
Use either the Node ID or the address consisting the station address and slot number.
◆ Deserialize()
| void Arp::Io::Profibus::Services::RecordParameters::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::Profibus::Services::RecordParameters::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::Profibus::Services::RecordParameters::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: