This service provides operations to read status information from the device.
More...
#include <IDeviceStatusService.hpp>
|
| IDeviceStatusService (void)=default |
| Constructs an IDeviceStatusService instance.
|
|
virtual RscVariant< 512 > | GetItem (const RscString< 512 > &identifier)=0 |
| This operation reads a single status information item. More...
|
|
virtual void | GetItems (GetItemsIdentifiersDelegate identifiersDelegate, GetItemsResultDelegate resultDelegate)=0 |
| This operation reads a list of status information items. More...
|
|
| IRscService (void)=default |
| Constructs an IRscService instance.
|
|
virtual | ~IRscService (void)=default |
| Destructs this instance and frees all resouces.
|
|
|
static IRscServiceProxyFactory & | GetProxyFactory (void) |
|
static IRscServiceProxyFactory & | GetProxyFactory (void) |
| Returns a reference to service proxy factory to create a proxy instance of the service More...
|
|
This service provides operations to read status information from the device.
The service is defined in the library Arp.Device.Interface.
A current documentation of available device status information can be found in the Phoenix Contact "PLCnext Info Center", e.g.: PLCnext Info Center: IDeviceStatusService.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
◆ GetItem()
virtual RscVariant< 512 > Arp::Device::Interface::Services::IDeviceStatusService::GetItem |
( |
const RscString< 512 > & |
identifier | ) |
|
|
pure virtual |
This operation reads a single status information item.
- Parameters
-
identifier | String to select the respective status information item. |
- Returns
- The result of the read operation as
Rsc container class for primitive data type, strings or information about arrays or structs....
Definition: RscVariant.hxx:69
on success, on error.
◆ GetItems()
virtual void Arp::Device::Interface::Services::IDeviceStatusService::GetItems |
( |
GetItemsIdentifiersDelegate |
identifiersDelegate, |
|
|
GetItemsResultDelegate |
resultDelegate |
|
) |
| |
|
pure virtual |
This operation reads a list of status information items.
- Parameters
-
identifiers | Arry of String select the respective status information items. |
- Returns
- The result of the read operation as an array of on success, on error.
The documentation for this class was generated from the following file: