powermanagerClient.h
Go to the documentation of this file.
24 void getPowerEvent_S(dpyPowermanager::event_handler_function handler, dpyPowermanager::ConfigType configuration);
34 void asyncSetTimers(dpyPowermanager::answer_pm_handler_function handler, std::uint32_t standbyTimer, std::uint32_t haltTimer);
37 void asyncSetStateWakeupTimers(dpyPowermanager::answer_pm_handler_function handler, bool standbyEnabled, bool haltEnabled);
38 void asyncSetTransitionIntervals(dpyPowermanager::answer_pm_handler_function handler, std::uint32_t cancelTime, std::uint32_t guardTime);
39 void asyncGetTransitionIntervals(dpyPowermanager::transition_intervals_pm_handler_function handler);
40 void asyncSetWakeupTime(dpyPowermanager::answer_pm_handler_function handler, struct tm &wakeupTime, bool localTime);
42 void asyncSetIgnitionOffTimeout(dpyPowermanager::answer_pm_handler_function handler, int minutes);
43 void asyncGetIgnitionOffTimeout(dpyPowermanager::ignition_off_timeout_pm_handler_function handler);
ConfigType
An enum definition which represents the different types of messages that it is wanted to be subscribe...
Definition: iPower.h:72
boost::function< void(boost::system::error_code &ec, dpyPowermanager::TransitionIntervals)> transition_intervals_pm_handler_function
Transition Intervals handler function.
Definition: iPower.h:148
This class allows to interact with the Power Manager Service.
Definition: powermanagerClient.h:15
boost::function< void(boost::system::error_code &ec)> answer_pm_handler_function
Answer handler function.
Definition: iPower.h:144
boost::function< void(boost::system::error_code &ec, dpyPowermanager::PowerEvent event)> event_handler_function
Handlers to the functions the client has to implement.
Definition: iPower.h:142
boost::function< void(boost::system::error_code &ec, dpyPowermanager::Timers)> timers_pm_handler_function
Timers handler function.
Definition: iPower.h:145
boost::function< void(boost::system::error_code &ec, bool standbyEnabled, bool haltEnabled)> timers_state_pm_handler_function
Timers State handler function.
Definition: iPower.h:147
boost::function< void(boost::system::error_code &ec, bool rightConfiguration)> power_rails_handler_function
Power Rails handler function.
Definition: iPower.h:146
boost::function< void(boost::system::error_code &ec, struct tm dateTime)> wakeup_time_pm_handler_function
Wakeup Time handler function.
Definition: iPower.h:149
boost::function< void(boost::system::error_code ec, bool active)> debug_pm_handler_function
Debug handler to check if the debug is active or not.
Definition: iPower.h:143
boost::function< void(boost::system::error_code &ec, int minutes)> ignition_off_timeout_pm_handler_function
Ignition Off Timeout handler function.
Definition: iPower.h:150