|
PLCnext API Documentation 25.6.0.37
|
Use this service to work receive PROFINET alarms More...
#include <IAlarmService.hpp>

Public Types | |
| using | Ptr = std::shared_ptr< IAlarmService > |
Public Types inherited from Arp::Base::Rsc::Commons::IRscService | |
| using | Ptr = std::shared_ptr< IRscService > |
| The shared_ptr type of IRscService. | |
Public Member Functions | |
| IAlarmService (void)=default | |
| Constructs an IAlarmService instance. | |
| virtual uint32 | ReceiveAlarm (uint32 id, AlarmInfo &alarmInfo)=0 |
| Receive a PROFINET alarm More... | |
| virtual void | EnableAutoAlarmAcknowledge (boolean value)=0 |
| Change setting of automatic alarm acknowledge. More... | |
Public Member Functions inherited from Arp::Base::Rsc::Commons::IRscService | |
| 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 Public Member Functions inherited from Arp::Base::Rsc::Commons::IRscService | |
| static IRscServiceProxyFactory & | GetProxyFactory (void) |
| Returns a reference to service proxy factory to create a proxy instance of this service. More... | |
Use this service to work receive PROFINET alarms
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 |
Change setting of automatic alarm acknowledge.
| value | Set value = true to activate automatic alarm acknowledge and value = false to deactivate automatic alarm acknowledge. |
|
pure virtual |
Receive a PROFINET alarm
| id | Node ID |
| alarmInfo | Structure with all alarm information Arp.Io.ProfinetStack.Controller.Services.AlarmInfo |