OpcUaCanOpen
CANopen OPC-UA server
CanOpen::UaCanBusObject Class Reference

Top level object describing CANBUS has IOManager for PDO interaction. More...

#include <UaCanBusObject.h>

Inherits AddressSpace::UaControlDeviceGeneric.

Public Member Functions

 UaCanBusObject (CANBUS *ca, const UaNodeId &newNodeId, NmBuildingAutomation *pNodeManager)
 Constructor. More...
 
virtual ~UaCanBusObject (void)
 destructor close io manager More...
 
- Public Member Functions inherited from AddressSpace::UaControlDeviceGeneric
 UaControlDeviceGeneric (const UaString &name, const UaNodeId &newNodeId, NmBuildingAutomation *pNodeManager, OpcUa_Int32 baTypeId, ::xml_schema::type *conf, UserDevice::pUserDeviceStruct *interf)
 Constructor. More...
 
 UaControlDeviceGeneric (const UaString &name, const UaNodeId &newNodeId, NmBuildingAutomation *pNodeManager, UaObjectType *instance, ::xml_schema::type *conf, UserDevice::pUserDeviceStruct *interf)
 Constructor. More...
 
 UaControlDeviceGeneric (const UaString &name, const UaNodeId &newNodeId, NmBuildingAutomation *pNodeManager, UaObject *instance, ::xml_schema::type *conf, UserDevice::pUserDeviceStruct *interf)
 Constructor. More...
 
virtual ~UaControlDeviceGeneric (void)
 
OpcUa_Byte eventNotifier () const
 this function creates recursively the object tree based on type object More...
 
OpcUa_UInt32 getDeviceTypeNumber () const
 Override UaObject method implementation. More...
 
virtual UaStatus beginCall (MethodManagerCallback *pCallback, const ServiceContext &serviceContext, OpcUa_UInt32 callbackHandle, MethodHandle *pMethodHandle, const UaVariantArray &inputArguments)
 Implement MethodManager interface this function calls by ua toolkit object when client ask to execute method. More...
 
virtual UaStatus call (UaMethod *, const UaVariantArray &, UaVariantArray &, UaStatusCodeArray &, UaDiagnosticInfos &)
 Own synchronous call implementation the can be overridden in subclasses (not use) More...
 
virtual void addMethod (OpcUa::BaseMethod *meth)
 get common mutex More...
 

Additional Inherited Members

- Protected Attributes inherited from AddressSpace::UaControlDeviceGeneric
std::vector< OpcUa::BaseMethod * > m_pMethod
 

Detailed Description

Top level object describing CANBUS has IOManager for PDO interaction.

Definition at line 18 of file UaCanBusObject.h.

Constructor & Destructor Documentation

◆ UaCanBusObject()

CanOpen::UaCanBusObject::UaCanBusObject ( CANBUS ca,
const UaNodeId &  newNodeId,
NmBuildingAutomation pNodeManager 
)

Constructor.

Parameters
caXML description of canbus in the system
newNodeIdua node id
pNodeManagerpointer to node manager
cacanbus XML description
newNodeIdCanBus Node ID
pNodeManagerreference to node Manager for this node

Definition at line 15 of file UaCanBusObject.cpp.

◆ ~UaCanBusObject()

virtual CanOpen::UaCanBusObject::~UaCanBusObject ( void  )
inlinevirtual

destructor close io manager

Definition at line 33 of file UaCanBusObject.h.


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