Contains parameter to address an object
More...
#include <ObjectAddress.hpp>
|
| ObjectAddress (void) |
| Constructs an ObjectAddress instance.
|
|
| ObjectAddress (uint16 index, uint8 subindex) |
| Constructs an ObjectAddress 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 | Index = 0 |
| Index number of the object. To get the meaning of the object index numbers, please refer to the data sheet of the specific module.
|
|
uint8 | Subindex = 0 |
| Object subindex. To get the meaning of the object subindex numbers, please refer to the data sheet of the specific module.
|
|
Contains parameter to address an object
◆ Deserialize()
void Arp::Io::Interbus::Services::ObjectAddress::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::ObjectAddress::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::ObjectAddress::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:
- Arp/Io/Interbus/Services/ObjectAddress.hpp
- Arp/Io/Interbus/Services/ObjectAddress.cpp