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

Contains statistic values of one application relation More...

#include <ArStatisticValue.hpp>

Inheritance diagram for Arp::Io::ProfinetStack::Controller::Services::ArStatisticValue:
Inheritance graph

Public Member Functions

 ArStatisticValue (void)
 Constructs an ArStatisticValue instance.
 
 ArStatisticValue (const RscString< 256 > &stationName, uint32 missedFramesTotal, uint32 missedFramesActual, uint32 connectionCount, uint32 missedFramesGlobal)
 Constructs an ArStatisticValue 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

RscString< 256 > StationName
 Name of profinet device.
 
uint32 MissedFramesTotal = 0
 Count of missed frames of profinet device since start of controller or last Reset().
 
uint32 MissedFramesActual = 0
 Count of missed frames since start of connection. This value is not reset by Reset().
 
uint32 ConnectionCount = 0
 Count of reconnects since start of controller or last Reset().
 
uint32 MissedFramesGlobal = 0
 Sum of missed frames of all configured Profinet devices.
 

Detailed Description

Contains statistic values of one application relation

Member Function Documentation

◆ Deserialize()

void Arp::Io::ProfinetStack::Controller::Services::ArStatisticValue::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::ProfinetStack::Controller::Services::ArStatisticValue::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::ProfinetStack::Controller::Services::ArStatisticValue::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: