PLCnext API Documentation 25.0.2.69
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arp::Io::Interbus::Services::InterbusResult Class Reference

Contains error information of an Interbus service. More...

#include <InterbusResult.hpp>

Inheritance diagram for Arp::Io::Interbus::Services::InterbusResult:
Inheritance graph

Public Member Functions

 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...
 
- 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

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.
 

Detailed Description

Contains error information of an Interbus service.

Member Function Documentation

◆ 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
readerReference 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
writerReference to RscWriter

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