distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
InputPin.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_DEVICES_IO_INPUTPIN_HPP_
13 #define INCLUDE_DISTORTOS_DEVICES_IO_INPUTPIN_HPP_
14 
15 namespace distortos
16 {
17 
18 namespace devices
19 {
20 
27 class InputPin
28 {
29 public:
30 
35  virtual ~InputPin() = 0;
36 
41  virtual bool get() const = 0;
42 };
43 
44 } // namespace devices
45 
46 } // namespace distortos
47 
48 #endif // INCLUDE_DISTORTOS_DEVICES_IO_INPUTPIN_HPP_
virtual ~InputPin()=0
InputPin's destructor.
Definition: InputPin.cpp:24
Top-level namespace of distortos project.
Definition: InputPin.hpp:27