PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
profinet::blocks::PDRealData Struct Reference

Parsed PDRealData (0xF841) structure. More...

#include <blocks.h>

+ Collaboration diagram for profinet::blocks::PDRealData:

Public Member Functions

bool operator== (const PDRealData &) const =default
 Compares two PDRealData for equality.
 

Public Attributes

std::vector< SlotInfoslots
 Slots discovered in the response.
 
std::optional< InterfaceInfointerface
 Interface information, if a PDInterfaceDataReal block was found.
 
std::vector< PortInfoports
 Port information for each port found.
 
std::vector< std::tuple< std::uint32_t, std::uint16_t, std::uint16_t, Bytes > > rawBlocks
 Raw (api, slot, subslot, MultipleBlockHeader payload) tuples, one per slot.
 

Detailed Description

Parsed PDRealData (0xF841) structure.

Definition at line 220 of file blocks.h.

Member Function Documentation

◆ operator==()

bool profinet::blocks::PDRealData::operator== ( const PDRealData ) const
default

Compares two PDRealData for equality.

Two PDRealData are equal when all scalar configuration fields are equal.

Member Data Documentation

◆ interface

std::optional<InterfaceInfo> profinet::blocks::PDRealData::interface

Interface information, if a PDInterfaceDataReal block was found.

Definition at line 226 of file blocks.h.

Referenced by profinet::blocks::ParsePdRealData().

◆ ports

std::vector<PortInfo> profinet::blocks::PDRealData::ports

Port information for each port found.

Definition at line 229 of file blocks.h.

Referenced by profinet::blocks::ParsePdRealData().

◆ rawBlocks

std::vector<std::tuple<std::uint32_t, std::uint16_t, std::uint16_t, Bytes> > profinet::blocks::PDRealData::rawBlocks

Raw (api, slot, subslot, MultipleBlockHeader payload) tuples, one per slot.

Definition at line 232 of file blocks.h.

Referenced by profinet::blocks::ParsePdRealData().

◆ slots

std::vector<SlotInfo> profinet::blocks::PDRealData::slots

Slots discovered in the response.

Definition at line 223 of file blocks.h.

Referenced by profinet::blocks::ParsePdRealData().


The documentation for this struct was generated from the following file: