OpcUa::AcknowledgeableConditionTypeData Class Reference

#include <opcua_acknowledgeableconditiontypebase.h>

Inheritance diagram for OpcUa::AcknowledgeableConditionTypeData:
Collaboration diagram for OpcUa::AcknowledgeableConditionTypeData:

List of all members.

Public Member Functions

 AcknowledgeableConditionTypeData ()
virtual ~AcknowledgeableConditionTypeData ()
void initializeAsBranch (AcknowledgeableConditionTypeBase *pCondition)
virtual void getFieldData (OpcUa_UInt32 index, Session *pSession, OpcUa_Variant &data)
virtual void getAckedStateValue (Session *pSession, OpcUa_Variant &value)
void setAckedState (OpcUa_Boolean ackedState)
OpcUa_Boolean getAckedState ()
virtual void getAckedStateIdValue (Session *pSession, OpcUa_Variant &value)
virtual void getConfirmedStateValue (Session *pSession, OpcUa_Variant &value)
void setConfirmedState (OpcUa_Boolean confirmedState)
OpcUa_Boolean getConfirmedState ()
virtual void getConfirmedStateIdValue (Session *pSession, OpcUa_Variant &value)

Detailed Description

Generated event data class for a AcknowledgeableConditionType.

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

Constructs an AcknowledgeableConditionTypeData object

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

Destroys the AcknowledgeableConditionTypeData object


Member Function Documentation

OpcUa_Boolean OpcUa::AcknowledgeableConditionTypeData::getAckedState (  )

Get the event field state bool value for AckedState

void OpcUa::AcknowledgeableConditionTypeData::getAckedStateIdValue ( Session pSession,
OpcUa_Variant &  value 
) [virtual]

Get the event field value AckedState/Id 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::AcknowledgeableConditionTypeData::getAckedStateValue ( Session pSession,
OpcUa_Variant &  value 
) [virtual]

Get the event field value AckedState 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_Boolean OpcUa::AcknowledgeableConditionTypeData::getConfirmedState (  )

Get the event field state bool value for ConfirmedState

void OpcUa::AcknowledgeableConditionTypeData::getConfirmedStateIdValue ( Session pSession,
OpcUa_Variant &  value 
) [virtual]

Get the event field value ConfirmedState/Id 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::AcknowledgeableConditionTypeData::getConfirmedStateValue ( Session pSession,
OpcUa_Variant &  value 
) [virtual]

Get the event field value ConfirmedState 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::AcknowledgeableConditionTypeData::getFieldData ( OpcUa_UInt32  index,
Session pSession,
OpcUa_Variant &  data 
) [virtual]
void OpcUa::AcknowledgeableConditionTypeData::initializeAsBranch ( AcknowledgeableConditionTypeBase pCondition )

This method is used to initializes the AcknowledgeableConditionTypeData 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::AcknowledgeableConditionTypeData::setAckedState ( OpcUa_Boolean  ackedState )

Set the event field state bool value for AckedState

void OpcUa::AcknowledgeableConditionTypeData::setConfirmedState ( OpcUa_Boolean  confirmedState )

Set the event field state bool value for ConfirmedState


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