PLCnext API Documentation 26.0.1.58
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arp::Io::Profibus::Services::RecordResult Class Reference

Result of the record service More...

#include <RecordResult.hpp>

Inheritance diagram for Arp::Io::Profibus::Services::RecordResult:
Inheritance graph

Public Member Functions

 RecordResult (void)
 Constructs an RecordResult instance.
 
 RecordResult (uint8 errorDecode, uint8 errorCode1, uint8 errorCode2)
 Constructs an RecordResult 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...
 
- Public Member Functions inherited from Arp::Base::Rsc::Commons::RscSerializable
 RscSerializable (void)=default
 The default constructor.
 

Static Public Member Functions

static size_t GetFieldCount (void)
 Returns the count of fields More...
 

Public Attributes

uint8 ErrorDecode = 0
 ErrorDecode (for more information read the PROFIBUS specification)
 
uint8 ErrorCode1 = 0
 ErrorCode 1 (for more information read the PROFIBUS specification)
 
uint8 ErrorCode2 = 0
 ErrorCode 2 (for more information read the PROFIBUS specification)
 

Detailed Description

Result of the record service

Member Function Documentation

◆ Deserialize()

void Arp::Io::Profibus::Services::RecordResult::Deserialize ( RscReader reader)

Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.

Parameters
readerReference to RscReader.

◆ GetFieldCount()

size_t Arp::Io::Profibus::Services::RecordResult::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::RecordResult::Serialize ( RscWriter writer) const

Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.

Parameters
writerReference to RscWriter

The documentation for this class was generated from the following files: