UniSet  2.7.0
IOConfig.h
1 /*
2  * Copyright (c) 2015 Pavel Vainerman.
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as
6  * published by the Free Software Foundation, version 2.1.
7  *
8  * This program is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  * Lesser General Lesser Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 // --------------------------------------------------------------------------
17 #ifndef IOConfig_H_
18 #define IOConfig_H_
19 // ------------------------------------------------------------------------------------------
20 #include "IOController.h"
21 #include "IONotifyController.h"
22 // ------------------------------------------------------------------------------------------
23 namespace uniset
24 {
26  class IOConfig
27  {
28  public:
29 
30  IOConfig() {}
31  virtual ~IOConfig() {}
32 
34  virtual IOController::IOStateList read() = 0;
35 
36  // /*! записать текущий список io */
37  // virtual bool write( const IOController::IOStateList& iolist ) = 0;
38  };
39  // --------------------------------------------------------------------------------------
40 } // end of uniset namespace
41 // --------------------------------------------------------------------------------------
42 #endif
Definition: CallbackTimer.h:29
Definition: IOConfig.h:26
virtual IOController::IOStateList read()=0