PLCnext API Documentation 25.0.2.69
|
Use this service for acyclic PROFINET communication More...
#include <IAcyclicCommunicationService.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IAcyclicCommunicationService > |
![]() | |
using | Ptr = std::shared_ptr< IRscService > |
The shared_ptr type of IRscService. | |
Public Member Functions | |
IAcyclicCommunicationService (void)=default | |
Constructs an IAcyclicCommunicationService instance. | |
virtual RecordResult | RecordRead (const RecordParam &recordParam, std::vector< byte > &data)=0 |
Read data from a device module (blocking mode) More... | |
virtual RecordResult | RecordWrite (const RecordParam &recordParam, const std::vector< byte > &data)=0 |
Write data on a device module (blocking mode) 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 acyclic PROFINET communication
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 |
Read data from a device module (blocking mode)
recordParam | Structure with parameters to address an object on a module to read from |
data | Data that are read from the module |
|
pure virtual |
Write data on a device module (blocking mode)
recordParam | Structure with parameters to address an object on a module to write on Arp.Io.ProfinetStack.Controller.Services.RecordParam |
data | Data that shall be written on the module |