PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
profinet::rpc::EPMEndpoint Struct Reference

One RPC endpoint advertised by a device's Endpoint Mapper. More...

#include <rpc.h>

+ Collaboration diagram for profinet::rpc::EPMEndpoint:

Public Member Functions

std::string InterfaceName () const
 Human-readable interface name.
 

Public Attributes

std::string interfaceUuid
 Interface UUID this endpoint serves.
 
std::uint16_t interfaceVersionMajor = 0
 Major version of the interface.
 
std::uint16_t interfaceVersionMinor = 0
 Minor version of the interface.
 
std::string objectUuid
 Object UUID this endpoint entry is registered under.
 
std::string protocol
 Transport protocol, e.g. "ncadg_ip_udp".
 
std::uint16_t port = 0
 UDP/TCP port the endpoint listens on.
 
std::string ipAddress
 IPv4 address the endpoint listens on.
 
std::string annotation
 Free-text annotation supplied by the device (e.g. a model name).
 

Detailed Description

One RPC endpoint advertised by a device's Endpoint Mapper.

Definition at line 79 of file rpc.h.

Member Function Documentation

◆ InterfaceName()

std::string profinet::rpc::EPMEndpoint::InterfaceName ( ) const

Human-readable interface name.

Returns
A name such as "PNIO-Device", or "Unknown(<uuid>)" if not recognized.

Definition at line 249 of file rpc.cpp.

References interfaceUuid, profinet::rpc::UUID_EPM_V4, profinet::rpc::UUID_PNIO_CONTROLLER, and profinet::rpc::UUID_PNIO_DEVICE.

Member Data Documentation

◆ annotation

std::string profinet::rpc::EPMEndpoint::annotation

Free-text annotation supplied by the device (e.g. a model name).

Definition at line 103 of file rpc.h.

◆ interfaceUuid

std::string profinet::rpc::EPMEndpoint::interfaceUuid

Interface UUID this endpoint serves.

Definition at line 82 of file rpc.h.

Referenced by InterfaceName().

◆ interfaceVersionMajor

std::uint16_t profinet::rpc::EPMEndpoint::interfaceVersionMajor = 0

Major version of the interface.

Definition at line 85 of file rpc.h.

◆ interfaceVersionMinor

std::uint16_t profinet::rpc::EPMEndpoint::interfaceVersionMinor = 0

Minor version of the interface.

Definition at line 88 of file rpc.h.

◆ ipAddress

std::string profinet::rpc::EPMEndpoint::ipAddress

IPv4 address the endpoint listens on.

Definition at line 100 of file rpc.h.

◆ objectUuid

std::string profinet::rpc::EPMEndpoint::objectUuid

Object UUID this endpoint entry is registered under.

Definition at line 91 of file rpc.h.

◆ port

std::uint16_t profinet::rpc::EPMEndpoint::port = 0

UDP/TCP port the endpoint listens on.

Definition at line 97 of file rpc.h.

◆ protocol

std::string profinet::rpc::EPMEndpoint::protocol

Transport protocol, e.g. "ncadg_ip_udp".

Definition at line 94 of file rpc.h.


The documentation for this struct was generated from the following files: