EventManagerUaNode Class Reference

#include <eventmanageruanode.h>

Inheritance diagram for EventManagerUaNode:
Collaboration diagram for EventManagerUaNode:

List of all members.

Public Member Functions

 EventManagerUaNode ()
virtual ~EventManagerUaNode ()
virtual UaStatus OnEnable (const ServiceContext &serviceContext, OpcUa::ConditionType *pCondition)
virtual UaStatus OnDisable (const ServiceContext &serviceContext, OpcUa::ConditionType *pCondition)
virtual UaStatus OnAddComment (const ServiceContext &serviceContext, OpcUa::ConditionType *pCondition, const UaByteString &EventId, const UaLocalizedText &Comment)
virtual UaStatus OnRespond (const ServiceContext &serviceContext, OpcUa::ConditionType *pCondition, OpcUa_UInt32 selectedResponse)
virtual UaStatus OnAcknowledge (const ServiceContext &serviceContext, OpcUa::AcknowledgeableConditionType *pCondition, const UaByteString &EventId, const UaLocalizedText &Comment)
virtual UaStatus OnConfirm (const ServiceContext &serviceContext, OpcUa::AcknowledgeableConditionType *pCondition, const UaByteString &EventId, const UaLocalizedText &Comment)
virtual UaStatus OnOneShotShelve (const ServiceContext &serviceContext, OpcUa::AlarmConditionType *pCondition)
virtual UaStatus OnTimedShelve (const ServiceContext &serviceContext, OpcUa::AlarmConditionType *pCondition, OpcUa_Double ShelvingTime)
virtual UaStatus OnUnshelve (const ServiceContext &serviceContext, OpcUa::AlarmConditionType *pCondition)

Detailed Description

Implements the EventManager interface for NodeManagerUaNode based node managers This class implements the EventManager interface for nodes managed by the SDK in a NodeManagerUaNode based node manager. It handles all active event monitored items and all event filtering and event field selection.


Constructor & Destructor Documentation

EventManagerUaNode::EventManagerUaNode (  )

Construction

EventManagerUaNode::~EventManagerUaNode (  ) [virtual]

Destruction


Member Function Documentation

UaStatus EventManagerUaNode::OnAcknowledge ( const ServiceContext serviceContext,
OpcUa::AcknowledgeableConditionType pCondition,
const UaByteString EventId,
const UaLocalizedText Comment 
) [virtual]

Event handlers for AcknowledgeableConditionType method Acknowledge called from UA client

Returns:
Status code.
Parameters:
[in]serviceContextThe client service context including the session object used for the call
[in]pConditionThe affected acknowledgeable condition object
[in]EventIdThe EventId of the event the acknowledge is related to
[in]CommentThe comment provied by the client
UaStatus EventManagerUaNode::OnAddComment ( const ServiceContext serviceContext,
OpcUa::ConditionType pCondition,
const UaByteString EventId,
const UaLocalizedText Comment 
) [virtual]

Event handlers for Condtion method AddComment called from UA client

Returns:
Status code.
Parameters:
[in]serviceContextThe client service context including the session object used for the call
[in]pConditionThe affected condition object
[in]EventIdThe EventId of the event the comment is related to
[in]CommentThe comment provied by the client
UaStatus EventManagerUaNode::OnConfirm ( const ServiceContext serviceContext,
OpcUa::AcknowledgeableConditionType pCondition,
const UaByteString EventId,
const UaLocalizedText Comment 
) [virtual]

Event handlers for AcknowledgeableConditionType method Confirm called from UA client

Returns:
Status code.
Parameters:
[in]serviceContextThe client service context including the session object used for the call
[in]pConditionThe affected acknowledgeable condition object
[in]EventIdThe EventId of the event the confirm is related to
[in]CommentThe comment provied by the client
UaStatus EventManagerUaNode::OnDisable ( const ServiceContext serviceContext,
OpcUa::ConditionType pCondition 
) [virtual]

Event handlers for Condtion method Disable called from UA client

Returns:
Status code.
Parameters:
[in]serviceContextThe client service context including the session object used for the call
[in]pConditionThe affected condition object
UaStatus EventManagerUaNode::OnEnable ( const ServiceContext serviceContext,
OpcUa::ConditionType pCondition 
) [virtual]

Event handlers for Condtion method Enable called from UA client

Returns:
Status code.
Parameters:
[in]serviceContextThe client service context including the session object used for the call
[in]pConditionThe affected condition object
UaStatus EventManagerUaNode::OnOneShotShelve ( const ServiceContext serviceContext,
OpcUa::AlarmConditionType pCondition 
) [virtual]

Event handlers for AlarmConditionType method OneShotShelve called from UA client

Returns:
Status code.
Parameters:
[in]serviceContextThe client service context including the session object used for the call
[in]pConditionThe affected alarm condition object
UaStatus EventManagerUaNode::OnRespond ( const ServiceContext serviceContext,
OpcUa::ConditionType pCondition,
OpcUa_UInt32  selectedResponse 
) [virtual]

Event handlers for DialogConditionType method Respond called from UA client

Returns:
Status code.
UaStatus EventManagerUaNode::OnTimedShelve ( const ServiceContext serviceContext,
OpcUa::AlarmConditionType pCondition,
OpcUa_Double  ShelvingTime 
) [virtual]

Event handlers for AlarmConditionType method TimedShelve called from UA client

Returns:
Status code.
Parameters:
[in]serviceContextThe client service context including the session object used for the call
[in]pConditionThe affected alarm condition object
[in]ShelvingTimeThe time interval used for the timed shelve
UaStatus EventManagerUaNode::OnUnshelve ( const ServiceContext serviceContext,
OpcUa::AlarmConditionType pCondition 
) [virtual]

Event handlers for AlarmConditionType method Unshelve called from UA client

Returns:
Status code.
Parameters:
[in]serviceContextThe client service context including the session object used for the call
[in]pConditionThe affected alarm condition object

The documentation for this class was generated from the following files:
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/eventmanageruanode.h
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/eventmanageruanode.cpp