#include <opcua_dataitemtypebase.h>
Public Member Functions | |
DataItemTypeBase (UaNode *pParentNode, UaVariable *pInstanceDeclarationVariable, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
DataItemTypeBase (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, const UaVariant &initialValue, OpcUa_Byte accessLevel, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL) | |
virtual | ~DataItemTypeBase () |
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 DataItemType
OpcUa::DataItemTypeBase::DataItemTypeBase | ( | UaNode * | pParentNode, |
UaVariable * | pInstanceDeclarationVariable, | ||
NodeManagerConfig * | pNodeConfig, | ||
UaMutexRefCounted * | pSharedMutex = NULL |
||
) |
Constructs an instance of the class DataItemTypeBase 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::DataItemTypeBase::DataItemTypeBase | ( | 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 DataItemTypeBase 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::DataItemTypeBase::~DataItemTypeBase | ( | ) | [virtual] |
Destruction
void OpcUa::DataItemTypeBase::clearStaticMembers | ( | ) | [static] |
Clear the static members of the class
Reimplemented from OpcUa::BaseDataVariableTypeBase.
Reimplemented in OpcUa::AnalogItemTypeBase, OpcUa::DiscreteItemTypeBase, OpcUa::MultiStateDiscreteTypeBase, and OpcUa::TwoStateDiscreteTypeBase.
void OpcUa::DataItemTypeBase::createTypes | ( | ) | [static] |
Create the related type nodes
Reimplemented from OpcUa::BaseDataVariableTypeBase.
Reimplemented in OpcUa::AnalogItemTypeBase, OpcUa::DiscreteItemTypeBase, OpcUa::MultiStateDiscreteTypeBase, and OpcUa::TwoStateDiscreteTypeBase.
UaNodeId OpcUa::DataItemTypeBase::typeDefinitionId | ( | ) | const [virtual] |
Returns the type definition NodeId for the DataItemType
Reimplemented from OpcUa::BaseDataVariableTypeBase.
Reimplemented in OpcUa::AnalogItemTypeBase, OpcUa::DiscreteItemTypeBase, OpcUa::MultiStateDiscreteTypeBase, and OpcUa::TwoStateDiscreteTypeBase.