OpcUa::LimitAlarmTypeData Class Reference

#include <opcua_limitalarmtypebase.h>

Inheritance diagram for OpcUa::LimitAlarmTypeData:
Collaboration diagram for OpcUa::LimitAlarmTypeData:

List of all members.

Public Member Functions

 LimitAlarmTypeData ()
virtual ~LimitAlarmTypeData ()
void initializeAsBranch (LimitAlarmTypeBase *pCondition)
virtual void getFieldData (OpcUa_UInt32 index, Session *pSession, OpcUa_Variant &data)
void setHighHighLimit (OpcUa_Double highHighLimit)
OpcUa_Double getHighHighLimit ()
virtual void getHighHighLimitValue (Session *pSession, OpcUa_Variant &value)
void setHighLimit (OpcUa_Double highLimit)
OpcUa_Double getHighLimit ()
virtual void getHighLimitValue (Session *pSession, OpcUa_Variant &value)
void setLowLimit (OpcUa_Double lowLimit)
OpcUa_Double getLowLimit ()
virtual void getLowLimitValue (Session *pSession, OpcUa_Variant &value)
void setLowLowLimit (OpcUa_Double lowLowLimit)
OpcUa_Double getLowLowLimit ()
virtual void getLowLowLimitValue (Session *pSession, OpcUa_Variant &value)

Detailed Description

Generated event data class for a LimitAlarmType.

This class contains the auto generated code for the object type LimitAlarmType 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::LimitAlarmTypeData::LimitAlarmTypeData (  )

Constructs an LimitAlarmTypeData object

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

Destroys the LimitAlarmTypeData object


Member Function Documentation

void OpcUa::LimitAlarmTypeData::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::AlarmConditionTypeData.

Reimplemented in OpcUa::ExclusiveDeviationAlarmTypeData, OpcUa::ExclusiveLevelAlarmTypeData, OpcUa::ExclusiveLimitAlarmTypeData, OpcUa::ExclusiveRateOfChangeAlarmTypeData, OpcUa::NonExclusiveDeviationAlarmTypeData, OpcUa::NonExclusiveLevelAlarmTypeData, OpcUa::NonExclusiveLimitAlarmTypeData, and OpcUa::NonExclusiveRateOfChangeAlarmTypeData.

OpcUa_Double OpcUa::LimitAlarmTypeData::getHighHighLimit (  )

Get the event field value HighHighLimit

void OpcUa::LimitAlarmTypeData::getHighHighLimitValue ( Session pSession,
OpcUa_Variant &  value 
) [virtual]

Get the event field value HighHighLimit 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

OpcUa_Double OpcUa::LimitAlarmTypeData::getHighLimit (  )

Get the event field value HighLimit

void OpcUa::LimitAlarmTypeData::getHighLimitValue ( Session pSession,
OpcUa_Variant &  value 
) [virtual]

Get the event field value HighLimit 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

OpcUa_Double OpcUa::LimitAlarmTypeData::getLowLimit (  )

Get the event field value LowLimit

void OpcUa::LimitAlarmTypeData::getLowLimitValue ( Session pSession,
OpcUa_Variant &  value 
) [virtual]

Get the event field value LowLimit 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

OpcUa_Double OpcUa::LimitAlarmTypeData::getLowLowLimit (  )

Get the event field value LowLowLimit

void OpcUa::LimitAlarmTypeData::getLowLowLimitValue ( Session pSession,
OpcUa_Variant &  value 
) [virtual]

Get the event field value LowLowLimit 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::LimitAlarmTypeData::initializeAsBranch ( LimitAlarmTypeBase pCondition )

This method is used to initializes the LimitAlarmTypeData 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::LimitAlarmTypeData::setHighHighLimit ( OpcUa_Double  highHighLimit )

Set the event field value HighHighLimit

void OpcUa::LimitAlarmTypeData::setHighLimit ( OpcUa_Double  highLimit )

Set the event field value HighLimit

void OpcUa::LimitAlarmTypeData::setLowLimit ( OpcUa_Double  lowLimit )

Set the event field value LowLimit

void OpcUa::LimitAlarmTypeData::setLowLowLimit ( OpcUa_Double  lowLowLimit )

Set the event field value LowLowLimit


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