Class definition of the UaAnalogItemCacheEx. Derived from UaDataVariableCacheEx. More...
#include <uabasestatemachinetypes.h>
Public Member Functions | |
virtual UaNodeId | typeDefinitionId () const |
OpcUa_Byte | eventNotifier () const |
virtual MethodManager * | getMethodManager (UaMethod *pMethod) const |
UaNode * | getUaNode () 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 |
Class definition of the UaAnalogItemCacheEx. Derived from UaDataVariableCacheEx.
UaFiniteStateVariableType construction destruction Get the object type NodeId for the variable.
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:
Define | Value | Bit | Description |
---|---|---|---|
OpcUa_EventNotifiers_None | 0x0 | The Object does not produce events and has no event history. | |
OpcUa_EventNotifiers_SubscribeToEvents | 0x1 | 0 | The Object produces event notifications. |
1 | Reserved for future use. Must always be zero. | ||
OpcUa_EventNotifiers_HistoryRead | 0x4 | 2 | The Object has an event history which may be read. |
OpcUa_EventNotifiers_HistoryWrite | 0x8 | 3 | The 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.
Implements UaObject.
MethodManager * UaStateMachineType::getMethodManager | ( | UaMethod * | pMethod ) | const [virtual] |
Get the MethodManager interface for a method of this object.
pMethod | The method object the manager is requested for. |
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.
Reimplemented from UaNode.
UaMutex UaStateMachineType::m_mutex [protected] |
Mutex used to synchronize access to members of this object