#include <opcua_basedatavariabletypebase.h>
Public Member Functions | |
BaseDataVariableTypeBase (UaNode *pParentNode, UaVariable *pInstanceDeclarationVariable, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
BaseDataVariableTypeBase (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, const UaVariant &initialValue, OpcUa_Byte accessLevel, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
virtual | ~BaseDataVariableTypeBase () |
virtual UaNodeId | typeDefinitionId () const |
Static Public Member Functions | |
static void | createTypes () |
static void | clearStaticMembers () |
Base class with auto generated code for OPC UA Variable instances of the type BaseDataVariableType
OpcUa::BaseDataVariableTypeBase::BaseDataVariableTypeBase | ( | UaNode * | pParentNode, |
UaVariable * | pInstanceDeclarationVariable, | ||
NodeManagerConfig * | pNodeConfig, | ||
UaMutexRefCounted * | pSharedMutex = NULL |
||
) |
Constructs an instance of the class BaseDataVariableTypeBase with all components
[in] | pParentNode | Parent node of the new variable |
[in] | pInstanceDeclarationVariable | UaVariable interface of the instance declaration node used to provide attribute values other than NodeId and Value |
[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 |
OpcUa::BaseDataVariableTypeBase::BaseDataVariableTypeBase | ( | const UaNodeId & | nodeId, |
const UaString & | name, | ||
OpcUa_UInt16 | browseNameNameSpaceIndex, | ||
const UaVariant & | initialValue, | ||
OpcUa_Byte | accessLevel, | ||
NodeManagerConfig * | pNodeConfig, | ||
UaMutexRefCounted * | pSharedMutex = NULL |
||
) |
Constructs an instance of the class BaseDataVariableTypeBase with all components
[in] | nodeId | NodeId of the new variable |
[in] | name | Name of the new variable. Used as browse name and also as display name if no additional language specific names are set. |
[in] | browseNameNameSpaceIndex | Namespace index used for the browse name |
[in] | initialValue | Initial value for the Variable |
[in] | accessLevel | Access level for the Variable |
[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 |
OpcUa::BaseDataVariableTypeBase::~BaseDataVariableTypeBase | ( | ) | [virtual] |
Destruction
void OpcUa::BaseDataVariableTypeBase::clearStaticMembers | ( | ) | [static] |
Clear the static members of the class
Reimplemented from OpcUa::BaseVariableType.
Reimplemented in OpcUa::AnalogItemTypeBase, OpcUa::ConditionVariableTypeBase, OpcUa::DataItemTypeBase, OpcUa::DiscreteItemTypeBase, OpcUa::MultiStateDiscreteTypeBase, OpcUa::StateVariableTypeBase, OpcUa::TwoStateDiscreteTypeBase, and OpcUa::TwoStateVariableTypeBase.
void OpcUa::BaseDataVariableTypeBase::createTypes | ( | ) | [static] |
Create the related type nodes
Reimplemented from OpcUa::BaseVariableType.
Reimplemented in OpcUa::AnalogItemTypeBase, OpcUa::ConditionVariableTypeBase, OpcUa::DataItemTypeBase, OpcUa::DiscreteItemTypeBase, OpcUa::MultiStateDiscreteTypeBase, OpcUa::StateVariableTypeBase, OpcUa::TwoStateDiscreteTypeBase, and OpcUa::TwoStateVariableTypeBase.
UaNodeId OpcUa::BaseDataVariableTypeBase::typeDefinitionId | ( | ) | const [virtual] |
Returns the type definition NodeId for the BaseDataVariableType
Reimplemented from UaNode.
Reimplemented in OpcUa::AnalogItemTypeBase, OpcUa::ConditionVariableTypeBase, OpcUa::DataItemTypeBase, OpcUa::DiscreteItemTypeBase, OpcUa::MultiStateDiscreteTypeBase, OpcUa::StateVariableTypeBase, OpcUa::TwoStateDiscreteTypeBase, and OpcUa::TwoStateVariableTypeBase.