| 1 |
.. |
| 2 |
SPDX-License-Identifier: CC-BY-SA-4.0 |
| 3 |
SPDX-FileCopyrightText: 2024-2025 Bartosz Golaszewski <[email protected]> |
| 4 |
|
| 5 |
.. |
| 6 |
This file is part of libgpiod. |
| 7 |
|
| 8 |
libgpiodcxx API documentation |
| 9 |
|
| 10 |
libgpiod C++ bindings API |
| 11 |
========================= |
| 12 |
|
| 13 |
The **C++ bindings** for **libgpiod** provide a modern C++ wrapper around the |
| 14 |
core C API. These bindings make it easier to work with GPIO lines in C++ by |
| 15 |
offering an **object-oriented** approach and **RAII** (Resource Acquisition |
| 16 |
Is Initialization) principles for managing resources. |
| 17 |
|
| 18 |
.. note:: |
| 19 |
C++17 compiler support is required to build the bindings. |
| 20 |
|
| 21 |
.. toctree:: |
| 22 |
:maxdepth: 1 |
| 23 |
:caption: Contents |
| 24 |
|
| 25 |
cpp_chip |
| 26 |
cpp_chip_info |
| 27 |
cpp_edge_event |
| 28 |
cpp_edge_event_buffer |
| 29 |
cpp_exceptions |
| 30 |
cpp_info_event |
| 31 |
cpp_line |
| 32 |
cpp_line_info |
| 33 |
cpp_line_config |
| 34 |
cpp_line_settings |
| 35 |
cpp_request_config |
| 36 |
cpp_line_request |
| 37 |
cpp_misc |