OpcUaCanOpen
CANopen OPC-UA server
CanOpenDataAddress Class Reference

#include <CanOpenData.h>

Inherits UserDataBase.

Public Member Functions

 CanOpenDataAddress (CanOpenItemType itemType, OpcUa_UInt16 dataAddress, OpcUa_UInt16 numberByte, OpcUa_UInt16 bitNumber, OpcUa_UInt16 ch)
 
virtual ~CanOpenDataAddress ()
 
CanOpenItemType msgType () const
 
OpcUa_UInt16 dataAddress () const
 
OpcUa_UInt16 numberByte () const
 
OpcUa_UInt16 bitNumber () const
 
OpcUa_UInt16 channel () const
 

Static Public Member Functions

static bool getDirection (const char *ndir, DirectionType &d)
 
static bool getOpcUaType (const char *ndir, OpcUa_BuiltInType &d)
 

Private Member Functions

 UA_DISABLE_COPY (CanOpenDataAddress)
 

Private Attributes

DirectionType direct
 
CanOpenItemType m_itemType
 
OpcUa_UInt16 m_dataAddress
 
OpcUa_UInt16 m_numberByte
 
OpcUa_UInt16 m_bitNumber
 
OpcUa_UInt16 m_channel
 

Detailed Description

Definition at line 15 of file CanOpenData.h.

Constructor & Destructor Documentation

◆ CanOpenDataAddress()

CanOpenDataAddress::CanOpenDataAddress ( CanOpenItemType  itemType,
OpcUa_UInt16  dataAddress,
OpcUa_UInt16  numberByte,
OpcUa_UInt16  bitNumber,
OpcUa_UInt16  ch 
)
inline

Definition at line 19 of file CanOpenData.h.

◆ ~CanOpenDataAddress()

virtual CanOpenDataAddress::~CanOpenDataAddress ( )
inlinevirtual

Definition at line 31 of file CanOpenData.h.

Member Function Documentation

◆ bitNumber()

OpcUa_UInt16 CanOpenDataAddress::bitNumber ( ) const
inline

Definition at line 86 of file CanOpenData.h.

◆ channel()

OpcUa_UInt16 CanOpenDataAddress::channel ( ) const
inline

Definition at line 88 of file CanOpenData.h.

◆ dataAddress()

OpcUa_UInt16 CanOpenDataAddress::dataAddress ( ) const
inline

Definition at line 82 of file CanOpenData.h.

◆ getDirection()

static bool CanOpenDataAddress::getDirection ( const char *  ndir,
DirectionType d 
)
inlinestatic

Definition at line 32 of file CanOpenData.h.

◆ getOpcUaType()

static bool CanOpenDataAddress::getOpcUaType ( const char *  ndir,
OpcUa_BuiltInType &  d 
)
inlinestatic

Definition at line 46 of file CanOpenData.h.

◆ msgType()

CanOpenItemType CanOpenDataAddress::msgType ( ) const
inline

Definition at line 80 of file CanOpenData.h.

◆ numberByte()

OpcUa_UInt16 CanOpenDataAddress::numberByte ( ) const
inline

Definition at line 84 of file CanOpenData.h.

◆ UA_DISABLE_COPY()

CanOpenDataAddress::UA_DISABLE_COPY ( CanOpenDataAddress  )
private

Member Data Documentation

◆ direct

DirectionType CanOpenDataAddress::direct
private

Definition at line 91 of file CanOpenData.h.

◆ m_bitNumber

OpcUa_UInt16 CanOpenDataAddress::m_bitNumber
private

Definition at line 95 of file CanOpenData.h.

◆ m_channel

OpcUa_UInt16 CanOpenDataAddress::m_channel
private

Definition at line 96 of file CanOpenData.h.

◆ m_dataAddress

OpcUa_UInt16 CanOpenDataAddress::m_dataAddress
private

Definition at line 93 of file CanOpenData.h.

◆ m_itemType

CanOpenItemType CanOpenDataAddress::m_itemType
private

Definition at line 92 of file CanOpenData.h.

◆ m_numberByte

OpcUa_UInt16 CanOpenDataAddress::m_numberByte
private

Definition at line 94 of file CanOpenData.h.


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