PLCnext API Documentation
21.0.0.35466
|
Use this service to read device states. More...
#include <IDeviceStatusService.hpp>
Public Types | |
typedef std::shared_ptr< IDeviceStatusService > | Ptr |
typedef delegate< void(IRscWriteEnumerator< RscString< 512 >> &)> | GetItemsIdentifiersDelegate |
typedef delegate< void(IRscReadEnumerator< RscVariant< 512 >> &)> | GetItemsResultDelegate |
Public Types inherited from Arp::System::Rsc::Services::IRscService | |
typedef std::shared_ptr< IRscService > | Ptr |
Public Member Functions | |
IDeviceStatusService (void) | |
Constructs an IDeviceStatusService instance. More... | |
virtual | ~IDeviceStatusService (void) |
Destructs this instance and frees all resouces. More... | |
virtual RscVariant< 512 > | GetItem (const RscString< 512 > &identifier)=0 |
Read a single state More... | |
virtual void | GetItems (GetItemsIdentifiersDelegate identifiersDelegate, GetItemsResultDelegate resultDelegate)=0 |
Read a list of states More... | |
Public Member Functions inherited from Arp::System::Rsc::Services::IRscService | |
IRscService (void)=default | |
Constructs an IRscService instance. More... | |
virtual | ~IRscService (void)=default |
Destructs this instance and frees all resouces. More... | |
Static Public Member Functions | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
Static Public Member Functions inherited from Arp::System::Rsc::Services::IRscService | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
Returns a reference to service proxy factory to create a proxy instance of the service More... | |
Use this service to read device states.
|
inline |
Constructs an IDeviceStatusService instance.
|
inlinevirtual |
Destructs this instance and frees all resouces.
|
pure virtual |
Read a single state
identifier | String for select the item |
|
pure virtual |
Read a list of states
identifiers | Arry of String for select the items |