Used for filed indices and data. It is not possible to create plane copies of this Class. More...
#include <uaeventdata.h>
Public Member Functions | |
UaEventData () | |
virtual | ~UaEventData () |
virtual void | getFieldData (OpcUa_UInt32 index, Session *pSession, OpcUa_Variant &data)=0 |
virtual UaNodeId | getConditionNodeId () |
virtual UaNodeId | getConditionBranchNodeId () |
virtual OpcUa_Boolean | getConditionRetain () |
void | setEventUserData (OpcUa_Handle pEventUserData) |
OpcUa_Handle | getEventUserData () const |
Static Public Member Functions | |
static void | registerEventFields () |
Used for filed indices and data. It is not possible to create plane copies of this Class.
UaEventData::UaEventData | ( | ) |
construction
UaEventData::~UaEventData | ( | ) | [virtual] |
destruction
virtual UaNodeId UaEventData::getConditionBranchNodeId | ( | ) | [inline, virtual] |
Returns the condition branch NodeId if the event data is related to a condition object. Returns a null Nodeid if the event data is related to a simple event.
Reimplemented in OpcUa::ConditionType, and OpcUa::ConditionTypeData.
virtual UaNodeId UaEventData::getConditionNodeId | ( | ) | [inline, virtual] |
Returns the condition NodeId if the event data is related to a condition object. Returns a null Nodeid if the event data is related to a simple event.
Reimplemented in OpcUa::ConditionType, and OpcUa::ConditionTypeData.
virtual OpcUa_Boolean UaEventData::getConditionRetain | ( | ) | [inline, virtual] |
Returns the Retain flag if the event data is related to a condition object. Returns a OpcUa_False if the event data is related to a simple event.
Reimplemented in OpcUa::ConditionType, and OpcUa::ConditionTypeData.
OpcUa_Handle UaEventData::getEventUserData | ( | ) | const |
Returns the user specific event data.
virtual void UaEventData::getFieldData | ( | OpcUa_UInt32 | index, |
Session * | pSession, | ||
OpcUa_Variant & | data | ||
) | [pure virtual] |
Get the field value for the passed index.
index | The index of the selected field. |
pSession | The session context for the field access |
data | The data for the selected field. |
Implemented in OpcUa::AcknowledgeableConditionTypeData, OpcUa::AcknowledgeableConditionTypeBase, OpcUa::AlarmConditionTypeData, OpcUa::AlarmConditionTypeBase, OpcUa::ConditionTypeData, OpcUa::ConditionTypeBase, OpcUa::DialogConditionTypeData, OpcUa::DialogConditionTypeBase, OpcUa::DiscreteAlarmTypeData, OpcUa::DiscreteAlarmTypeBase, OpcUa::ExclusiveDeviationAlarmTypeData, OpcUa::ExclusiveDeviationAlarmTypeBase, OpcUa::ExclusiveLevelAlarmTypeData, OpcUa::ExclusiveLevelAlarmTypeBase, OpcUa::ExclusiveLimitAlarmTypeData, OpcUa::ExclusiveLimitAlarmTypeBase, OpcUa::ExclusiveRateOfChangeAlarmTypeData, OpcUa::ExclusiveRateOfChangeAlarmTypeBase, OpcUa::LimitAlarmTypeData, OpcUa::LimitAlarmTypeBase, OpcUa::NonExclusiveDeviationAlarmTypeData, OpcUa::NonExclusiveDeviationAlarmTypeBase, OpcUa::NonExclusiveLevelAlarmTypeData, OpcUa::NonExclusiveLevelAlarmTypeBase, OpcUa::NonExclusiveLimitAlarmTypeData, OpcUa::NonExclusiveLimitAlarmTypeBase, OpcUa::NonExclusiveRateOfChangeAlarmTypeData, OpcUa::NonExclusiveRateOfChangeAlarmTypeBase, OpcUa::OffNormalAlarmTypeData, OpcUa::OffNormalAlarmTypeBase, OpcUa::SystemEventTypeData, OpcUa::DeviceFailureEventTypeData, OpcUa::TripAlarmTypeData, OpcUa::TripAlarmTypeBase, and BaseEventTypeData.
static void UaEventData::registerEventFields | ( | ) | [inline, static] |
Registers all event type fields with the EventManagerBase.
Reimplemented in OpcUa::AcknowledgeableConditionTypeBase, OpcUa::AlarmConditionTypeBase, OpcUa::ConditionTypeBase, OpcUa::DialogConditionTypeBase, OpcUa::DiscreteAlarmTypeBase, OpcUa::ExclusiveDeviationAlarmTypeBase, OpcUa::ExclusiveLevelAlarmTypeBase, OpcUa::ExclusiveLimitAlarmTypeBase, OpcUa::ExclusiveRateOfChangeAlarmTypeBase, OpcUa::LimitAlarmTypeBase, OpcUa::NonExclusiveDeviationAlarmTypeBase, OpcUa::NonExclusiveLevelAlarmTypeBase, OpcUa::NonExclusiveLimitAlarmTypeBase, OpcUa::NonExclusiveRateOfChangeAlarmTypeBase, OpcUa::OffNormalAlarmTypeBase, OpcUa::SystemEventTypeData, OpcUa::DeviceFailureEventTypeData, OpcUa::TripAlarmTypeBase, and BaseEventTypeData.
void UaEventData::setEventUserData | ( | OpcUa_Handle | pEventUserData ) |
Sets the user specific event data to the EventData object. This data is not used by the SDK