Class definition of the UaAnalogItemCacheEx. Derived from UaDataVariableCacheEx. More...

#include <uabasestatemachinetypes.h>

Inheritance diagram for UaStateMachineType:
Collaboration diagram for UaStateMachineType:

List of all members.

Public Member Functions

virtual UaNodeId typeDefinitionId () const
OpcUa_Byte eventNotifier () const
virtual MethodManagergetMethodManager (UaMethod *pMethod) const
UaNodegetUaNode () const

Protected Member Functions

void stateChanged (const UaQualifiedName &stateBrowseName, const UaLocalizedText &stateDisplayName, OpcUa_UInt32 stateNumber, const UaLocalizedText &collapsedStateDisplayName, const UaQualifiedName &transitionBrowseName, const UaLocalizedText &transitionDisplayName, OpcUa_UInt32 transitionNumber)

Protected Attributes

UaMutex m_mutex

Detailed Description

Class definition of the UaAnalogItemCacheEx. Derived from UaDataVariableCacheEx.

UaFiniteStateVariableType construction destruction Get the object type NodeId for the variable.

Returns:
the object type NodeId for the server object.

Member Function Documentation

OpcUa_Byte UaStateMachineType::eventNotifier (  ) const [virtual]

Returns the value of the EventNotifier attribute.
The EventNotifier Attribute is used to indicate if the Node can be used to subscribe to Events or the read / write historic Events.
The EventNotifier is an 8-bit unsigned integer used as bit field with the following bit fields:

DefineValueBitDescription
OpcUa_EventNotifiers_None0x0The Object does not produce events and has no event history.
OpcUa_EventNotifiers_SubscribeToEvents0x10The Object produces event notifications.
1Reserved for future use. Must always be zero.
OpcUa_EventNotifiers_HistoryRead0x42The Object has an event history which may be read.
OpcUa_EventNotifiers_HistoryWrite0x83The Object has an event history which may be updated.

The second two bits also indicate if the history of the Events is available via the OPC UA server.

Returns:
The value of the EventNotifier attribute.

Implements UaObject.

MethodManager * UaStateMachineType::getMethodManager ( UaMethod pMethod ) const [virtual]

Get the MethodManager interface for a method of this object.

Parameters:
pMethodThe method object the manager is requested for.
Returns:
The MethodManager interface responsible for the method.

Reimplemented from UaObject.

UaNode* UaStateMachineType::getUaNode (  ) const [inline, virtual]

Get the UaNode interface pointer of this node.

Reimplemented from UaObjectBase.

void UaStateMachineType::stateChanged ( const UaQualifiedName stateBrowseName,
const UaLocalizedText stateDisplayName,
OpcUa_UInt32  stateNumber,
const UaLocalizedText collapsedStateDisplayName,
const UaQualifiedName transitionBrowseName,
const UaLocalizedText transitionDisplayName,
OpcUa_UInt32  transitionNumber 
) [protected]

The state of the state machine has changed.

UaNodeId UaStateMachineType::typeDefinitionId (  ) const [virtual]

Get NodeId of the type definition node for this node. Only Object and Variable nodes have type definition nodes. This method provides a shortcut to get the type definition of a node. This information is available for a client by following the HasTypeDefinition reference (Browse or TranslateBrowsePathToNodeIds) from this node or is returned as part of the browse result for the node. The HasTypeDefinition reference is not contained in the list of references for the nodes and is handled by the SDK using this method.

Returns:
The type definition NodeId of the node if the node is a Variable or Object.

Reimplemented from UaNode.


Member Data Documentation

Mutex used to synchronize access to members of this object


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