![]() |
Leosac
0.8.0
Open Source Access Control
|
Internal configuration helper for libgpiod module. More...
#include <LibgpiodConfig.hpp>
Collaboration diagram for Leosac::Module::Libgpiod::LibgpiodConfig:Public Member Functions | |
| LibgpiodConfig (const boost::property_tree::ptree &cfg) | |
| Construct the general config object from the configuration tree. More... | |
| const std::string & | consumer () const |
| Returns the consumer name that will be temporary assigned to the GPIO. More... | |
Private Attributes | |
| std::string | consumer_ |
| The consumer name that will be temporary assigned to the GPIO. More... | |
Internal configuration helper for libgpiod module.
Definition at line 37 of file LibgpiodConfig.hpp.
| LibgpiodConfig::LibgpiodConfig | ( | const boost::property_tree::ptree & | cfg | ) |
Construct the general config object from the configuration tree.
Definition at line 28 of file LibgpiodConfig.cpp.
| const std::string & LibgpiodConfig::consumer | ( | ) | const |
Returns the consumer name that will be temporary assigned to the GPIO.
Definition at line 41 of file LibgpiodConfig.cpp.
|
private |
The consumer name that will be temporary assigned to the GPIO.
Definition at line 56 of file LibgpiodConfig.hpp.