PLCnext API Documentation 25.0.2.69
IAcyclicCommunicationService.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/Rsc/Commons/IRscService.hpp"
10#include <vector>
11#include "Arp/Io/Profibus/Services/RecordParameters.hpp"
12#include "Arp/Io/Profibus/Services/RecordResult.hpp"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IAcyclicCommunicationService.cs
15
17{
18
19using namespace Arp::Base::Rsc::Commons;
20
29{
30public: // usings
31 using Ptr = std::shared_ptr<IAcyclicCommunicationService>;
32
33public: // construction/destruction
36
37public: // static policy operation
38 static IRscServiceProxyFactory& GetProxyFactory(void);
39
40public: // abstract operations
47 virtual RecordResult ReadRecord(const RecordParameters& parameters, std::vector<byte>& data) = 0;
48
55 virtual RecordResult WriteRecord(const RecordParameters& parameters, const std::vector<byte>& data) = 0;
56};
57
58} // end of namespace Arp::Io::Profibus::Services
This is the base interface of all Rsc services.
Definition: IRscService.hpp:22
std::shared_ptr< IRscService > Ptr
The shared_ptr type of IRscService.
Definition: IRscService.hpp:25
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
virtual RecordResult ReadRecord(const RecordParameters &parameters, std::vector< byte > &data)=0
Reads object from Profibus module
virtual RecordResult WriteRecord(const RecordParameters &parameters, const std::vector< byte > &data)=0
Writes object to Profibus module
IAcyclicCommunicationService(void)=default
Constructs an IAcyclicCommunicationService instance.
Parameters to address a module.
Definition: RecordParameters.hpp:25
Use this service for acyclic PROFINET communication
Definition: IAcyclicCommunicationService.hpp:29
Result of the record service
Definition: RecordResult.hpp:24
Namespace for Profibus services