#include <uaeventdata.h>
Public Member Functions | |
BaseEventTypeData () | |
virtual | ~BaseEventTypeData () |
virtual OpcUa_UInt16 | getFieldIndex (const OpcUa_SimpleAttributeOperand &selectClause) |
virtual void | getFieldData (OpcUa_UInt16 index, OpcUa_Variant &data) |
void | addEventType (UaEventData *pEventType) |
Public Attributes | |
UaVariant | m_EventId |
UaNodeId | m_EventTypeId |
UaVariant | m_SourceNode |
UaVariant | m_SourceName |
UaVariant | m_Time |
UaVariant | m_ReceiveTime |
UaVariant | m_TimeZone |
UaVariant | m_DaylightSavingTime |
UaVariant | m_Message |
UaVariant | m_Severity |
BaseEventTypeData::BaseEventTypeData | ( | ) |
construction
BaseEventTypeData::~BaseEventTypeData | ( | ) | [virtual] |
destruction
OpcUa_UInt16 BaseEventTypeData::getFieldIndex | ( | const OpcUa_SimpleAttributeOperand & | selectClause | ) | [virtual] |
Get the index for the selected field.
selectClause | the selected clause of the Fieldindex. |
Implements UaEventData.
Reimplemented in AuditEventTypeData, AuditOpenSecureChannelEventTypeData, AuditChannelEventType, AuditSessionEventTypeData, AuditCreateSessionEventTypeData, and AuditActivateSessionEventTypeData.
void BaseEventTypeData::getFieldData | ( | OpcUa_UInt16 | index, | |
OpcUa_Variant & | data | |||
) | [virtual] |
Get the field value for the passed index.
index | the index for the selected field. | |
data | the data for the selected field. |
Implements UaEventData.
Reimplemented in AuditEventTypeData, AuditOpenSecureChannelEventTypeData, AuditChannelEventType, AuditSessionEventTypeData, AuditCreateSessionEventTypeData, and AuditActivateSessionEventTypeData.
void BaseEventTypeData::addEventType | ( | UaEventData * | pEventType | ) |
Add a custom event type to allow selection of fields of the custom type. This functionality is needed for the instance of BaseEventTypeData that is used to create an EventItem und to select the custom fields there.
pEventType | a custom event type to allow selection of fields of the custom type. |
Field 01 - EventId
Field 02 - EventType
Field 03 - SourceNode
Field 04 - SourceName
Field 05 - Time
Field 06 - ReceiveTime
Field 07 - TimeZone
Field 08 - DaylightSavingTime
Field 09 - Message
Field 10 - Severity