gpioApi.h
Go to the documentation of this file.
39 typedef boost::function<void(boost::system::error_code, std::map<std::string, dpyGpio::GpioInfoConf> gpioMap)> gpio_list_handler;
47 typedef boost::function<void(boost::system::error_code error_code, const std::string& id, dpyGpio::GpioStatus status)> gpio_status_handler_function;
102 void asyncSetGpioValue(dpyGpio::result_handler_function handler, const std::string& gpioid, bool value);
109 void asyncGetGpioStatus(dpyGpio::gpio_status_handler_function handler, const std::string& gpioid);
117 void asyncSetGpioConfiguration(dpyGpio::result_handler_function handler, const std::string& gpioid, dpyGpio::GpioInfoConf gpioConfiguration);
Deepsy GPIO namespace that includes the different enums, structs or method signatures that should be ...
Definition: gpioApi.h:12
boost::function< void(boost::system::error_code error_code)> result_handler_function
Prototype of the handler function for obtaining a result.
Definition: gpioApi.h:32
boost::function< void(const bool &available)> service_availability_handler
Prototype of the handler function used to monitor service availability.
Definition: gpioApi.h:25
Definition: iGpio.h:30
boost::function< void(boost::system::error_code error_code, const std::string &id, dpyGpio::GpioStatus status)> gpio_status_handler_function
Prototype of the handler function for getting gpio value.
Definition: gpioApi.h:47
boost::function< void(boost::system::error_code, std::map< std::string, dpyGpio::GpioInfoConf > gpioMap)> gpio_list_handler
Prototype of the handler function for getting gpios.
Definition: gpioApi.h:39