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 <IRPCCon.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 33 of file IRPCCon.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 211 of file rpc.cpp.

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

Referenced by profinet::rpc::TEST_F(), profinet::rpc::TEST_F(), profinet::rpc::TEST_F(), profinet::rpc::TEST_F(), profinet::rpc::TEST_F(), profinet::rpc::TEST_F(), profinet::rpc::TEST_F(), profinet::rpc::TEST_F(), profinet::rpc::TEST_F(), and profinet::rpc::TEST_F().

+ Here is the caller graph for this function:

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 57 of file IRPCCon.h.

◆ interfaceUuid

◆ interfaceVersionMajor

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

Major version of the interface.

Definition at line 39 of file IRPCCon.h.

Referenced by profinet::rpc::ParseEpmTower().

◆ interfaceVersionMinor

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

Minor version of the interface.

Definition at line 42 of file IRPCCon.h.

Referenced by profinet::rpc::ParseEpmTower().

◆ ipAddress

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

IPv4 address the endpoint listens on.

Definition at line 54 of file IRPCCon.h.

Referenced by profinet::rpc::ParseEpmTower().

◆ objectUuid

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

Object UUID this endpoint entry is registered under.

Definition at line 45 of file IRPCCon.h.

◆ port

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

UDP/TCP port the endpoint listens on.

Definition at line 51 of file IRPCCon.h.

Referenced by profinet::rpc::ParseEpmTower().

◆ protocol

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

Transport protocol, e.g. "ncadg_ip_udp".

Definition at line 48 of file IRPCCon.h.

Referenced by profinet::rpc::ParseEpmTower().


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