bindings: implement C++ bindings
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 25 Oct 2017 19:11:37 +0000 (21:11 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 19 Feb 2018 08:45:45 +0000 (09:45 +0100)
commit8078a4a2ad90caf95ef6426c2b5cddeeddc9dc57
treea93cd6c65ccffdb1e71d6a3e602c24a7fa774be5
parenta5a153d691234de1e584a45443c368c9949b9ca8
bindings: implement C++ bindings

Wrap the C API in a set of C++ classes which allow to use all libgpiod
functionalities in an object-oriented manner.

Include simplified reimplementations of gpio-tools and a set of
tests/examples showing how to use the C++ interface.

The C++ API is fully documented in doxygen.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
18 files changed:
.gitignore
Makefile.am
bindings/Makefile.am [new file with mode: 0644]
bindings/cxx/Makefile.am [new file with mode: 0644]
bindings/cxx/chip.cpp [new file with mode: 0644]
bindings/cxx/examples/Makefile.am [new file with mode: 0644]
bindings/cxx/examples/gpio_cxx_tests.cpp [new file with mode: 0644]
bindings/cxx/examples/gpiodetectcxx.cpp [new file with mode: 0644]
bindings/cxx/examples/gpiofindcxx.cpp [new file with mode: 0644]
bindings/cxx/examples/gpiogetcxx.cpp [new file with mode: 0644]
bindings/cxx/examples/gpioinfocxx.cpp [new file with mode: 0644]
bindings/cxx/examples/gpiomoncxx.cpp [new file with mode: 0644]
bindings/cxx/examples/gpiosetcxx.cpp [new file with mode: 0644]
bindings/cxx/gpiod.hpp [new file with mode: 0644]
bindings/cxx/iter.cpp [new file with mode: 0644]
bindings/cxx/line.cpp [new file with mode: 0644]
bindings/cxx/line_bulk.cpp [new file with mode: 0644]
configure.ac