8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/Rsc/Commons/IRscService.hpp"
10#include "Arp/Base/Rsc/Commons/IRscReadEnumerator.hxx"
11#include "Arp/Base/Rsc/Commons/IRscWriteEnumerator.hxx"
12#include "Arp/Base/Core/delegate.hxx"
14#include "Arp/Base/Rsc/Commons/RscString.hxx"
15#include "Arp/Io/ProfinetStack/Controller/Services/ArDataResult.hpp"
16#include "Arp/Io/ProfinetStack/Controller/Services/ArInfo.hpp"
17#include "Arp/Io/ProfinetStack/Controller/Services/DiagnosticResult.hpp"
24using namespace Arp::Base::Rsc::Commons;
36 using Ptr = std::shared_ptr<IArDataService>;
84 virtual std::vector<DiagnosticResult>
GetArDiagnosis(
const std::vector<uint16>& arUserId) = 0;
Prototyping of delegate template.
Definition: delegate.hxx:14
Interface for reading a arrays or enumerations.
Definition: IRscReadEnumerator.hxx:19
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 writing an array enumeration or enumeration of unspefied length.
Definition: IRscWriteEnumerator.hxx:20
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
Container for a combination of an error code and a value which is a result for a read operation to a ...
Definition: ArDataResult.hpp:32
Use this service to manage PROFINET Controller Application Relationships (AR)
Definition: IArDataService.hpp:34
IArDataService(void)=default
Constructs an IArDataService instance.
virtual void GetAllArInfo(GetAllArInfoResultDelegate resultDelegate)=0
This method returns a list of ArInfo-objects with DNS-Name and AR-User-Id of each configured profinet...
virtual ArDataResult GetAttributeValue(uint16 arUserId, const RscString< 256 > &attributeName)=0
Read a single attribute value
virtual std::vector< DiagnosticResult > GetArDiagnosis(const std::vector< uint16 > &arUserId)=0
Read an array of diagnosis information
virtual void GetAllArAttributeNames(uint16 arUserId, GetAllArAttributeNamesResultDelegate resultDelegate)=0
This method returns an array of strings with all available attributes of specified AR-User-Id of whic...
virtual void GetAttributeValues(uint16 arUserId, GetAttributeValuesAttributeNameDelegate attributeNameDelegate, GetAttributeValuesResultDelegate resultDelegate)=0
Read a list of attribute values
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:29
Namespace for Profinet I/O controller services