|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
A GSDML module definition (ModuleItem), possibly offering multiple virtual submodules. More...
#include <gsdml.h>
Collaboration diagram for profinet::gsdml::GSDMLModule:Public Attributes | |
| std::string | id |
| GSDML ID attribute (used to resolve ModuleItemTarget references). | |
| std::uint32_t | moduleIdentNumber = 0 |
| Module ident number (hex value from the GSDML, parsed to an integer). | |
| std::string | name |
| Human-readable module name (from the GSDML's Name/TextId, resolved via ExternalTextList). | |
| std::map< std::string, GSDMLSubmodule > | submodules |
| Virtual submodules this module offers, keyed by their GSDML ID. | |
| std::vector< GSDMLSubmoduleReference > | submoduleReferences |
| References to globally defined SubmoduleItem definitions. | |
| std::vector< int > | physicalSubslots |
| Physical subslots supported by this module. | |
A GSDML module definition (ModuleItem), possibly offering multiple virtual submodules.
| std::string profinet::gsdml::GSDMLModule::id |
GSDML ID attribute (used to resolve ModuleItemTarget references).
Definition at line 86 of file gsdml.h.
Referenced by profinet::gsdml::GSDMLDevice::BuildIoSlots(), and profinet::gsdml::ParseGsdmlString().
| std::uint32_t profinet::gsdml::GSDMLModule::moduleIdentNumber = 0 |
Module ident number (hex value from the GSDML, parsed to an integer).
Definition at line 88 of file gsdml.h.
Referenced by profinet::gsdml::ParseGsdmlString().
| std::string profinet::gsdml::GSDMLModule::name |
Human-readable module name (from the GSDML's Name/TextId, resolved via ExternalTextList).
Definition at line 90 of file gsdml.h.
Referenced by profinet::gsdml::ParseGsdmlString().
| std::vector<int> profinet::gsdml::GSDMLModule::physicalSubslots |
Physical subslots supported by this module.
Definition at line 106 of file gsdml.h.
Referenced by profinet::gsdml::ParseGsdmlString().
| std::vector<GSDMLSubmoduleReference> profinet::gsdml::GSDMLModule::submoduleReferences |
References to globally defined SubmoduleItem definitions.
Other GSDML files, such as Phoenix Contact GSDMLs, use UseableSubmodules/SubmoduleItemRef and define the actual submodules separately in SubmoduleList.
Definition at line 103 of file gsdml.h.
Referenced by profinet::gsdml::GSDMLDevice::BuildIoSlots(), and profinet::gsdml::ParseGsdmlString().
| std::map<std::string, GSDMLSubmodule> profinet::gsdml::GSDMLModule::submodules |
Virtual submodules this module offers, keyed by their GSDML ID.
Some GSDML files define the submodules directly under the module using VirtualSubmoduleList.
Definition at line 96 of file gsdml.h.
Referenced by profinet::gsdml::GSDMLDevice::BuildIoSlots(), and profinet::gsdml::ParseGsdmlString().