Public Member Functions | Private Member Functions
OpcUa::Model::Object Class Reference

#include <model.h>

Inheritance diagram for OpcUa::Model::Object:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Object CreateObject (const ObjectType &type, const QualifiedName &browseName)
Object CreateObject (const NodeId &newNodeId, const ObjectType &nodeType, const QualifiedName &browseName)
Object CreateObject (const ObjectType &type, const QualifiedName &browseName, const std::string &displayName)
Object CreateObject (const NodeId &newNodeId, const ObjectType &type, const QualifiedName &browseName, const std::string &displayName)
Variable CreateVariable (const QualifiedName &browseName, const Variant &value)
 Create a new variable.
Variable CreateVariable (const NodeId &newVariableId, const QualifiedName &browseName, const Variant &value)
Variable CreateVariable (const QualifiedName &browseName, const VariableType &type)
Variable CreateVariable (const NodeId &newVariableId, const QualifiedName &browseName, const VariableType &type)
Object GetObject (const QualifiedName &name) const
Object GetObject (const RelativePath &name) const
std::vector< ObjectGetObjects () const
ObjectType GetType () const
Variable GetVariable (const QualifiedName &name) const
 Get variable of the object by it name.
Variable GetVariable (const RelativePath &path) const
 Get variable by browse path.
std::vector< VariableGetVariables () const
 Get variables of the object.
 Object (NodeId objectId, Services::SharedPtr services)
 Object (Object &&object)
 Object (const Object &object)

Private Member Functions

std::vector< ReferenceDescriptionBrowseObjectsAndVariables (const NodeId &id)
std::map< NodeId, std::vector
< ReferenceDescription > > 
CopyObjectsAndVariables (const NodeId &targetNode, const std::vector< ReferenceDescription > &refs)
Object CreateObject (const NodeId &newNodeId, const NodeId &parentNode, const NodeId &typeId, const QualifiedName &browseName, const std::string &displayName)
AddNodesItem CreateObjectCopy (const NodeId &parentId, const ReferenceDescription &ref)
Variable CreateVariable (const NodeId &newNodeId, const NodeId &parentNode, const NodeId &typeId, const QualifiedName &browseName, const std::string &displayName)
AddNodesItem CreateVariableCopy (const NodeId &parentId, const ReferenceDescription &ref)
NodeId InstantiateType (const NodeId &newNodeId, const NodeId &parentNode, const NodeId &typeId, NodeClass nodeClass, const QualifiedName &browseName, const std::string &displayName)
 Object (Services::SharedPtr services)

Detailed Description

Definition at line 181 of file model.h.


Constructor & Destructor Documentation

OpcUa::Model::Object::Object ( NodeId  objectId,
Services::SharedPtr  services 
)

Definition at line 29 of file model_object.cpp.

Definition at line 41 of file model_object.cpp.

OpcUa::Model::Object::Object ( const Object object)

Definition at line 49 of file model_object.cpp.

OpcUa::Model::Object::Object ( Services::SharedPtr  services) [explicit, private]

Definition at line 57 of file model_object.cpp.


Member Function Documentation

Definition at line 183 of file model_object.cpp.

std::map< NodeId, std::vector< ReferenceDescription > > OpcUa::Model::Object::CopyObjectsAndVariables ( const NodeId targetNode,
const std::vector< ReferenceDescription > &  refs 
) [private]

Definition at line 201 of file model_object.cpp.

Object OpcUa::Model::Object::CreateObject ( const ObjectType type,
const QualifiedName browseName 
)

Definition at line 119 of file model_object.cpp.

Object OpcUa::Model::Object::CreateObject ( const NodeId newNodeId,
const ObjectType nodeType,
const QualifiedName browseName 
)

Definition at line 124 of file model_object.cpp.

Object OpcUa::Model::Object::CreateObject ( const ObjectType type,
const QualifiedName browseName,
const std::string &  displayName 
)

Definition at line 129 of file model_object.cpp.

Object OpcUa::Model::Object::CreateObject ( const NodeId newNodeId,
const ObjectType type,
const QualifiedName browseName,
const std::string &  displayName 
)
Object OpcUa::Model::Object::CreateObject ( const NodeId newNodeId,
const NodeId parentNode,
const NodeId typeId,
const QualifiedName browseName,
const std::string &  displayName 
) [private]

Definition at line 134 of file model_object.cpp.

AddNodesItem OpcUa::Model::Object::CreateObjectCopy ( const NodeId parentId,
const ReferenceDescription ref 
) [private]

Definition at line 336 of file model_object.cpp.

Variable OpcUa::Model::Object::CreateVariable ( const QualifiedName browseName,
const Variant value 
)

Create a new variable.

Parameters:
browseNamename of new variable.
dataTypetype of the value of new variable.
typeVariable type from which will be taken data type and structure. Will be create new node under current object.
Note:
If id of the new variable is not specified then it will be generated.
Returns:
new variable.

Definition at line 243 of file model_object.cpp.

Variable OpcUa::Model::Object::CreateVariable ( const NodeId newVariableId,
const QualifiedName browseName,
const Variant value 
)

Definition at line 248 of file model_object.cpp.

Variable OpcUa::Model::Object::CreateVariable ( const QualifiedName browseName,
const VariableType type 
)

Definition at line 282 of file model_object.cpp.

Variable OpcUa::Model::Object::CreateVariable ( const NodeId newVariableId,
const QualifiedName browseName,
const VariableType type 
)

Definition at line 287 of file model_object.cpp.

Variable OpcUa::Model::Object::CreateVariable ( const NodeId newNodeId,
const NodeId parentNode,
const NodeId typeId,
const QualifiedName browseName,
const std::string &  displayName 
) [private]
AddNodesItem OpcUa::Model::Object::CreateVariableCopy ( const NodeId parentId,
const ReferenceDescription ref 
) [private]

Definition at line 292 of file model_object.cpp.

Definition at line 109 of file model_object.cpp.

Definition at line 114 of file model_object.cpp.

std::vector< Object > OpcUa::Model::Object::GetObjects ( ) const

Definition at line 104 of file model_object.cpp.

Definition at line 62 of file model_object.cpp.

Get variable of the object by it name.

Definition at line 72 of file model_object.cpp.

Get variable by browse path.

Definition at line 84 of file model_object.cpp.

std::vector< Variable > OpcUa::Model::Object::GetVariables ( ) const

Get variables of the object.

Definition at line 67 of file model_object.cpp.

NodeId OpcUa::Model::Object::InstantiateType ( const NodeId newNodeId,
const NodeId parentNode,
const NodeId typeId,
NodeClass  nodeClass,
const QualifiedName browseName,
const std::string &  displayName 
) [private]

Definition at line 144 of file model_object.cpp.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:25:00