ControlInterface is an interface class to connect OpcUa Address Space to CANOpen hardware During creation of Address space the function "createInterfaceEntry" is called.
More...
#include <ControlInterface.h>
Inherited by CanOpen::CanBusInterface.
ControlInterface is an interface class to connect OpcUa Address Space to CANOpen hardware During creation of Address space the function "createInterfaceEntry" is called.
The file "BuildingAutomationTypeIds.h" contains all possible operation codes
This class is an abstract and it is necessary to implement all abstract methods for concrete hardware structure
Definition at line 38 of file ControlInterface.h.
◆ ControlInterface()
UserDevice::ControlInterface::ControlInterface |
( |
| ) |
|
|
inline |
◆ ~ControlInterface()
virtual UserDevice::ControlInterface::~ControlInterface |
( |
| ) |
|
|
inlinevirtual |
◆ closeInterface()
virtual void UserDevice::ControlInterface::closeInterface |
( |
| ) |
|
|
pure virtual |
◆ CreateAddressSpace()
virtual UaStatus UserDevice::ControlInterface::CreateAddressSpace |
( |
AddressSpace::NmBuildingAutomation * |
nManager, |
|
|
NodeManagerNodeSetXml * |
pXmlNodeManager, |
|
|
NodeManagerConfig * |
pDefaultNodeManager |
|
) |
| |
|
pure virtual |
Create application address space.
- Parameters
-
nManager | Node manager for application nodes |
Implemented in CanOpen::CanBusInterface.
◆ createInterfaceEntry()
Create interface class based on configuration information and type ID.
- Parameters
-
parent | - the interface object which is a parent of creating one |
code | - operation code |
conf | - XML configuration of creating object |
node | - UaNode which take date from hardware or send commands |
- Returns
- point to smart pointer of InterfaceUserDataBase
◆ CreateXmlParser()
virtual UaStatus UserDevice::ControlInterface::CreateXmlParser |
( |
UaString & |
sXmlFileName | ) |
|
|
pure virtual |
◆ getIOManager()
virtual IOManager* UserDevice::ControlInterface::getIOManager |
( |
UaNode * |
pUaNode, |
|
|
OpcUa_Int32 |
attributeId |
|
) |
| |
|
pure virtual |
◆ getNodeManager()
◆ getNodeTypeManager()
NodeManagerNodeSetXml* UserDevice::ControlInterface::getNodeTypeManager |
( |
| ) |
const |
|
inline |
◆ getTypeNodeId()
UaNodeId UserDevice::ControlInterface::getTypeNodeId |
( |
OpcUa_UInt32 |
numericIdentifier | ) |
|
|
inline |
◆ getVariableHandler()
virtual VariableHandle* UserDevice::ControlInterface::getVariableHandler |
( |
Session * |
session, |
|
|
VariableHandle::ServiceType |
serviceType, |
|
|
OpcUa_NodeId * |
nodeid, |
|
|
OpcUa_Int32 |
attributeId |
|
) |
| |
|
inlinevirtual |
◆ initialize()
virtual UaStatus UserDevice::ControlInterface::initialize |
( |
| ) |
|
|
pure virtual |
◆ isDeviceVariable()
virtual bool UserDevice::ControlInterface::isDeviceVariable |
( |
UaNodeId |
| ) |
|
|
pure virtual |
◆ isTraceVariable()
virtual bool UserDevice::ControlInterface::isTraceVariable |
( |
UaNodeId |
uaTraceId | ) |
|
|
inlinevirtual |
◆ putTraceFunctions()
virtual void UserDevice::ControlInterface::putTraceFunctions |
( |
OpcUa_DataValue * |
| ) |
|
|
pure virtual |
◆ m_pDefaultNodeManager
NodeManagerConfig* UserDevice::ControlInterface::m_pDefaultNodeManager |
|
protected |
◆ m_pNodeManager
◆ m_pTypeNodeManager
NodeManagerNodeSetXml* UserDevice::ControlInterface::m_pTypeNodeManager |
|
protected |
◆ m_sXmlFileName
UaString UserDevice::ControlInterface::m_sXmlFileName |
|
protected |
The documentation for this class was generated from the following file: