Contains information that are returned by a request.
More...
#include <DcpResult.hpp>
|
|
| DcpResult (void) |
| | Constructs an DcpResult instance.
|
| |
|
| DcpResult (DcpErrorCode errorCode, uint32 xid) |
| | Constructs an DcpResult 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...
|
| |
| void | Serialize (JRscWriter &writer) const |
| | Serializes the datatype. All fields of the datatype have to be serialized in use of JRscWriter. More...
|
| |
| void | Deserialize (JRscReader &reader) |
| | Deserializes the datatype. All fields of the datatype have to be deserialized in use of JRscReader. More...
|
| |
|
| RscSerializable (void)=default |
| | The default constructor.
|
| |
|
|
DcpErrorCode | ErrorCode = static_cast<DcpErrorCode>(0) |
| | Error code of request or confirmation.
|
| |
|
uint32 | Xid = 0 |
| | The value is used to identify confirmation of a request. It is returned on a request and has to be used to retrieve confirmations using !:IDcpService.GetDcpConfirmations(byte, uint[]).
|
| |
Contains information that are returned by a request.
◆ Deserialize() [1/2]
| void Arp::Io::ProfinetStack::System::Services::DcpResult::Deserialize |
( |
JRscReader & |
reader | ) |
|
Deserializes the datatype. All fields of the datatype have to be deserialized in use of JRscReader.
- Parameters
-
| reader | Reference to RscReader. |
◆ Deserialize() [2/2]
| void Arp::Io::ProfinetStack::System::Services::DcpResult::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::ProfinetStack::System::Services::DcpResult::GetFieldCount |
( |
void |
| ) |
|
|
static |
Returns the count of fields
- Returns
- Count of fields.
The field count is used for serialization via Rsc
◆ Serialize() [1/2]
| void Arp::Io::ProfinetStack::System::Services::DcpResult::Serialize |
( |
JRscWriter & |
writer | ) |
const |
Serializes the datatype. All fields of the datatype have to be serialized in use of JRscWriter.
- Parameters
-
| writer | Reference to RscWriter |
◆ Serialize() [2/2]
| void Arp::Io::ProfinetStack::System::Services::DcpResult::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/ProfinetStack/System/Services/DcpResult.hpp
- Arp/Io/ProfinetStack/System/Services/DcpResult.cpp