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

#include <UaDeviceMethod.h>

Inherits BaseMethod.

Inherited by AddressSpace::UaProgramMethod< T >.

Public Member Functions

 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 UaStatus execute ()
 execute the method More...
 
virtual ~UaDeviceMethod (void)
 Destructor. More...
 
OpcUa_UInt32 getFunctionCode ()
 

Protected Attributes

OpcUa_UInt32 m_iCode
 

Private Member Functions

 UA_DISABLE_COPY (UaDeviceMethod)
 

Detailed Description

template<class T>
class AddressSpace::UaDeviceMethod< T >

Definition at line 19 of file UaDeviceMethod.h.

Constructor & Destructor Documentation

◆ UaDeviceMethod() [1/2]

template<class T>
AddressSpace::UaDeviceMethod< T >::UaDeviceMethod ( 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 29 of file UaDeviceMethod.h.

◆ UaDeviceMethod() [2/2]

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

Definition at line 41 of file UaDeviceMethod.h.

◆ ~UaDeviceMethod()

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

Destructor.

Definition at line 64 of file UaDeviceMethod.h.

Member Function Documentation

◆ execute()

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

execute the method

Reimplemented in AddressSpace::UaProgramMethod< T >.

Definition at line 52 of file UaDeviceMethod.h.

◆ getFunctionCode()

template<class T>
OpcUa_UInt32 AddressSpace::UaDeviceMethod< T >::getFunctionCode ( )
inline

Definition at line 68 of file UaDeviceMethod.h.

◆ UA_DISABLE_COPY()

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

Member Data Documentation

◆ m_iCode

template<class T>
OpcUa_UInt32 AddressSpace::UaDeviceMethod< T >::m_iCode
protected

Definition at line 71 of file UaDeviceMethod.h.


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