|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
23 #include <boost/property_tree/ptree_fwd.hpp>
std::string direction_path(int pin_no) const
Compute the absolute path the "direction" file for pin_no.
std::string default_aliases_
Default aliases rule, as defined in configuration.
std::string cfg_edge_path_
Absolute path to the "edge" file.
std::map< int, std::string > pin_aliases_
Maps pin number to file identifier.
Internal configuration helper for sysfsgpio module.
std::string cfg_export_path_
Absolute path of the "export" sysfs file.
std::string value_path(int pin_no) const
Compute the absolute path the "value" file for pin_no.
This is the header file for a generated source file, GitSHA1.cpp.
SysFsGpioConfig(const boost::property_tree::ptree &cfg)
Construct the general config object from the configuration tree.
std::string edge_path(int pin_no) const
Compute the absolute path the "edge" file for pin_no.
std::string cfg_direction_path_
Absolute path to the "direction" file.
std::string cfg_value_path_
Absolute path of the "value file" sysfs file: use __PLACEHOLDER__ as a placeholder for the PIN identi...
std::string cfg_unexport_path_
Absolute path of the "unexport" sysfs file.
const std::string & export_path() const
Returns the absolute path to the "export" sysfs file.
const std::string & unexport_path() const
Returns the absolute path to the "unexport" sysfs file.