GpioOutputPin Class Reference
|
Space-ng SDK
|
sol3::gpio::GpioOutputPin Class Reference
RAII wrapper for GPIO output pins. More...
#include <sol3/gpio/gpio.h>
Inheritance diagram for sol3::gpio::GpioOutputPin:
Public Member Functions | |
| ~GpioOutputPin ()=default | |
| void | write (GpioPinValue value) |
| Write pin value. More... | |
| GpioOutputPin (GpioOutputPin &&other) noexcept=default | |
| GpioOutputPin & | operator= (GpioOutputPin &&other) noexcept=default |
| GpioOutputPin (GpioOutputPin const &other) noexcept=delete | |
| GpioOutputPin & | operator= (GpioOutputPin const &other) noexcept=delete |
Public Member Functions inherited from sol3::gpio::impl::GpioPinBase | |
| GpioPinBase (GpioPinBase &&other) noexcept | |
| GpioPinBase & | operator= (GpioPinBase &&other) noexcept |
| GpioPinBase (GpioPinBase const &)=delete | |
| GpioPinBase & | operator= (GpioPinBase const &)=delete |
Friends | |
| class | GpioPinManager |
Additional Inherited Members | |
Protected Member Functions inherited from sol3::gpio::impl::GpioPinBase | |
| ~GpioPinBase () | |
| GpioPinBase (GpioPinId pin, GpioPinManager *manager, int value_fd) | |
| Protected constructor - only derived classes can create. More... | |
Protected Attributes inherited from sol3::gpio::impl::GpioPinBase | |
| GpioPinId | pin_ |
| GpioPinManager * | manager_ |
| int | value_fd_ |
Detailed Description
RAII wrapper for GPIO output pins.
Constructor & Destructor Documentation
◆ ~GpioOutputPin()
|
default |
◆ GpioOutputPin() [1/2]
|
defaultnoexcept |
◆ GpioOutputPin() [2/2]
|
deletenoexcept |
Member Function Documentation
◆ operator=() [1/2]
|
defaultnoexcept |
◆ operator=() [2/2]
|
deletenoexcept |
◆ write()
| void sol3::gpio::GpioOutputPin::write | ( | GpioPinValue | value | ) |
Write pin value.
Friends And Related Function Documentation
◆ GpioPinManager
|
friend |
The documentation for this class was generated from the following file:
- /workspaces/astro/sol3-sdk/cpp/sol3/gpio/gpio.h
Generated by
Public Member Functions inherited from