|
OpcUaCanOpen
CANopen OPC-UA server
|
#include <UaProgramItem.h>
Inherits AddressSpace::UaControlDeviceGeneric.
Public Member Functions | |
| UaProgramItem (PROGRAM *pt, UaObjectType *pNodeType, const UaNodeId &newNodeId, NmBuildingAutomation *pNodeManager, UaControlDeviceGeneric *parent, UserDevice::pUserDeviceStruct *puds) | |
| Constructor. More... | |
| virtual | ~UaProgramItem (void) |
| destructor More... | |
| void | executeProgram () |
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... | |
Private Attributes | |
| UaControlVariable * | m_pErrorItem |
Additional Inherited Members | |
Protected Attributes inherited from AddressSpace::UaControlDeviceGeneric | |
| std::vector< OpcUa::BaseMethod * > | m_pMethod |
Definition at line 12 of file UaProgramItem.h.
| AddressSpace::UaProgramItem::UaProgramItem | ( | PROGRAM * | pt, |
| UaObjectType * | pNodeType, | ||
| const UaNodeId & | newNodeId, | ||
| NmBuildingAutomation * | pNodeManager, | ||
| UaControlDeviceGeneric * | parent, | ||
| UserDevice::pUserDeviceStruct * | puds | ||
| ) |
Constructor.
| pt | XML description of Program in the system |
| newNodeId | ua node id |
| pNodeManager | pointer to node manager |
| ca | canbus XML description |
| newNodeId | CanBus Node ID |
| pNodeManager | reference to node Manager for this node |
Definition at line 24 of file UaProgramItem.cpp.
|
inlinevirtual |
destructor
Definition at line 26 of file UaProgramItem.h.
| void AddressSpace::UaProgramItem::executeProgram | ( | ) |
Definition at line 160 of file UaProgramItem.cpp.
|
private |
Definition at line 32 of file UaProgramItem.h.