PLCnext API Documentation 25.0.2.69
|
Use this service for conversion of addresses and node IDs More...
#include <IAddressConversionService.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IAddressConversionService > |
![]() | |
using | Ptr = std::shared_ptr< IRscService > |
The shared_ptr type of IRscService. | |
Public Member Functions | |
IAddressConversionService (void)=default | |
Constructs an IAddressConversionService instance. | |
virtual uint32 | AddressToId (const ProfinetAddress &address, uint32 &id)=0 |
Convert an address to a node ID More... | |
virtual uint32 | IdToAddress (uint32 id, ProfinetAddress &address)=0 |
Convert a node id to an address More... | |
![]() | |
IRscService (void)=default | |
The default constructor. | |
IRscService (const IRscService &arg)=delete | |
The deleted copy constructor. More... | |
IRscService (IRscService &&arg) noexcept=default | |
The default move constructor. More... | |
IRscService & | operator= (const IRscService &arg)=delete |
The deleted assignment operator. More... | |
IRscService & | operator= (IRscService &&arg) noexcept=default |
The default move-assignment operator. More... | |
virtual | ~IRscService (void)=default |
Destructs this instance and frees all resources. | |
Static Public Member Functions | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
![]() | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
Returns a reference to service proxy factory to create a proxy instance of this service. More... | |
Use this service for conversion of addresses and node IDs
This service is defined in library Arp.Io.ProfinetStack.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
|
pure virtual |
Convert an address to a node ID
address | Structure with all parameters of a PROFINET address Arp.Io.ProfinetStack.Controller.Services.ProfinetAddress |
id | Node ID |
|
pure virtual |
Convert a node id to an address
id | Node ID |
address | Structure with all parameters of a PROFINET address Arp.Io.ProfinetStack.Controller.Services.ProfinetAddress |