OpcUaCanOpen
CANopen OPC-UA server
|
Generic class type to create UaNode based on type information and create connection to hardware objects. More...
#include <UaControlNode.h>
Public Member Functions | |
UaControlNode () | |
virtual | ~UaControlNode (void) |
template<class T > | |
UaStatus | UaControlNodeCreateByType (T *cur, UaNode *instance, NmBuildingAutomation *pNodeManager,::xml_schema::type *conf, UserDataBase *interf) |
Static Public Member Functions | |
template<class T > | |
static UaStatus | UaControlNodeCreateByType (T *cur, UaNode *instance, NmBuildingAutomation *pNodeManager, ::xml_schema::type *conf, pUserDeviceStruct *interf, UaMutexRefCounted *m) |
this function creates recursively the object tree based on type object More... | |
Generic class type to create UaNode based on type information and create connection to hardware objects.
The type information of system object can be represented as a UaNode graph.
Each node connects to another node via reference. In OPC Ua several reference type is defined.
The type information are created by node manager method afterStartUp. Actually when creates the object based on type information the tree of objects is created.
Definition at line 27 of file UaControlNode.h.
|
inline |
Definition at line 33 of file UaControlNode.h.
|
inlinevirtual |
Definition at line 34 of file UaControlNode.h.
UaStatus AddressSpace::UaControlNode::UaControlNodeCreateByType | ( | T * | cur, |
UaNode * | instance, | ||
NmBuildingAutomation * | pNodeManager, | ||
::xml_schema::type * | conf, | ||
UserDataBase * | interf | ||
) |
Definition at line 11 of file UaControlNode.cpp.
|
inlinestatic |
this function creates recursively the object tree based on type object
cur | parent ua node |
instance | pointer to type node |
pNodeManager | node manager object |
conf | XML description of object created |
interf | pointer to parent hardware object |
Definition at line 45 of file UaControlNode.h.