PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
vendors.h File Reference

Declares PROFINET Vendor ID lookup utilities. The lookup table itself lives in vendors_data.h, generated by scripts/gen_vendors.py from the upstream Python source so it can be refreshed without hand-editing. More...

#include <cstdint>
#include <optional>
#include <string>
+ Include dependency graph for vendors.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  profinet
 

Functions

std::string profinet::GetVendorName (std::uint16_t vendorId)
 Get the vendor name for a 16-bit PROFINET vendor ID.
 
std::optional< std::string > profinet::LookupVendor (std::uint16_t vendorId)
 Look up a vendor name without a fallback string.
 

Detailed Description

Declares PROFINET Vendor ID lookup utilities. The lookup table itself lives in vendors_data.h, generated by scripts/gen_vendors.py from the upstream Python source so it can be refreshed without hand-editing.

Definition in file vendors.h.