OpcUaCanOpen
CANopen OPC-UA server
IOManagerPDO.h
Go to the documentation of this file.
1 #ifndef __IOMANAGERPDO_H__
2 #define __IOMANAGERPDO_H__
3 
4 #include "iomanager.h"
5 
6 namespace CanOpen
7 {
16  class IOManagerPDO :
17  public IOManager
18  {
20  public:
21  /* construction / destruction */
22  IOManagerPDO();
23  virtual ~IOManagerPDO();
24 
25  //- Interface IOManager ------------------------------------------------------------------
26  UaStatus beginTransaction(IOManagerCallback* pCallback, const ServiceContext& serviceContext, OpcUa_UInt32 hTransaction, OpcUa_UInt32 totalItemCountHint,
27  OpcUa_Double maxAge, OpcUa_TimestampsToReturn timestampsToReturn, TransactionType transactionType, OpcUa_Handle& hIOManagerContext);
28 
30  UaStatus beginStartMonitoring(OpcUa_Handle hIOManagerContext, OpcUa_UInt32 callbackHandle, IOVariableCallback* pIOVariableCallback,
31  VariableHandle* pVariableHandle, MonitoringContext& monitoringContext);
33  UaStatus beginModifyMonitoring(OpcUa_Handle hIOManagerContext, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 hIOVariable, MonitoringContext& monitoringContext);
34  UaStatus beginStopMonitoring(OpcUa_Handle hIOManagerContext, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 hIOVariable);
35 
37  UaStatus beginRead(OpcUa_Handle hIOManagerContext, OpcUa_UInt32 callbackHandle, VariableHandle* pVariableHandle, OpcUa_ReadValueId* pReadValueId);
38 
39  UaStatus beginWrite(OpcUa_Handle hIOManagerContext, OpcUa_UInt32 callbackHandle, VariableHandle* pVariableHandle, OpcUa_WriteValue* pWriteValue);
40  UaStatus finishTransaction(OpcUa_Handle hIOManagerContext);
41  //- Interface NodeManager ------------------------------------------------------------------
42 
43  private:
44 // UaMutex m_mutex;
45 
46  };
47 }
48 #endif // __IOMANAGERPDO_H__