C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
XmlUaNodeFactoryNamespace0 Class Reference

This class is the factory for creating instances of ObjectTypes and VariableType defined in namespace 0. More...

#include <instancefactory.h>

Inherits XmlUaNodeFactoryNamespace.

Public Member Functions

virtual UaVariablecreateVariable (UaBase::Variable *pVariable, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Creates a Variable with all children. More...
 
virtual UaObjectcreateObject (UaBase::Object *pObject, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Creates an Object with all children. More...
 
virtual UaVariant defaultValue (const UaNodeId &dataTypeId, OpcUa_Int32 valueRank) const
 Returns default values for all data types provided by Namespace 0. More...
 
virtual void createType (const UaNodeId &typeId) const
 Creates type nodes in the servers addressspace for typeId.
 
- Public Member Functions inherited from XmlUaNodeFactoryNamespace
 XmlUaNodeFactoryNamespace (OpcUa_UInt16 namespaceIndex)
 Creates a XmlUaNodeFactoryNamespace object with the assigned namespace index for the factory.
 
 XmlUaNodeFactoryNamespace (const UaString &namespaceUri)
 Creates a XmlUaNodeFactoryNamespace object with the namespace URI for the factory. More...
 
OpcUa_UInt16 namespaceIndex () const
 Returns the namespace index for the factory.
 
virtual
OpcUa::BaseVariableTypeGeneric
createGenericVariable (UaBase::Variable *pVariable, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex)
 Creates a Variable and the children defined by pVariable. More...
 
virtual
OpcUa::BaseObjectTypeGeneric
createGenericObject (UaBase::Object *pObject, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex)
 Creates an Object and the children defined by pObject. More...
 
virtual OpcUa::BaseMethodcreateGenericMethod (UaBase::Method *pMethod, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex)
 Creates a Method and the children defined by pMethod. More...
 

Detailed Description

This class is the factory for creating instances of ObjectTypes and VariableType defined in namespace 0.

Member Function Documentation

UaObject * XmlUaNodeFactoryNamespace0::createObject ( UaBase::Object pObject,
XmlUaNodeFactoryManager pFactory,
NodeManagerConfig pNodeConfig,
UaMutexRefCounted pSharedMutex = NULL 
)
virtual

Creates an Object with all children.

If the TypeDefinition of pObject is unknown, a generic Object will be created.

Implements XmlUaNodeFactoryNamespace.

UaVariable * XmlUaNodeFactoryNamespace0::createVariable ( UaBase::Variable pVariable,
XmlUaNodeFactoryManager pFactory,
NodeManagerConfig pNodeConfig,
UaMutexRefCounted pSharedMutex = NULL 
)
virtual

Creates a Variable with all children.

If the TypeDefinition of pVariable is unknown, a generic Variable will be created.

Implements XmlUaNodeFactoryNamespace.

UaVariant XmlUaNodeFactoryNamespace0::defaultValue ( const UaNodeId dataTypeId,
OpcUa_Int32  valueRank 
) const
virtual

Returns default values for all data types provided by Namespace 0.

Implements XmlUaNodeFactoryNamespace.


The documentation for this class was generated from the following files: