OpcUaCanOpen
CANopen OPC-UA server
|
This class ensure Emergency data. More...
#include <Emergency.h>
Inherits CanOpen::CanObject.
Public Member Functions | |
Emergency (pUserDeviceStruct *interf, NODE *ca, UaNode *blink, OpcUa_UInt32 code) | |
Constructor. More... | |
virtual | ~Emergency (void) |
Destructor. More... | |
virtual UaStatus | getDeviceMessage (OpcUa_UInt32 code) |
Read data From device There is no any date for this object. More... | |
virtual UaStatus | sendDeviceMessage (OpcUa_UInt32 code, UaDataValue *value=0) |
send data or command on device Abstract function to send data based on type id (buldingAutomationTypeIds.h) More... | |
virtual UaStatus | connectCode (OpcUa_UInt32 code, ::xsd::cxx::tree::type *conf, UaNode *blink) |
connect function code to ua node to pass data More... | |
virtual UaVariant | getPropertyValue (OpcUa_UInt32 code, ::xsd::cxx::tree::type *conf) |
![]() | |
CanObject (pUserDeviceStruct *parent,::xsd::cxx::tree::type *conf, UaNode *pAS, OpcUa_UInt32 code) | |
Constructor. More... | |
virtual | ~CanObject (void) |
Destructor. More... | |
OpcUa_Byte | getCanNodeId () |
get Node Id More... | |
void | sendNMT (enum ::NMTcommand nmt) |
Send nmt message. More... | |
virtual void | setInitNmt (enum NMTcommand iNMT) |
Save initial nmt message which will send to initialize devices. More... | |
virtual void | setInitNmt (std::string sNmt) |
Save initial nmt message which will send to initialize devices. More... | |
virtual void | sendInitNmt () |
send initial nmt message More... | |
CCanAccess * | getCanBusInterface () |
get pointer to can bus interface More... | |
void | setCanBusInterface (CCanAccess *ccac) |
save pointer to can bus interface More... | |
IOManager * | getIOManager () |
![]() | |
InterfaceUserDataBase (pUserDeviceStruct *parent,::xsd::cxx::tree::type *conf, UaNode *pAS, OpcUa_UInt code) | |
Constructor Also create the shared mutex which can be used to synchronize operation on device using lock/unlock function. More... | |
virtual | ~InterfaceUserDataBase (void) |
Destructor. More... | |
![]() | |
UserDeviceStruct (pUserDeviceStruct *parent, ::xsd::cxx::tree::type *conf, UaNode *pAS, OpcUa_UInt code) | |
constructor More... | |
void | lock () |
lock shared mutex to protect More... | |
void | unlock () |
unlock shared mutex More... | |
::UaMutexRefCounted * | getShareMutex () |
get mutex More... | |
void | releaseMutex () |
OpcUa_Int32 | countMutex () |
virtual | ~UserDeviceStruct (void) |
OpcUa_UInt | getCodeFunction () |
UserDeviceStruct * | getParentDevice () |
pUserDeviceStruct * | getTopInterface () |
pUserDeviceStruct * | getParent () |
virtual void | setInvalid () |
UaNode * | getAddressSpaceEntry () |
Additional Inherited Members | |
![]() | |
CCanAccess * | m_pCommIf |
Address of can interface. More... | |
OpcUa_Byte | m_CanNodeId |
Node Id for bus = 0. More... | |
enum NMTcommand | m_initNMTcommand |
initial NMT commands More... | |
IOManager * | m_pIOManager |
![]() | |
UaMutexRefCounted * | m_pSharedMutex |
This class ensure Emergency data.
Definition at line 16 of file Emergency.h.
|
inline |
Constructor.
interf | the parent interface in this case is a CanBUsObject |
ca | XML description of node properties |
blink | the UaNode which control this device |
code | function code of operation |
Definition at line 27 of file Emergency.h.
|
inlinevirtual |
Destructor.
Definition at line 31 of file Emergency.h.
|
inlinevirtual |
connect function code to ua node to pass data
code | function code defines the operation |
conf | configuration data to link node |
blink | ua node to pass data |
Implements UserDevice::InterfaceUserDataBase.
Definition at line 55 of file Emergency.h.
|
inlinevirtual |
Read data From device There is no any date for this object.
code | function code of operation |
Implements UserDevice::InterfaceUserDataBase.
Definition at line 37 of file Emergency.h.
|
inlinevirtual |
Implements UserDevice::InterfaceUserDataBase.
Definition at line 61 of file Emergency.h.
|
inlinevirtual |
send data or command on device Abstract function to send data based on type id (buldingAutomationTypeIds.h)
code | function code |
value | data to send |
Implements UserDevice::InterfaceUserDataBase.
Definition at line 42 of file Emergency.h.