Contains error information of an Interbus service.
More...
#include <InterbusResult.hpp>
|
| InterbusResult (void) |
| Constructs an InterbusResult instance.
|
|
| InterbusResult (uint16 result, uint16 additionalErrorInfo) |
| Constructs an InterbusResult 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 | Result = 0 |
| Result describes the error cause. (0 = No error) To get the meaning of Result, please refer to the Interbus manual for firmware services. There you will find a section of error codes.
|
|
uint16 | AdditionalErrorInfo = 0 |
| AdditionalErrorInfo gives additional information about the error cause described by Result. To get the meaning of AdditionalErrorInfo, please refer to the Interbus manual for firmware services. There you will find a section of error codes.
|
|
Contains error information of an Interbus service.
◆ Deserialize()
void Arp::Io::Interbus::Services::InterbusResult::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::InterbusResult::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::InterbusResult::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: