|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Port information from PDPortDataReal (0x020F). More...
#include <blocks.h>
Collaboration diagram for profinet::blocks::PortInfo:Public Member Functions | |
| std::string | MauTypeName () const |
| Human-readable name for MauType. | |
| std::string | LinkState () const |
| Human-readable name for LinkStateLink. | |
| bool | operator== (const PortInfo &) const =default |
| Compares two PortInfo for equality. | |
Public Attributes | |
| std::uint16_t | slot = 0 |
| Slot number. | |
| std::uint16_t | subslot = 0 |
| Subslot number. | |
| std::string | portId |
| LLDP port ID. | |
| std::uint16_t | mauType = 0 |
| MAU type (media attachment unit) code. | |
| std::uint8_t | linkStatePort = 0 |
| Port-level link state. | |
| std::uint8_t | linkStateLink = 0 |
| Link-level link state. | |
| std::uint32_t | mediaType = 0 |
| Media type code. | |
| std::vector< PeerInfo > | peers |
| LLDP peers discovered on this port. | |
| std::uint32_t | domainBoundary = 0 |
| Domain boundary flags. | |
| std::uint32_t | multicastBoundary = 0 |
| Multicast boundary flags. | |
| std::string profinet::blocks::PortInfo::LinkState | ( | ) | const |
Human-readable name for LinkStateLink.
Definition at line 97 of file blocks.cpp.
References linkStateLink.
Referenced by TEST_F().
Here is the caller graph for this function:| std::string profinet::blocks::PortInfo::MauTypeName | ( | ) | const |
Human-readable name for MauType.
Definition at line 87 of file blocks.cpp.
References mauType.
Referenced by TEST_F().
Here is the caller graph for this function:
|
default |
| std::uint32_t profinet::blocks::PortInfo::domainBoundary = 0 |
| std::uint8_t profinet::blocks::PortInfo::linkStateLink = 0 |
Link-level link state.
Definition at line 136 of file blocks.h.
Referenced by LinkState(), and TEST_F().
| std::uint8_t profinet::blocks::PortInfo::linkStatePort = 0 |
| std::uint16_t profinet::blocks::PortInfo::mauType = 0 |
MAU type (media attachment unit) code.
Definition at line 130 of file blocks.h.
Referenced by MauTypeName(), and TEST_F().
| std::uint32_t profinet::blocks::PortInfo::mediaType = 0 |
| std::uint32_t profinet::blocks::PortInfo::multicastBoundary = 0 |
| std::vector<PeerInfo> profinet::blocks::PortInfo::peers |
| std::string profinet::blocks::PortInfo::portId |
| std::uint16_t profinet::blocks::PortInfo::slot = 0 |
Slot number.
Definition at line 121 of file blocks.h.
Referenced by profinet::blocks::ParsePdPortDataReal().
| std::uint16_t profinet::blocks::PortInfo::subslot = 0 |