#include <model.h>
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< Object > | GetObjects () 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< Variable > | GetVariables () const |
Get variables of the object. | |
Object (NodeId objectId, Services::SharedPtr services) | |
Object (Object &&object) | |
Object (const Object &object) | |
Private Member Functions | |
std::vector< ReferenceDescription > | BrowseObjectsAndVariables (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) |
OpcUa::Model::Object::Object | ( | NodeId | objectId, |
Services::SharedPtr | services | ||
) |
Definition at line 29 of file model_object.cpp.
OpcUa::Model::Object::Object | ( | Object && | object | ) |
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.
std::vector< ReferenceDescription > OpcUa::Model::Object::BrowseObjectsAndVariables | ( | const NodeId & | id | ) | [private] |
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.
browseName | name of new variable. |
dataType | type of the value of new variable. |
type | Variable type from which will be taken data type and structure. Will be create new node under current object. |
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.
Object OpcUa::Model::Object::GetObject | ( | const QualifiedName & | name | ) | const |
Definition at line 109 of file model_object.cpp.
Object OpcUa::Model::Object::GetObject | ( | const RelativePath & | name | ) | const |
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.
ObjectType OpcUa::Model::Object::GetType | ( | ) | const |
Definition at line 62 of file model_object.cpp.
Variable OpcUa::Model::Object::GetVariable | ( | const QualifiedName & | name | ) | const |
Get variable of the object by it name.
Definition at line 72 of file model_object.cpp.
Variable OpcUa::Model::Object::GetVariable | ( | const RelativePath & | path | ) | const |
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.