OpcUaCanOpen
CANopen OPC-UA server
UserDevice Namespace Reference

Generic interface for user devices. More...

Classes

class  AbstractHardware
 Basic abstract class to create hardware structure. More...
 
class  ControlInterface
 ControlInterface is an interface class to connect OpcUa Address Space to CANOpen hardware During creation of Address space the function "createInterfaceEntry" is called. More...
 
class  DEVICE
 DEVICE class is a template to create an object to control hardware device. More...
 
class  InterfaceUserDataBase
 Abstract class collects the basic properties and function of the Device This class defines the interface which OpcUaCanOpen Server uses to connect to the hardware part and "send and get" functions to exchange data. More...
 
class  pUserDeviceStruct
 UserDeviceStruct class is a generic representing the basic property of the user devices User device classes should base on this class
Instants of this class contain the link to the parent object (is exist), link to UaNode and function code describing the possible operation. More...
 
class  UserDeviceItem
 Abstract class defined method to exchange data with UaVariable The Class defines the basic operation of UaVariable which takes data from CAN message and put date into CAN message. More...
 
class  UserDeviceStruct
 

Detailed Description

Generic interface for user devices.

SDK toolkit uses the property of UserDataBase * type to save the pointer to user defined hardware object
Class ControlInterface allows to initialize the hardware part and create the pointer to user object
All user objects must inherit the InterfaceUserDataBase class.
A pointer to UserDataBase interface class is used SDK to connect user classes to UaVariable and UaObject
UserDataBase_ptr is a smart pointer which allows to share user class between several UaNode in safe mode and
In this case it is possible to create UaNode in runtime and connect to an object of user class already created.
AbstractHardware, DEVICE, UserDrviceStruct and UserDeviceItem are the service class to help create user classes to represent hardware structure.