Blame view

src/ModbusAdapter.h 727 Bytes
32017af3   Peter M. Groen   Setting up workin...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  /*****************************************************************************
   * Copyright (c) 2022 Priva b.v.
   *****************************************************************************/
  
  #pragma once
  
  #include "ConnectionConfig.h"
  #include "IModbusAdapter.h"
  
  /// \brief  This class represents a single modbus context. Each context will
  ///         result in an instance of this class. It is not intended to be
  ///         created directly but through a factory. The factory will create
  ///         the object and return the pointer to its interface.
  
  class ModbusAdapter : public IModbusAdapter
  {
  public:
      ModbusAdapter();
      virtual ~ModbusAdapter();
  
      void ModbusConnectRTU(const ConnectionConfig &conncfg);
  };