OpcUaCanOpen
CANopen OPC-UA server
SamplingSDO.h
Go to the documentation of this file.
1 #ifndef _SAMPLINGSDO_H
2 #define _SAMPLINGSDO_H
3 
4 #include "samplingengine.h"
5 #include "iomanager.h"
6 #include "UaControlDeviceItem.h"
7 
8 namespace AddressSpace
9 {
10 
11  /***
12  * SamplingSDo class uses thread manager from SamplingEngine class
13  * Sampling rate defines in server configuration class
14  */
15  class SamplingSDO : public SamplingExecution
16  {
17  public:
18  SamplingSDO();
19  ~SamplingSDO() { };
20  virtual void sample();
22  OpcUa_Int32 m_nSamplingInterval;
23  IOVariableCallback* m_pIOVariableCallback;
24  };
25 }
26 #endif