OpcUaCanOpen
CANopen OPC-UA server
AddressSpace::UaProgramMethod< T > Class Template Reference

the class to execute method on a can buss Inherits ua BaseMethod and contains hardware interface connection. More...

#include <UaProgramMethod.h>

Inherits AddressSpace::UaDeviceMethod< T >.

Public Member Functions

 UaProgramMethod (T *cur, NmBuildingAutomation *pNodeManager, UaMethod *instance, UaMutexRefCounted *pSharedMutex)
 Constructor. More...
 
 UaProgramMethod (T *cur, const UaNodeId &nodeId, const UaString &name, NmBuildingAutomation *pNodeManager, OpcUa_UInt32 icode, UaMutexRefCounted *pSharedMutex)
 
virtual UaStatus execute ()
 execute the method More...
 
virtual ~UaProgramMethod (void)
 Destructor. More...
 
- Public Member Functions inherited from AddressSpace::UaDeviceMethod< T >
 UaDeviceMethod (T *cur, NmBuildingAutomation *pNodeManager, UaMethod *instance, UaMutexRefCounted *pSharedMutex)
 Constructor. More...
 
 UaDeviceMethod (T *cur, const UaNodeId &nodeId, const UaString &name, NmBuildingAutomation *pNodeManager, OpcUa_UInt32 icode, UaMutexRefCounted *pSharedMutex)
 
virtual ~UaDeviceMethod (void)
 Destructor. More...
 
OpcUa_UInt32 getFunctionCode ()
 

Private Member Functions

 UA_DISABLE_COPY (UaProgramMethod)
 

Additional Inherited Members

- Protected Attributes inherited from AddressSpace::UaDeviceMethod< T >
OpcUa_UInt32 m_iCode
 

Detailed Description

template<class T>
class AddressSpace::UaProgramMethod< T >

the class to execute method on a can buss Inherits ua BaseMethod and contains hardware interface connection.

Definition at line 14 of file UaProgramMethod.h.

Constructor & Destructor Documentation

◆ UaProgramMethod() [1/2]

template<class T>
AddressSpace::UaProgramMethod< T >::UaProgramMethod ( T *  cur,
NmBuildingAutomation pNodeManager,
UaMethod *  instance,
UaMutexRefCounted *  pSharedMutex 
)
inline

Constructor.

Parameters
curparent ua node
pNodeManagerpointer to node manager
instancepointer to method type
pSharedMutex

Definition at line 24 of file UaProgramMethod.h.

◆ UaProgramMethod() [2/2]

template<class T>
AddressSpace::UaProgramMethod< T >::UaProgramMethod ( T *  cur,
const UaNodeId &  nodeId,
const UaString &  name,
NmBuildingAutomation pNodeManager,
OpcUa_UInt32  icode,
UaMutexRefCounted *  pSharedMutex 
)
inline

Definition at line 30 of file UaProgramMethod.h.

◆ ~UaProgramMethod()

template<class T>
virtual AddressSpace::UaProgramMethod< T >::~UaProgramMethod ( void  )
inlinevirtual

Destructor.

Definition at line 88 of file UaProgramMethod.h.

Member Function Documentation

◆ execute()

template<class T>
virtual UaStatus AddressSpace::UaProgramMethod< T >::execute ( )
inlinevirtual

execute the method

Reimplemented from AddressSpace::UaDeviceMethod< T >.

Definition at line 37 of file UaProgramMethod.h.

◆ UA_DISABLE_COPY()

template<class T>
AddressSpace::UaProgramMethod< T >::UA_DISABLE_COPY ( UaProgramMethod< T >  )
private

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