Result of the PcpStatus service
More...
#include <StatusResult.hpp>
|
|
| StatusResult (void) |
| | Constructs an StatusResult instance.
|
| |
|
| StatusResult (uint16 result, uint16 additionalCode, uint8 physicalStatus, uint8 logicalStatus, const RscString< 512 > &localDetails) |
| | Constructs an StatusResult 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 PCP manual. There you will find a section of error codes.
|
| |
|
uint16 | AdditionalCode = 0 |
| | AdditionalCode gives additional information about the error cause described by Result. To get the meaning of AdditionalCode, please refer to the PCP manual. There you will find a section of error codes.
|
| |
|
uint8 | PhysicalStatus = 0 |
| | Physical status of device
|
| |
|
uint8 | LogicalStatus = 0 |
| | Logical status of device
|
| |
|
RscString< 512 > | LocalDetails |
| | Detailed information on device status
|
| |
Result of the PcpStatus service
◆ Deserialize()
| void Arp::Io::Interbus::Services::StatusResult::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::StatusResult::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::StatusResult::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/StatusResult.hpp
- Arp/Io/Interbus/Services/StatusResult.cpp