OpcUa::ExclusiveDeviationAlarmTypeData Class Reference

#include <opcua_exclusivedeviationalarmtypebase.h>

Inheritance diagram for OpcUa::ExclusiveDeviationAlarmTypeData:
Collaboration diagram for OpcUa::ExclusiveDeviationAlarmTypeData:

List of all members.

Public Member Functions

 ExclusiveDeviationAlarmTypeData ()
virtual ~ExclusiveDeviationAlarmTypeData ()
void initializeAsBranch (ExclusiveDeviationAlarmTypeBase *pCondition)
virtual void getFieldData (OpcUa_UInt32 index, Session *pSession, OpcUa_Variant &data)
void setSetpointNode (const UaNodeId &setpointNode)
UaNodeId getSetpointNode ()
virtual void getSetpointNodeValue (Session *pSession, OpcUa_Variant &value)

Detailed Description

Generated event data class for a ExclusiveDeviationAlarmType.

This class contains the auto generated code for the object type ExclusiveDeviationAlarmType providing UaEventData interface for the access to event data containing the current state of the condition for events sent to the client. The class is used for condition events if the condition has no nodes in the address space or for condition branches created as snapshot of the main branch.


Constructor & Destructor Documentation

OpcUa::ExclusiveDeviationAlarmTypeData::ExclusiveDeviationAlarmTypeData (  )

Constructs an ExclusiveDeviationAlarmTypeData object

OpcUa::ExclusiveDeviationAlarmTypeData::~ExclusiveDeviationAlarmTypeData (  ) [virtual]

Destroys the ExclusiveDeviationAlarmTypeData object


Member Function Documentation

void OpcUa::ExclusiveDeviationAlarmTypeData::getFieldData ( OpcUa_UInt32  index,
Session pSession,
OpcUa_Variant &  data 
) [virtual]

Get the field value for the passed index.

Parameters:
indexThe index of the selected field.
pSessionThe session context for the method call.
dataThe data for the selected field.

Reimplemented from OpcUa::ExclusiveLimitAlarmTypeData.

UaNodeId OpcUa::ExclusiveDeviationAlarmTypeData::getSetpointNode (  )

Get the event field value SetpointNode

void OpcUa::ExclusiveDeviationAlarmTypeData::getSetpointNodeValue ( Session pSession,
OpcUa_Variant &  value 
) [virtual]

Get the event field value SetpointNode for delivering the event data.

This method can be overwritten in a derived class to return a client session specific value like a localized text matching the LocaleId requested by the client

void OpcUa::ExclusiveDeviationAlarmTypeData::initializeAsBranch ( ExclusiveDeviationAlarmTypeBase pCondition )

This method is used to initializes the ExclusiveDeviationAlarmTypeData object with event data from a condition object to create a branch of this condition object. The method creates a unique BranchId. EventManagerBase::fireEvent() is used send the intial branch state and status updates for the branch to the client(s). It is necessary to update the time stamps and the EventId for every update sent to the client(s).

Parameters:
pConditionThe condition object .
void OpcUa::ExclusiveDeviationAlarmTypeData::setSetpointNode ( const UaNodeId setpointNode )

Set the event field value SetpointNode


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