|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Parsed ModuleDiffBlock (0x8104). More...
#include <blocks.h>
Collaboration diagram for profinet::blocks::ModuleDiffBlock:Public Member Functions | |
| bool | AllOk () const |
| Whether every module and submodule matches the expected configuration. | |
| std::vector< std::tuple< std::uint16_t, std::uint16_t, std::string > > | GetMismatches () const |
| List every non-OK module/submodule. | |
| bool | operator== (const ModuleDiffBlock &) const =default |
| Compares two ModuleDiffBlock for equality. | |
Public Attributes | |
| std::vector< ModuleDiffModule > | modules |
| Modules described by this block. | |
Parsed ModuleDiffBlock (0x8104).
| bool profinet::blocks::ModuleDiffBlock::AllOk | ( | ) | const |
Whether every module and submodule matches the expected configuration.
Definition at line 554 of file blocks.cpp.
References modules.
| std::vector< std::tuple< std::uint16_t, std::uint16_t, std::string > > profinet::blocks::ModuleDiffBlock::GetMismatches | ( | ) | const |
List every non-OK module/submodule.
Definition at line 573 of file blocks.cpp.
References modules.
|
default |
Compares two ModuleDiffBlock for equality.
Two ModuleDiffBlock are equal when all scalar configuration fields are equal.
| std::vector<ModuleDiffModule> profinet::blocks::ModuleDiffBlock::modules |
Modules described by this block.
Definition at line 417 of file blocks.h.
Referenced by AllOk(), and GetMismatches().