C++ Based OPC UA Client/Server/PubSub SDK
1.7.9.586
|
Generated base class for a LimitAlarmType. More...
#include <opcua_limitalarmtypebase.h>
Inherits OpcUa::AlarmConditionType.
Inherited by OpcUa::LimitAlarmType.
Public Member Functions | |
LimitAlarmTypeBase (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the LimitAlarmType condition type using an instance declaration node as base. | |
LimitAlarmTypeBase (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the LimitAlarmType condition type. | |
LimitAlarmTypeBase (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the class LimitAlarmTypeBase with all components. More... | |
virtual UaNodeId | typeDefinitionId () const |
Returns the type definition NodeId for the LimitAlarmType. | |
virtual void | getFieldData (OpcUa_UInt32 index, Session *pSession, OpcUa_Variant &data) |
Get the field value for the passed index. More... | |
void | clearFieldData () |
Clears the event field data after event processing. | |
UaNodeId | createBranch () |
Creates a new branch from the current state and adds the branch to a list managed by the condition object. More... | |
virtual void | setBaseHighHighLimit (OpcUa_Double BaseHighHighLimit) |
Sets the BaseHighHighLimit value. More... | |
virtual OpcUa_Double | getBaseHighHighLimit () const |
Returns the value of BaseHighHighLimit. More... | |
virtual void | setBaseHighHighLimitStatus (OpcUa_StatusCode status) |
Set a status code for the event field BaseHighHighLimit. More... | |
virtual void | getBaseHighHighLimitValue (Session *pSession, UaVariant &value) |
Sets the value of BaseHighHighLimit to argument value. | |
virtual void | setBaseHighLimit (OpcUa_Double BaseHighLimit) |
Sets the BaseHighLimit value. More... | |
virtual OpcUa_Double | getBaseHighLimit () const |
Returns the value of BaseHighLimit. More... | |
virtual void | setBaseHighLimitStatus (OpcUa_StatusCode status) |
Set a status code for the event field BaseHighLimit. More... | |
virtual void | getBaseHighLimitValue (Session *pSession, UaVariant &value) |
Sets the value of BaseHighLimit to argument value. | |
virtual void | setBaseLowLimit (OpcUa_Double BaseLowLimit) |
Sets the BaseLowLimit value. More... | |
virtual OpcUa_Double | getBaseLowLimit () const |
Returns the value of BaseLowLimit. More... | |
virtual void | setBaseLowLimitStatus (OpcUa_StatusCode status) |
Set a status code for the event field BaseLowLimit. More... | |
virtual void | getBaseLowLimitValue (Session *pSession, UaVariant &value) |
Sets the value of BaseLowLimit to argument value. | |
virtual void | setBaseLowLowLimit (OpcUa_Double BaseLowLowLimit) |
Sets the BaseLowLowLimit value. More... | |
virtual OpcUa_Double | getBaseLowLowLimit () const |
Returns the value of BaseLowLowLimit. More... | |
virtual void | setBaseLowLowLimitStatus (OpcUa_StatusCode status) |
Set a status code for the event field BaseLowLowLimit. More... | |
virtual void | getBaseLowLowLimitValue (Session *pSession, UaVariant &value) |
Sets the value of BaseLowLowLimit to argument value. | |
virtual void | setHighHighLimit (OpcUa_Double HighHighLimit) |
Sets the HighHighLimit value. More... | |
virtual OpcUa_Double | getHighHighLimit () const |
Returns the value of HighHighLimit. More... | |
virtual void | setHighHighLimitStatus (OpcUa_StatusCode status) |
Set a status code for the event field HighHighLimit. More... | |
virtual void | getHighHighLimitValue (Session *pSession, UaVariant &value) |
Sets the value of HighHighLimit to argument value. | |
virtual void | setHighLimit (OpcUa_Double HighLimit) |
Sets the HighLimit value. More... | |
virtual OpcUa_Double | getHighLimit () const |
Returns the value of HighLimit. More... | |
virtual void | setHighLimitStatus (OpcUa_StatusCode status) |
Set a status code for the event field HighLimit. More... | |
virtual void | getHighLimitValue (Session *pSession, UaVariant &value) |
Sets the value of HighLimit to argument value. | |
virtual void | setLowLimit (OpcUa_Double LowLimit) |
Sets the LowLimit value. More... | |
virtual OpcUa_Double | getLowLimit () const |
Returns the value of LowLimit. More... | |
virtual void | setLowLimitStatus (OpcUa_StatusCode status) |
Set a status code for the event field LowLimit. More... | |
virtual void | getLowLimitValue (Session *pSession, UaVariant &value) |
Sets the value of LowLimit to argument value. | |
virtual void | setLowLowLimit (OpcUa_Double LowLowLimit) |
Sets the LowLowLimit value. More... | |
virtual OpcUa_Double | getLowLowLimit () const |
Returns the value of LowLowLimit. More... | |
virtual void | setLowLowLimitStatus (OpcUa_StatusCode status) |
Set a status code for the event field LowLowLimit. More... | |
virtual void | getLowLowLimitValue (Session *pSession, UaVariant &value) |
Sets the value of LowLowLimit to argument value. | |
virtual OpcUa::PropertyType * | getBaseHighHighLimitNode () |
Returns the BaseHighHighLimit node. More... | |
virtual const OpcUa::PropertyType * | getBaseHighHighLimitNode () const |
Returns the BaseHighHighLimit node. More... | |
virtual OpcUa::PropertyType * | getBaseHighLimitNode () |
Returns the BaseHighLimit node. More... | |
virtual const OpcUa::PropertyType * | getBaseHighLimitNode () const |
Returns the BaseHighLimit node. More... | |
virtual OpcUa::PropertyType * | getBaseLowLimitNode () |
Returns the BaseLowLimit node. More... | |
virtual const OpcUa::PropertyType * | getBaseLowLimitNode () const |
Returns the BaseLowLimit node. More... | |
virtual OpcUa::PropertyType * | getBaseLowLowLimitNode () |
Returns the BaseLowLowLimit node. More... | |
virtual const OpcUa::PropertyType * | getBaseLowLowLimitNode () const |
Returns the BaseLowLowLimit node. More... | |
virtual OpcUa::PropertyType * | getHighHighLimitNode () |
Returns the HighHighLimit node. More... | |
virtual const OpcUa::PropertyType * | getHighHighLimitNode () const |
Returns the HighHighLimit node. More... | |
virtual OpcUa::PropertyType * | getHighLimitNode () |
Returns the HighLimit node. More... | |
virtual const OpcUa::PropertyType * | getHighLimitNode () const |
Returns the HighLimit node. More... | |
virtual OpcUa::PropertyType * | getLowLimitNode () |
Returns the LowLimit node. More... | |
virtual const OpcUa::PropertyType * | getLowLimitNode () const |
Returns the LowLimit node. More... | |
virtual OpcUa::PropertyType * | getLowLowLimitNode () |
Returns the LowLowLimit node. More... | |
virtual const OpcUa::PropertyType * | getLowLowLimitNode () const |
Returns the LowLowLimit node. More... | |
virtual void | useAccessInfoFromType () |
Applies the NodeAccessInfo set at the LimitAlarmTypeBase and its children. More... | |
void | useAccessInfoFromInstance (LimitAlarmTypeBase *pInstance) |
Uses the NodeAccessInfo of pOther and its children. More... | |
virtual UaStatus | triggerEvent (const UaDateTime &time, const UaDateTime &receiveTime, const UaByteString &eventId) |
Send event with current event field data to the subscribed clients. More... | |
virtual void | getLimitAlarmTypeOptionalFieldData (OpcUa_UInt32 index, Session *pSession, OpcUa_Variant &data) |
Get the field value for the passed index for optional fields of the LimitAlarmType. More... | |
Public Member Functions inherited from OpcUa::AlarmConditionType | |
AlarmConditionType (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Construction of the class AlarmConditionType. More... | |
AlarmConditionType (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Construction of the class AlarmConditionType. More... | |
AlarmConditionType (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the class AlarmConditionType with all components. More... | |
void | setShelvedState (ShelvedStateMachineType::ShelvedState state) |
Method used to change the state of the ShelvingState. More... | |
ShelvedStateMachineType::ShelvedState | getShelvedState () |
Get the state of the ShelvingState. | |
virtual void | getEnabledState_EffectiveDisplayNameValue (Session *pSession, OpcUa_Variant &value) |
Get the EffectiveDisplayName value for the EnabledState of the ConditionType. More... | |
virtual void | setSuppressedState (OpcUa_Boolean suppressedState) |
Sets the SuppressedState. More... | |
virtual void | setSuppressedStateStatus (OpcUa_StatusCode status) |
Set a status code for the event field SuppressedState. More... | |
virtual void | setActiveState (OpcUa_Boolean activeState) |
Sets the ActiveState. More... | |
virtual void | setSilenceState (OpcUa_Boolean silenceState) |
Sets the SilenceState. | |
virtual void | setOutOfServiceState (OpcUa_Boolean outOfServiceState) |
Sets the OutOfServiceState. | |
virtual void | setOutOfServiceStateStatus (OpcUa_StatusCode status) |
Set a status code for the event field OutOfServiceState. More... | |
virtual void | setLatchedState (OpcUa_Boolean latchedState) |
Sets the LatchedState. | |
virtual ShelvedStateMachineType * | getShelvingState () |
Returns the ShelvingState node. More... | |
virtual const ShelvedStateMachineType * | getShelvingState () const |
Returns the ShelvingState node. More... | |
virtual UaStatus | PlaceInService (const ServiceContext &serviceContext) |
The PlaceInService Method is used to set the OutOfServiceState to False of a specific Alarm instance. More... | |
virtual UaStatus | RemoveFromService (const ServiceContext &serviceContext) |
https://reference.opcfoundation.org/v104/Core/docs/Part9/5.8.8 More... | |
virtual UaStatus | Reset (const ServiceContext &serviceContext) |
https://reference.opcfoundation.org/v104/Core/docs/Part9/5.8.4 More... | |
virtual UaStatus | Silence (const ServiceContext &serviceContext) |
https://reference.opcfoundation.org/v104/Core/docs/Part9/5.8.5 More... | |
virtual UaStatus | Suppress (const ServiceContext &serviceContext) |
https://reference.opcfoundation.org/v104/Core/docs/Part9/5.8.6 More... | |
virtual UaStatus | Unsuppress (const ServiceContext &serviceContext) |
https://reference.opcfoundation.org/v104/Core/docs/Part9/5.8.7 More... | |
Public Member Functions inherited from OpcUa::AlarmConditionTypeBase | |
AlarmConditionTypeBase (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the AlarmConditionType condition type using an instance declaration node as base. | |
AlarmConditionTypeBase (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the AlarmConditionType condition type. | |
AlarmConditionTypeBase (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the class AlarmConditionTypeBase with all components. More... | |
void | clearFieldData () |
Clears the event field data after event processing. | |
UaNodeId | createBranch () |
Creates a new branch from the current state and adds the branch to a list managed by the condition object. More... | |
virtual UaStatus | beginCall (MethodManagerCallback *pCallback, const ServiceContext &serviceContext, OpcUa_UInt32 callbackHandle, MethodHandle *pMethodHandle, const UaVariantArray &inputArguments) |
Call method of an UA object. More... | |
virtual UaStatus | call (const ServiceContext &serviceContext, MethodHandle *pMethodHandle, const UaVariantArray &inputArguments, UaVariantArray &outputArguments, UaStatusCodeArray &inputArgumentResults, UaDiagnosticInfos &inputArgumentDiag) |
Synchronous version of the MethodManager method call executed in a worker thread. | |
virtual OpcUa_Boolean | getActiveStateBool () |
Returns the boolean value of the ActiveState. More... | |
virtual UaLocalizedText | getActiveState () |
Returns the LocalizedText representation of the ActiveState. More... | |
virtual void | setActiveStateStatus (OpcUa_StatusCode status) |
Set a status code for the event field ActiveState. More... | |
virtual void | getActiveStateValue (Session *pSession, UaVariant &value) |
Sets the value of ActiveState to argument value. More... | |
virtual void | getActiveState_EffectiveDisplayNameValue (Session *pSession, OpcUa_Variant &value) |
Sets the value of the EffectiveDisplayName property to value. More... | |
virtual void | setAudibleEnabled (OpcUa_Boolean AudibleEnabled) |
Sets the AudibleEnabled value. More... | |
virtual OpcUa_Boolean | getAudibleEnabled () const |
Returns the value of AudibleEnabled. More... | |
virtual void | setAudibleEnabledStatus (OpcUa_StatusCode status) |
Set a status code for the event field AudibleEnabled. More... | |
virtual void | getAudibleEnabledValue (Session *pSession, UaVariant &value) |
Sets the value of AudibleEnabled to argument value. | |
virtual void | setAudibleSound (UaByteString &AudibleSound) |
Sets the AudibleSound value. More... | |
virtual UaByteString | getAudibleSound () const |
Returns the value of AudibleSound. More... | |
virtual void | setAudibleSoundStatus (OpcUa_StatusCode status) |
Set a status code for the event field AudibleSound. More... | |
virtual void | getAudibleSoundValue (Session *pSession, UaVariant &value) |
Sets the value of AudibleSound to argument value. | |
virtual void | setFirstInGroupFlag (OpcUa_Boolean FirstInGroupFlag) |
Sets the FirstInGroupFlag value. More... | |
virtual OpcUa_Boolean | getFirstInGroupFlag () const |
Returns the value of FirstInGroupFlag. More... | |
virtual void | setFirstInGroupFlagStatus (OpcUa_StatusCode status) |
Set a status code for the event field FirstInGroupFlag. More... | |
virtual void | getFirstInGroupFlagValue (Session *pSession, UaVariant &value) |
Sets the value of FirstInGroupFlag to argument value. | |
virtual void | setInputNode (const UaNodeId &InputNode) |
Sets the InputNode value. More... | |
virtual UaNodeId | getInputNode () const |
Returns the value of InputNode. More... | |
virtual void | setInputNodeStatus (OpcUa_StatusCode status) |
Set a status code for the event field InputNode. More... | |
virtual void | getInputNodeValue (Session *pSession, UaVariant &value) |
Sets the value of InputNode to argument value. More... | |
virtual OpcUa_Boolean | getLatchedStateBool () |
Returns the boolean value of the LatchedState. More... | |
virtual UaLocalizedText | getLatchedState () |
Returns the LocalizedText representation of the LatchedState. | |
virtual void | setLatchedStateStatus (OpcUa_StatusCode status) |
Set a status code for the event field LatchedState. More... | |
virtual void | getLatchedStateValue (Session *pSession, UaVariant &value) |
Sets the value of LatchedState to argument value. | |
virtual void | setMaxTimeShelved (OpcUa_Double MaxTimeShelved) |
Sets the MaxTimeShelved value. More... | |
virtual OpcUa_Double | getMaxTimeShelved () const |
Returns the value of MaxTimeShelved. More... | |
virtual void | setMaxTimeShelvedStatus (OpcUa_StatusCode status) |
Set a status code for the event field MaxTimeShelved. More... | |
virtual void | getMaxTimeShelvedValue (Session *pSession, UaVariant &value) |
Sets the value of MaxTimeShelved to argument value. More... | |
virtual void | setOffDelay (OpcUa_Double OffDelay) |
Sets the OffDelay value. More... | |
virtual OpcUa_Double | getOffDelay () const |
Returns the value of OffDelay. More... | |
virtual void | setOffDelayStatus (OpcUa_StatusCode status) |
Set a status code for the event field OffDelay. More... | |
virtual void | getOffDelayValue (Session *pSession, UaVariant &value) |
Sets the value of OffDelay to argument value. | |
virtual void | setOnDelay (OpcUa_Double OnDelay) |
Sets the OnDelay value. More... | |
virtual OpcUa_Double | getOnDelay () const |
Returns the value of OnDelay. More... | |
virtual void | setOnDelayStatus (OpcUa_StatusCode status) |
Set a status code for the event field OnDelay. More... | |
virtual void | getOnDelayValue (Session *pSession, UaVariant &value) |
Sets the value of OnDelay to argument value. | |
virtual OpcUa_Boolean | getOutOfServiceStateBool () |
Returns the boolean value of the OutOfServiceState. More... | |
virtual UaLocalizedText | getOutOfServiceState () |
Returns the LocalizedText representation of the OutOfServiceState. | |
virtual void | getOutOfServiceStateValue (Session *pSession, UaVariant &value) |
Sets the value of OutOfServiceState to argument value. | |
virtual void | setReAlarmRepeatCount (OpcUa_Int16 ReAlarmRepeatCount) |
Sets the ReAlarmRepeatCount value. More... | |
virtual OpcUa_Int16 | getReAlarmRepeatCount () const |
Returns the value of ReAlarmRepeatCount. More... | |
virtual void | setReAlarmRepeatCountStatus (OpcUa_StatusCode status) |
Set a status code for the event field ReAlarmRepeatCount. More... | |
virtual void | getReAlarmRepeatCountValue (Session *pSession, UaVariant &value) |
Sets the value of ReAlarmRepeatCount to argument value. | |
virtual void | setReAlarmTime (OpcUa_Double ReAlarmTime) |
Sets the ReAlarmTime value. More... | |
virtual OpcUa_Double | getReAlarmTime () const |
Returns the value of ReAlarmTime. More... | |
virtual void | setReAlarmTimeStatus (OpcUa_StatusCode status) |
Set a status code for the event field ReAlarmTime. More... | |
virtual void | getReAlarmTimeValue (Session *pSession, UaVariant &value) |
Sets the value of ReAlarmTime to argument value. | |
virtual OpcUa_Boolean | getSilenceStateBool () |
Returns the boolean value of the SilenceState. More... | |
virtual UaLocalizedText | getSilenceState () |
Returns the LocalizedText representation of the SilenceState. | |
virtual void | setSilenceStateStatus (OpcUa_StatusCode status) |
Set a status code for the event field SilenceState. More... | |
virtual void | getSilenceStateValue (Session *pSession, UaVariant &value) |
Sets the value of SilenceState to argument value. | |
virtual void | setSuppressedOrShelved (OpcUa_Boolean SuppressedOrShelved) |
Sets the SuppressedOrShelved value. More... | |
virtual OpcUa_Boolean | getSuppressedOrShelved () const |
Returns the value of SuppressedOrShelved. More... | |
virtual void | setSuppressedOrShelvedStatus (OpcUa_StatusCode status) |
Set a status code for the event field SuppressedOrShelved. More... | |
virtual void | getSuppressedOrShelvedValue (Session *pSession, UaVariant &value) |
Sets the value of SuppressedOrShelved to argument value. More... | |
virtual OpcUa_Boolean | getSuppressedStateBool () |
Returns the boolean value of the SuppressedState. More... | |
virtual UaLocalizedText | getSuppressedState () |
Returns the LocalizedText representation of the SuppressedState. More... | |
virtual void | getSuppressedStateValue (Session *pSession, UaVariant &value) |
Sets the value of SuppressedState to argument value. More... | |
virtual OpcUa::TwoStateVariableType * | getActiveStateNode () |
Returns the ActiveState node. More... | |
virtual const OpcUa::TwoStateVariableType * | getActiveStateNode () const |
Returns the ActiveState node. More... | |
virtual OpcUa::PropertyType * | getAudibleEnabledNode () |
Returns the AudibleEnabled node. More... | |
virtual const OpcUa::PropertyType * | getAudibleEnabledNode () const |
Returns the AudibleEnabled node. More... | |
virtual OpcUa::AudioVariableType * | getAudibleSoundNode () |
Returns the AudibleSound node. More... | |
virtual const OpcUa::AudioVariableType * | getAudibleSoundNode () const |
Returns the AudibleSound node. More... | |
virtual OpcUa::AlarmGroupType * | getFirstInGroup () |
Returns the FirstInGroup node. More... | |
virtual const OpcUa::AlarmGroupType * | getFirstInGroup () const |
Returns the FirstInGroup node. More... | |
virtual OpcUa::BaseDataVariableType * | getFirstInGroupFlagNode () |
Returns the FirstInGroupFlag node. More... | |
virtual const OpcUa::BaseDataVariableType * | getFirstInGroupFlagNode () const |
Returns the FirstInGroupFlag node. More... | |
virtual OpcUa::PropertyType * | getInputNodeNode () |
Returns the InputNode node. More... | |
virtual const OpcUa::PropertyType * | getInputNodeNode () const |
Returns the InputNode node. More... | |
virtual OpcUa::TwoStateVariableType * | getLatchedStateNode () |
Returns the LatchedState node. More... | |
virtual const OpcUa::TwoStateVariableType * | getLatchedStateNode () const |
Returns the LatchedState node. More... | |
virtual OpcUa::PropertyType * | getMaxTimeShelvedNode () |
Returns the MaxTimeShelved node. More... | |
virtual const OpcUa::PropertyType * | getMaxTimeShelvedNode () const |
Returns the MaxTimeShelved node. More... | |
virtual OpcUa::PropertyType * | getOffDelayNode () |
Returns the OffDelay node. More... | |
virtual const OpcUa::PropertyType * | getOffDelayNode () const |
Returns the OffDelay node. More... | |
virtual OpcUa::PropertyType * | getOnDelayNode () |
Returns the OnDelay node. More... | |
virtual const OpcUa::PropertyType * | getOnDelayNode () const |
Returns the OnDelay node. More... | |
virtual OpcUa::TwoStateVariableType * | getOutOfServiceStateNode () |
Returns the OutOfServiceState node. More... | |
virtual const OpcUa::TwoStateVariableType * | getOutOfServiceStateNode () const |
Returns the OutOfServiceState node. More... | |
virtual OpcUa::BaseDataVariableType * | getReAlarmRepeatCountNode () |
Returns the ReAlarmRepeatCount node. More... | |
virtual const OpcUa::BaseDataVariableType * | getReAlarmRepeatCountNode () const |
Returns the ReAlarmRepeatCount node. More... | |
virtual OpcUa::PropertyType * | getReAlarmTimeNode () |
Returns the ReAlarmTime node. More... | |
virtual const OpcUa::PropertyType * | getReAlarmTimeNode () const |
Returns the ReAlarmTime node. More... | |
virtual OpcUa::TwoStateVariableType * | getSilenceStateNode () |
Returns the SilenceState node. More... | |
virtual const OpcUa::TwoStateVariableType * | getSilenceStateNode () const |
Returns the SilenceState node. More... | |
virtual OpcUa::PropertyType * | getSuppressedOrShelvedNode () |
Returns the SuppressedOrShelved node. More... | |
virtual const OpcUa::PropertyType * | getSuppressedOrShelvedNode () const |
Returns the SuppressedOrShelved node. More... | |
virtual OpcUa::TwoStateVariableType * | getSuppressedStateNode () |
Returns the SuppressedState node. More... | |
virtual const OpcUa::TwoStateVariableType * | getSuppressedStateNode () const |
Returns the SuppressedState node. More... | |
void | useAccessInfoFromInstance (AlarmConditionTypeBase *pInstance) |
Uses the NodeAccessInfo of pOther and its children. More... | |
virtual void | getAlarmConditionTypeOptionalFieldData (OpcUa_UInt32 index, Session *pSession, OpcUa_Variant &data) |
Get the field value for the passed index for optional fields of the AlarmConditionType. More... | |
Public Member Functions inherited from OpcUa::AcknowledgeableConditionType | |
AcknowledgeableConditionType (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Construction of the class AcknowledgeableConditionType. More... | |
AcknowledgeableConditionType (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Construction of the class AcknowledgeableConditionType. More... | |
AcknowledgeableConditionType (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the class AcknowledgeableConditionType with all components. More... | |
virtual UaStatus | Acknowledge (const ServiceContext &serviceContext, UaByteString &EventId, const UaLocalizedText &Comment) |
Acknowledges an Event Notification for a Condition instance state where AckedState is FALSE. More... | |
virtual UaStatus | Confirm (const ServiceContext &serviceContext, UaByteString &EventId, const UaLocalizedText &Comment) |
Confirms an Event Notification for a Condition instance state where ConfirmedState was set to FALSE. More... | |
virtual void | setConfirmedState (OpcUa_Boolean confirmedState) |
Sets the ConfirmedState. More... | |
virtual void | setConfirmedStateStatus (OpcUa_StatusCode status) |
Set a status code for the event field ConfirmedState. More... | |
virtual void | setAckedState (OpcUa_Boolean ackedState) |
Sets the AckedState. More... | |
Public Member Functions inherited from OpcUa::AcknowledgeableConditionTypeBase | |
AcknowledgeableConditionTypeBase (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the AcknowledgeableConditionType condition type using an instance declaration node as base. | |
AcknowledgeableConditionTypeBase (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the AcknowledgeableConditionType condition type. | |
AcknowledgeableConditionTypeBase (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the class AcknowledgeableConditionTypeBase with all components. More... | |
void | clearFieldData () |
Clears the event field data after event processing. | |
UaNodeId | createBranch () |
Creates a new branch from the current state and adds the branch to a list managed by the condition object. More... | |
virtual OpcUa_Boolean | getAckedStateBool () |
Returns the boolean value of the AckedState. More... | |
virtual UaLocalizedText | getAckedState () |
Returns the LocalizedText representation of the AckedState. More... | |
virtual void | setAckedStateStatus (OpcUa_StatusCode status) |
Set a status code for the event field AckedState. More... | |
virtual void | getAckedStateValue (Session *pSession, UaVariant &value) |
Sets the value of AckedState to argument value. More... | |
virtual OpcUa_Boolean | getConfirmedStateBool () |
Returns the boolean value of the ConfirmedState. More... | |
virtual UaLocalizedText | getConfirmedState () |
Returns the LocalizedText representation of the ConfirmedState. More... | |
virtual void | getConfirmedStateValue (Session *pSession, UaVariant &value) |
Sets the value of ConfirmedState to argument value. More... | |
virtual OpcUa::TwoStateVariableType * | getAckedStateNode () |
Returns the AckedState node. More... | |
virtual const OpcUa::TwoStateVariableType * | getAckedStateNode () const |
Returns the AckedState node. More... | |
virtual OpcUa::TwoStateVariableType * | getConfirmedStateNode () |
Returns the ConfirmedState node. More... | |
virtual const OpcUa::TwoStateVariableType * | getConfirmedStateNode () const |
Returns the ConfirmedState node. More... | |
void | useAccessInfoFromInstance (AcknowledgeableConditionTypeBase *pInstance) |
Uses the NodeAccessInfo of pOther and its children. More... | |
virtual void | getAcknowledgeableConditionTypeOptionalFieldData (OpcUa_UInt32 index, Session *pSession, OpcUa_Variant &data) |
Get the field value for the passed index for optional fields of the AcknowledgeableConditionType. More... | |
Public Member Functions inherited from OpcUa::ConditionType | |
ConditionType (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Construction of the class ConditionType. More... | |
ConditionType (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Construction of the class ConditionType. More... | |
ConditionType (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the class ConditionType with all components. More... | |
ReferenceCounter * | getConditionDataReferenceCounter () |
Get the ReferenceCounter interface necessary for condition event data classes. | |
virtual UaStatus | AddComment (const ServiceContext &serviceContext, UaByteString &EventId, const UaLocalizedText &Comment) |
Applies a comment to a specific state of a Condition instance. More... | |
virtual UaStatus | Disable (const ServiceContext &serviceContext) |
Changes a Condition instance to the Disabled state. More... | |
virtual UaStatus | Enable (const ServiceContext &serviceContext) |
Changes a Condition instance to the enabled state. More... | |
virtual UaNodeId | getConditionNodeId () |
Returns the condition NodeId for the condition object. More... | |
virtual UaNodeId | getConditionBranchNodeId () |
Returns the condition branch NodeId for the condition object. More... | |
virtual OpcUa_Boolean | getConditionRetain () |
Returns the Retain flag for the condition object. More... | |
OpcUa_UInt32 | getBranchCount () |
Returns the number of active branches. More... | |
ConditionTypeData * | getBranch (const UaNodeId &branchNodeId) |
Returns a pointer to the branch event data based on the passed branch NodeId. More... | |
ConditionTypeData * | getBranchByEventId (const UaByteString &eventId, UaByteString &userEventId) |
Returns a pointer to the branch event data based on the passed EventId. More... | |
void | getAllBranches (UaPointerArray< ConditionTypeData > &branchArray) |
Returns an array of the available branches. More... | |
OpcUa_StatusCode | deleteBranch (const UaNodeId &branchNodeId) |
Deletes the branch identified by the branch NodeId. More... | |
UaStatus | triggerBranchEvent (ConditionTypeData *pConditionTypeData, const UaDateTime &time, const UaDateTime &receiveTime, const UaByteString &eventId) |
Send event with event field data of the passed condition branch to the subscribed clients. More... | |
virtual void | setInvalid () |
Set the entry to invalid. More... | |
Public Member Functions inherited from OpcUa::ConditionTypeBase | |
ConditionTypeBase (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the ConditionType condition type using an instance declaration node as base. | |
ConditionTypeBase (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, const UaNodeId &sourceNode, const UaString &sourceName, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the ConditionType condition type. | |
ConditionTypeBase (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
Constructs an instance of the class ConditionTypeBase with all components. More... | |
void | clearFieldData () |
Clears the event field data after event processing. | |
virtual void | lockEventData () |
Lock the event data for data update and event handling. More... | |
virtual void | unlockEventData () |
Unlock the event data after data update or event handling. More... | |
virtual void | setBranchId (const UaNodeId &BranchId) |
Sets the BranchId value. More... | |
virtual UaNodeId | getBranchId () const |
Returns the value of BranchId. More... | |
virtual void | setBranchIdStatus (OpcUa_StatusCode status) |
Set a status code for the event field BranchId. More... | |
virtual void | getBranchIdValue (Session *pSession, UaVariant &value) |
Sets the value of BranchId to argument value. More... | |
virtual void | setClientUserId (const UaString &ClientUserId) |
Sets the ClientUserId value. More... | |
virtual UaString | getClientUserId () const |
Returns the value of ClientUserId. More... | |
virtual void | setClientUserIdStatus (OpcUa_StatusCode status) |
Set a status code for the event field ClientUserId. More... | |
virtual void | getClientUserIdValue (Session *pSession, UaVariant &value) |
Sets the value of ClientUserId to argument value. More... | |
virtual void | setComment (const UaLocalizedText &Comment) |
Sets the Comment value. More... | |
virtual UaLocalizedText | getComment (Session *pSession) const |
Returns the value of Comment. More... | |
virtual void | setCommentStatus (OpcUa_StatusCode status) |
Set a status code for the event field Comment. More... | |
virtual void | getCommentValue (Session *pSession, UaVariant &value) |
Sets the value of Comment to argument value. More... | |
virtual void | setConditionClassId (const UaNodeId &ConditionClassId) |
Sets the ConditionClassId value. More... | |
virtual UaNodeId | getConditionClassId () const |
Returns the value of ConditionClassId. More... | |
virtual void | setConditionClassIdStatus (OpcUa_StatusCode status) |
Set a status code for the event field ConditionClassId. More... | |
virtual void | getConditionClassIdValue (Session *pSession, UaVariant &value) |
Sets the value of ConditionClassId to argument value. More... | |
virtual void | setConditionClassName (const UaLocalizedText &ConditionClassName) |
Sets the ConditionClassName value. More... | |
virtual UaLocalizedText | getConditionClassName (Session *pSession) const |
Returns the value of ConditionClassName. More... | |
virtual void | setConditionClassNameStatus (OpcUa_StatusCode status) |
Set a status code for the event field ConditionClassName. More... | |
virtual void | getConditionClassNameValue (Session *pSession, UaVariant &value) |
Sets the value of ConditionClassName to argument value. More... | |
virtual void | setConditionName (const UaString &ConditionName) |
Sets the ConditionName value. More... | |
virtual UaString | getConditionName () const |
Returns the value of ConditionName. More... | |
virtual void | setConditionNameStatus (OpcUa_StatusCode status) |
Set a status code for the event field ConditionName. More... | |
virtual void | getConditionNameValue (Session *pSession, UaVariant &value) |
Sets the value of ConditionName to argument value. More... | |
virtual void | setConditionSubClassId (const UaNodeIdArray &ConditionSubClassId) |
Sets the ConditionSubClassId. | |
virtual void | getConditionSubClassId (UaNodeIdArray &ConditionSubClassId) const |
Gets the ConditionSubClassId. | |
virtual void | setConditionSubClassIdStatus (OpcUa_StatusCode status) |
Set a status code for the event field ConditionSubClassId. More... | |
virtual void | getConditionSubClassIdValue (Session *pSession, UaVariant &value) |
Sets the value of ConditionSubClassId to argument value. | |
virtual void | setConditionSubClassName (const UaLocalizedTextArray &ConditionSubClassName) |
Sets the ConditionSubClassName. | |
virtual void | getConditionSubClassName (UaLocalizedTextArray &ConditionSubClassName) const |
Gets the ConditionSubClassName. | |
virtual void | setConditionSubClassNameStatus (OpcUa_StatusCode status) |
Set a status code for the event field ConditionSubClassName. More... | |
virtual void | getConditionSubClassNameValue (Session *pSession, UaVariant &value) |
Sets the value of ConditionSubClassName to argument value. | |
virtual void | setEnabledState (OpcUa_Boolean enabledState) |
Sets the EnabledState. More... | |
virtual OpcUa_Boolean | getEnabledStateBool () |
Returns the boolean value of the EnabledState. More... | |
virtual UaLocalizedText | getEnabledState () |
Returns the LocalizedText representation of the EnabledState. More... | |
virtual void | setEnabledStateStatus (OpcUa_StatusCode status) |
Set a status code for the event field EnabledState. More... | |
virtual void | getEnabledStateValue (Session *pSession, UaVariant &value) |
Sets the value of EnabledState to argument value. More... | |
virtual void | setLastSeverity (OpcUa_UInt16 LastSeverity) |
Sets the LastSeverity value. More... | |
virtual OpcUa_UInt16 | getLastSeverity () const |
Returns the value of LastSeverity. More... | |
virtual void | setLastSeverityStatus (OpcUa_StatusCode status) |
Set a status code for the event field LastSeverity. More... | |
virtual void | getLastSeverityValue (Session *pSession, UaVariant &value) |
Sets the value of LastSeverity to argument value. More... | |
virtual void | setQuality (OpcUa_StatusCode Quality) |
Sets the Quality value. More... | |
virtual OpcUa_StatusCode | getQuality () const |
Returns the value of Quality. More... | |
virtual void | setQualityStatus (OpcUa_StatusCode status) |
Set a status code for the event field Quality. More... | |
virtual void | getQualityValue (Session *pSession, UaVariant &value) |
Sets the value of Quality to argument value. More... | |
virtual void | setRetain (OpcUa_Boolean Retain) |
Sets the Retain value. More... | |
virtual OpcUa_Boolean | getRetain () const |
Returns the value of Retain. More... | |
virtual void | setRetainStatus (OpcUa_StatusCode status) |
Set a status code for the event field Retain. More... | |
virtual void | getRetainValue (Session *pSession, UaVariant &value) |
Sets the value of Retain to argument value. More... | |
virtual OpcUa::PropertyType * | getBranchIdNode () |
Returns the BranchId node. More... | |
virtual const OpcUa::PropertyType * | getBranchIdNode () const |
Returns the BranchId node. More... | |
virtual OpcUa::PropertyType * | getClientUserIdNode () |
Returns the ClientUserId node. More... | |
virtual const OpcUa::PropertyType * | getClientUserIdNode () const |
Returns the ClientUserId node. More... | |
virtual OpcUa::ConditionVariableType * | getCommentNode () |
Returns the Comment node. More... | |
virtual const OpcUa::ConditionVariableType * | getCommentNode () const |
Returns the Comment node. More... | |
virtual OpcUa::PropertyType * | getConditionClassIdNode () |
Returns the ConditionClassId node. More... | |
virtual const OpcUa::PropertyType * | getConditionClassIdNode () const |
Returns the ConditionClassId node. More... | |
virtual OpcUa::PropertyType * | getConditionClassNameNode () |
Returns the ConditionClassName node. More... | |
virtual const OpcUa::PropertyType * | getConditionClassNameNode () const |
Returns the ConditionClassName node. More... | |
virtual OpcUa::PropertyType * | getConditionNameNode () |
Returns the ConditionName node. More... | |
virtual const OpcUa::PropertyType * | getConditionNameNode () const |
Returns the ConditionName node. More... | |
virtual OpcUa::PropertyType * | getConditionSubClassIdNode () |
Returns the ConditionSubClassId node. More... | |
virtual const OpcUa::PropertyType * | getConditionSubClassIdNode () const |
Returns the ConditionSubClassId node. More... | |
virtual OpcUa::PropertyType * | getConditionSubClassNameNode () |
Returns the ConditionSubClassName node. More... | |
virtual const OpcUa::PropertyType * | getConditionSubClassNameNode () const |
Returns the ConditionSubClassName node. More... | |
virtual OpcUa::TwoStateVariableType * | getEnabledStateNode () |
Returns the EnabledState node. More... | |
virtual const OpcUa::TwoStateVariableType * | getEnabledStateNode () const |
Returns the EnabledState node. More... | |
virtual OpcUa::ConditionVariableType * | getLastSeverityNode () |
Returns the LastSeverity node. More... | |
virtual const OpcUa::ConditionVariableType * | getLastSeverityNode () const |
Returns the LastSeverity node. More... | |
virtual OpcUa::ConditionVariableType * | getQualityNode () |
Returns the Quality node. More... | |
virtual const OpcUa::ConditionVariableType * | getQualityNode () const |
Returns the Quality node. More... | |
virtual OpcUa::PropertyType * | getRetainNode () |
Returns the Retain node. More... | |
virtual const OpcUa::PropertyType * | getRetainNode () const |
Returns the Retain node. More... | |
void | useAccessInfoFromInstance (ConditionTypeBase *pInstance) |
Uses the NodeAccessInfo of pOther and its children. More... | |
virtual void | getConditionTypeOptionalFieldData (OpcUa_UInt32 index, Session *pSession, OpcUa_Variant &data) |
Get the field value for the passed index for optional fields of the ConditionType. More... | |
Static Public Member Functions | |
static void | createTypes () |
Create the related type nodes. | |
static void | clearStaticMembers () |
Clear the static members of the class. | |
static void | registerEventFields () |
Registers all event type fields with the EventManagerBase. | |
static OpcUa_UInt32 | registerOptionalEventFields (const UaString &fieldName) |
Registers optional event fields with the EventManagerBase. | |
Static Public Member Functions inherited from OpcUa::AlarmConditionType | |
static void | addActiveStateLocale (const UaLocalizedText &falseName, const UaLocalizedText &trueName) |
Add Active state strings for additional locale. More... | |
static void | addSuppressedStateLocale (const UaLocalizedText &falseName, const UaLocalizedText &trueName) |
Add Suppressed state strings for additional locale. More... | |
static void | addOutOfServiceStateLocale (const UaLocalizedText &falseName, const UaLocalizedText &trueName) |
Add OutOfService state strings for additional locale. More... | |
static void | addSilenceStateLocale (const UaLocalizedText &falseName, const UaLocalizedText &trueName) |
Add Silence state strings for additional locale. More... | |
static void | addLatchedStateLocale (const UaLocalizedText &falseName, const UaLocalizedText &trueName) |
Add Latched state strings for additional locale. More... | |
static void | createTypes () |
Create the type related static members of the class. | |
static void | clearStaticMembers () |
Clear the static members of the class. | |
Static Public Member Functions inherited from OpcUa::AlarmConditionTypeBase | |
static void | createTypes () |
Create the related type nodes. | |
static void | clearStaticMembers () |
Clear the static members of the class. | |
static void | registerEventFields () |
Registers all event type fields with the EventManagerBase. | |
static OpcUa_UInt32 | registerOptionalEventFields (const UaString &fieldName) |
Registers optional event fields with the EventManagerBase. | |
Static Public Member Functions inherited from OpcUa::AcknowledgeableConditionType | |
static void | createTypes () |
Create the type related static members of the class. | |
static void | clearStaticMembers () |
Clear the static members of the class. | |
static void | addAckedStateLocale (const UaLocalizedText &falseName, const UaLocalizedText &trueName) |
Add Acked state strings for additional locale. | |
static void | addConfirmedStateLocale (const UaLocalizedText &falseName, const UaLocalizedText &trueName) |
Add Confirmed state strings for additional locale. | |
Static Public Member Functions inherited from OpcUa::AcknowledgeableConditionTypeBase | |
static void | createTypes () |
Create the related type nodes. | |
static void | clearStaticMembers () |
Clear the static members of the class. | |
static void | registerEventFields () |
Registers all event type fields with the EventManagerBase. | |
static OpcUa_UInt32 | registerOptionalEventFields (const UaString &fieldName) |
Registers optional event fields with the EventManagerBase. | |
Static Public Member Functions inherited from OpcUa::ConditionType | |
static void | createTypes () |
Create the related type nodes for condition classes. | |
static void | addEnabledStateLocale (const UaLocalizedText &falseName, const UaLocalizedText &trueName) |
Add Enabled state strings for additional locale. | |
static void | clearStaticMembers () |
Internal SDK method used to clear the static members of this class. | |
Static Public Member Functions inherited from OpcUa::ConditionTypeBase | |
static void | createTypes () |
Create the related type nodes. | |
static void | clearStaticMembers () |
Clear the static members of the class. | |
static void | registerEventFields () |
Registers all event type fields with the EventManagerBase. | |
static OpcUa_UInt32 | registerOptionalEventFields (const UaString &fieldName) |
Registers optional event fields with the EventManagerBase. | |
Protected Member Functions | |
virtual | ~LimitAlarmTypeBase () |
Destroys the LimitAlarmType object. | |
Protected Member Functions inherited from OpcUa::AlarmConditionType | |
virtual | ~AlarmConditionType () |
Destruction. | |
Protected Member Functions inherited from OpcUa::AlarmConditionTypeBase | |
virtual | ~AlarmConditionTypeBase () |
Destroys the AlarmConditionType object. | |
Protected Member Functions inherited from OpcUa::AcknowledgeableConditionType | |
virtual | ~AcknowledgeableConditionType () |
Destruction. | |
Protected Member Functions inherited from OpcUa::AcknowledgeableConditionTypeBase | |
virtual | ~AcknowledgeableConditionTypeBase () |
Destroys the AcknowledgeableConditionType object. | |
Protected Member Functions inherited from OpcUa::ConditionType | |
virtual | ~ConditionType () |
Destruction. | |
Protected Member Functions inherited from OpcUa::ConditionTypeBase | |
virtual | ~ConditionTypeBase () |
Destroys the ConditionType object. | |
Generated base class for a LimitAlarmType.
This class contains the auto generated code for the object type LimitAlarmType representing an OPC UA condition type. This class is used to create the condition type and to create and represent the condition object in the server address space. It provides also the UaEventData interface for the access to event data containing the current state of the condition for events sent to the client.
Variable members of the LimitAlarmType:
Browse Name | DataType | TypeDefinition | Modelling Rule | See Also |
---|---|---|---|---|
BaseHighHighLimit | Double | PropertyType | Optional | getBaseHighHighLimit, setBaseHighHighLimit |
BaseHighLimit | Double | PropertyType | Optional | getBaseHighLimit, setBaseHighLimit |
BaseLowLimit | Double | PropertyType | Optional | getBaseLowLimit, setBaseLowLimit |
BaseLowLowLimit | Double | PropertyType | Optional | getBaseLowLowLimit, setBaseLowLowLimit |
HighHighLimit | Double | PropertyType | Optional | getHighHighLimit, setHighHighLimit |
HighLimit | Double | PropertyType | Optional | getHighLimit, setHighLimit |
LowLimit | Double | PropertyType | Optional | getLowLimit, setLowLimit |
LowLowLimit | Double | PropertyType | Optional | getLowLowLimit, setLowLowLimit |
An abstract type used to provide a base Type for AlarmConditions with multiple limits
Alarms can be modelled with multiple exclusive substates and assigned limits or they may be modelled with non exclusive limits that can be used to group multiple states together.
Four optional limits are defined that configure the states of the derived limit Alarm Types: HighHighLimit, HighLimit, LowLimit, and LowLowLimit. These Properties shall be set for any Alarm limits that are exposed by the derived limit Alarm Types. These Properties are listed as optional but at least one is required. For cases where an underlying system cannot provide the actual value of a limit, the limit Property shall still be provided, but will have its AccessLevel set to not readable. It is assumed that the limits are described using the same Engineering Unit that is assigned to the variable that is the source of the alarm. For Rate of change limit alarms, it is assumed this rate is units per second unless otherwise specified.
The Alarm limits listed may cause an Alarm to be generated when a value equals the limit or it may generate the Alarm when the limit is exceeded, (i.e. the Value is above the limit for HighLimit and below the limit for LowLimit). The exact behaviour when the value is equal to the limit is Server specific.
See also LimitAlarmType for a documentation of the complete Information Model.
OpcUa::LimitAlarmTypeBase::LimitAlarmTypeBase | ( | UaBase::Object * | pBaseNode, |
XmlUaNodeFactoryManager * | pFactory, | ||
NodeManagerConfig * | pNodeConfig, | ||
UaMutexRefCounted * | pSharedMutex = NULL |
||
) |
Constructs an instance of the class LimitAlarmTypeBase with all components.
[in] | pBaseNode | The "tree" of nodes that specifies the attributes of the instance and its children. |
[in] | pFactory | The factory to create the children. |
[in] | pNodeConfig | Interface pointer to the NodeManagerConfig interface used to add and delete node and references in the address space. |
[in] | pSharedMutex | Shared mutex object used to synchronize access to the variable. Can be NULL if no shared mutex is provided. |
UaNodeId OpcUa::LimitAlarmTypeBase::createBranch | ( | ) |
Creates a new branch from the current state and adds the branch to a list managed by the condition object.
ConditionType::getBranch() and ConditionType::deleteBranch() can be used to access or to delete the branch.
|
virtual |
Returns the value of BaseHighHighLimit.
If the optional BaseHighHighLimit node has not been created, the value of the InstanceDeclaration node of the ObjectType is returned.
|
virtual |
Returns the BaseHighHighLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the BaseHighHighLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the value of BaseHighLimit.
If the optional BaseHighLimit node has not been created, the value of the InstanceDeclaration node of the ObjectType is returned.
|
virtual |
Returns the BaseHighLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the BaseHighLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the value of BaseLowLimit.
If the optional BaseLowLimit node has not been created, the value of the InstanceDeclaration node of the ObjectType is returned.
|
virtual |
Returns the BaseLowLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the BaseLowLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the value of BaseLowLowLimit.
If the optional BaseLowLowLimit node has not been created, the value of the InstanceDeclaration node of the ObjectType is returned.
|
virtual |
Returns the BaseLowLowLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the BaseLowLowLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Get the field value for the passed index.
index | The index of the selected field. |
pSession | The session context for the method call. |
data | The data for the selected field. |
Reimplemented from OpcUa::AlarmConditionTypeBase.
Reimplemented in OpcUa::NonExclusiveLimitAlarmTypeBase, OpcUa::NonExclusiveDeviationAlarmType, OpcUa::NonExclusiveRateOfChangeAlarmType, OpcUa::ExclusiveDeviationAlarmType, OpcUa::ExclusiveLimitAlarmTypeBase, OpcUa::ExclusiveRateOfChangeAlarmType, OpcUa::NonExclusiveLevelAlarmType, and OpcUa::ExclusiveLevelAlarmType.
|
virtual |
Returns the value of HighHighLimit.
If the optional HighHighLimit node has not been created, the value of the InstanceDeclaration node of the ObjectType is returned.
|
virtual |
Returns the HighHighLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the HighHighLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the value of HighLimit.
If the optional HighLimit node has not been created, the value of the InstanceDeclaration node of the ObjectType is returned.
|
virtual |
Returns the HighLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the HighLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Get the field value for the passed index for optional fields of the LimitAlarmType.
This function must be overwritten by derived classes to provide the optional fields registered with LimitAlarmTypeData::registerOptionalEventFields.
index | The index of the selected field. |
pSession | The session context for the method call. |
data | The data for the selected field. |
|
virtual |
Returns the value of LowLimit.
If the optional LowLimit node has not been created, the value of the InstanceDeclaration node of the ObjectType is returned.
|
virtual |
Returns the LowLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the LowLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the value of LowLowLimit.
If the optional LowLowLimit node has not been created, the value of the InstanceDeclaration node of the ObjectType is returned.
|
virtual |
Returns the LowLowLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Returns the LowLowLimit node.
If the Variable has not been created yet, this method returns NULL.
|
virtual |
Sets the BaseHighHighLimit value.
If the optional BaseHighHighLimit node has not been created, this method adds it to the address space.
|
virtual |
Set a status code for the event field BaseHighHighLimit.
If an event field is not available, a StatusCode must be provided instead of the value to indicate the error situation.
|
virtual |
Sets the BaseHighLimit value.
If the optional BaseHighLimit node has not been created, this method adds it to the address space.
|
virtual |
Set a status code for the event field BaseHighLimit.
If an event field is not available, a StatusCode must be provided instead of the value to indicate the error situation.
|
virtual |
Sets the BaseLowLimit value.
If the optional BaseLowLimit node has not been created, this method adds it to the address space.
|
virtual |
Set a status code for the event field BaseLowLimit.
If an event field is not available, a StatusCode must be provided instead of the value to indicate the error situation.
|
virtual |
Sets the BaseLowLowLimit value.
If the optional BaseLowLowLimit node has not been created, this method adds it to the address space.
|
virtual |
Set a status code for the event field BaseLowLowLimit.
If an event field is not available, a StatusCode must be provided instead of the value to indicate the error situation.
|
virtual |
Sets the HighHighLimit value.
If the optional HighHighLimit node has not been created, this method adds it to the address space.
|
virtual |
Set a status code for the event field HighHighLimit.
If an event field is not available, a StatusCode must be provided instead of the value to indicate the error situation.
|
virtual |
Sets the HighLimit value.
If the optional HighLimit node has not been created, this method adds it to the address space.
|
virtual |
Set a status code for the event field HighLimit.
If an event field is not available, a StatusCode must be provided instead of the value to indicate the error situation.
|
virtual |
Sets the LowLimit value.
If the optional LowLimit node has not been created, this method adds it to the address space.
|
virtual |
Set a status code for the event field LowLimit.
If an event field is not available, a StatusCode must be provided instead of the value to indicate the error situation.
|
virtual |
Sets the LowLowLimit value.
If the optional LowLowLimit node has not been created, this method adds it to the address space.
|
virtual |
Set a status code for the event field LowLowLimit.
If an event field is not available, a StatusCode must be provided instead of the value to indicate the error situation.
|
virtual |
Send event with current event field data to the subscribed clients.
After setting the changed states of the event this method is used to trigger the event notification that contains the snapshot of the new state of the condition.
[in] | time | Time provides the time the Event occurred. This value is set as close to the event generator as possible. It often comes from the underlying system or device. |
[in] | receiveTime | ReceiveTime provides the time the OPC UA Server received the Event from the underlying device or another Server. |
[in] | userEventId | The server is responsible for generating a unique EventId for every event sent to the client. The SDK uses this parameter userEventId as part of the EventId but adds a unique part. The EventId is provided by the client in calls back to the server like in an alarm acknowledgement. The user specific part can be extracted from the EventId provided by the client by using EventManagerBase::getUserEventId(). |
Reimplemented from OpcUa::AlarmConditionTypeBase.
Reimplemented in OpcUa::NonExclusiveLimitAlarmTypeBase, OpcUa::NonExclusiveDeviationAlarmType, OpcUa::ExclusiveDeviationAlarmType, OpcUa::NonExclusiveRateOfChangeAlarmType, OpcUa::ExclusiveLimitAlarmTypeBase, OpcUa::ExclusiveRateOfChangeAlarmType, OpcUa::NonExclusiveLevelAlarmType, and OpcUa::ExclusiveLevelAlarmType.
void OpcUa::LimitAlarmTypeBase::useAccessInfoFromInstance | ( | LimitAlarmTypeBase * | pOther | ) |
Uses the NodeAccessInfo of pOther and its children.
|
virtual |
Applies the NodeAccessInfo set at the LimitAlarmTypeBase and its children.
Reimplemented from OpcUa::AlarmConditionTypeBase.
Reimplemented in OpcUa::NonExclusiveLimitAlarmTypeBase, OpcUa::NonExclusiveDeviationAlarmType, OpcUa::ExclusiveDeviationAlarmType, OpcUa::NonExclusiveRateOfChangeAlarmType, OpcUa::ExclusiveLimitAlarmTypeBase, OpcUa::ExclusiveRateOfChangeAlarmType, OpcUa::NonExclusiveLevelAlarmType, and OpcUa::ExclusiveLevelAlarmType.