|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Difference info for a single module (slot). More...
#include <blocks.h>
Collaboration diagram for profinet::blocks::ModuleDiffModule:Public Member Functions | |
| std::string | StateName () const |
| Human-readable name for ModuleState. | |
| bool | IsProper () const |
| Whether this module matches the expected configuration. | |
| bool | operator== (const ModuleDiffModule &) const =default |
| Compares two ModuleDiffModule for equality. | |
Public Attributes | |
| std::uint32_t | api = 0 |
| API number. | |
| std::uint16_t | slotNumber = 0 |
| Slot number. | |
| std::uint32_t | moduleIdentNumber = 0 |
| Actual module ident number found by the device. | |
| std::uint16_t | moduleState = 0 |
| Module state (see MODULE_STATE_* constants). | |
| std::vector< ModuleDiffSubmodule > | submodules |
| Submodules within this module. | |
| bool profinet::blocks::ModuleDiffModule::IsProper | ( | ) | const |
Whether this module matches the expected configuration.
Definition at line 549 of file blocks.cpp.
References profinet::MODULE_STATE_PROPER_MODULE, and moduleState.
|
default |
Compares two ModuleDiffModule for equality.
Two ModuleDiffModule are equal when all scalar configuration fields are equal.
| std::string profinet::blocks::ModuleDiffModule::StateName | ( | ) | const |
Human-readable name for ModuleState.
Definition at line 545 of file blocks.cpp.
References profinet::GetModuleStateName(), and moduleState.
Here is the call graph for this function:| std::uint32_t profinet::blocks::ModuleDiffModule::api = 0 |
| std::uint32_t profinet::blocks::ModuleDiffModule::moduleIdentNumber = 0 |
| std::uint16_t profinet::blocks::ModuleDiffModule::moduleState = 0 |
Module state (see MODULE_STATE_* constants).
Definition at line 392 of file blocks.h.
Referenced by IsProper(), and StateName().
| std::uint16_t profinet::blocks::ModuleDiffModule::slotNumber = 0 |
| std::vector<ModuleDiffSubmodule> profinet::blocks::ModuleDiffModule::submodules |