mcuApiPrivate.h
Go to the documentation of this file.
32 typedef boost::function<void(boost::system::error_code error_code, dpyMcu::SerialPortProtocolConfig &)> serialport_handler_function;
39 typedef boost::function<void(boost::system::error_code error_code, dpyMcu::CANBusFrame frame)> get_can_bus_message_handler_function;
107 void asyncSetPowerStateConfig(dpyMcu::power_states_handler_function handler, dpyMcu::PowerStates state, std::uint32_t flags);
115 void asyncSetTimersConfig(dpyMcu::timers_handler_function handler, std::uint32_t standby_min, std::uint32_t halt_min);
122 void asyncSetRtcDateConfig(dpyMcu::rtc_date_handler_function handler, dpyMcu::DateConfig configDate);
152 void asyncSetGpoDefValue(dpyMcu::gpio_handler_function handler, std::uint32_t gpo_number, bool gpo_value);
175 void asyncSetSerialPortProtocol(dpyMcu::serialport_handler_function handler, const std::string &portid, dpyMcu::SerialPortProtocol protocol);
200 void asyncSetCanBusFilters(dpyMcu::result_handler_function handler, std::list<dpyMcu::CANBusFilter> &filter_list);
226 void asyncSetCanBusConfiguration(dpyMcu::result_handler_function handler, dpyMcu::CANBusConfiguration conf);
242 virtual void asyncSetPowerStateConfig(dpyMcu::power_states_handler_function handler, dpyMcu::PowerStates state, std::uint32_t flags);
243 virtual void asyncSetTimersConfig(dpyMcu::timers_handler_function handler, std::uint32_t standby_min, std::uint32_t halt_min);
244 virtual void asyncSetRtcDateConfig(dpyMcu::rtc_date_handler_function handler, dpyMcu::DateConfig configDate);
247 virtual void asyncSetGUIDValues(dpyMcu::GUIDConfigList guids, dpyMcu::guid_handler_function handler);
248 virtual void asyncSetGpoDefValue(dpyMcu::gpio_handler_function handler, std::uint32_t gpo_number, bool gpo_value);
250 virtual void asyncGetGpoDefValue(dpyMcu::gpio_handler_function handler, std::uint32_t gpo_number);
251 virtual void asyncSetSerialPortProtocol(dpyMcu::serialport_handler_function handler, const std::string &portid, dpyMcu::SerialPortProtocol protocol);
255 virtual void asyncSetCanBusFilters(dpyMcu::result_handler_function handler, std::list<dpyMcu::CANBusFilter> &filter_list);
257 virtual boost::system::error_code setCanBusFilters(std::list<dpyMcu::CANBusFilter> &filter_list);
259 virtual void asyncSetCanBusConfiguration(dpyMcu::result_handler_function handler, dpyMcu::CANBusConfiguration conf);
boost::function< void(boost::system::error_code error_code)> result_handler_function
Prototype of the handler function for obtaining the result of the operations status.
Definition: mcuApi.h:342
boost::function< void(boost::system::error_code error_code, dpyMcu::CANBusFrame frame)> get_can_bus_message_handler_function
Prototype of the handler function for getting CAN Bus Messages.
Definition: mcuApiPrivate.h:39
const std::uint32_t IGNITION_EXIT
Power states transition set to IGNITION ON.
Definition: mcuApiPrivate.h:17
boost::function< void(boost::system::error_code error_code, dpyMcu::TimersConfig &)> timers_handler_function
Prototype of the handler function for obtaining the Timers Configuration.
Definition: mcuApi.h:244
DateConfig struct which contains the response received from the service.
Definition: mcuApi.h:203
boost::function< void(boost::system::error_code error_code, dpyMcu::GpioConfig &)> gpio_handler_function
Prototype of the handler function for obtaining the GPIO Configuration.
Definition: mcuApi.h:293
Deepsy Mcu namespace that includes the different enums, structs or method signatures that should be u...
Definition: mcuApi.h:15
boost::function< void(boost::system::error_code error_code, bool enabled)> get_power_button_state_handler_function
Prototype of the handler function for obtaining the result of power button.
Definition: mcuApi.h:336
boost::function< void(boost::system::error_code error_code, dpyMcu::SerialPortProtocolConfig &)> serialport_handler_function
Prototype of the handler function for setting the Serial Port Protocol.
Definition: mcuApiPrivate.h:32
boost::function< void(boost::system::error_code error_code, dpyMcu::GUIDConfigList &)> guid_handler_function
Prototype of the handler function for obtaining the GUIDs.
Definition: mcuApi.h:256
boost::function< void(boost::system::error_code error_code)> set_power_button_state_handler_function
Prototype of the handler function for obtaining the result of power button.
Definition: mcuApi.h:329
Power states flags that may be used.
boost::function< void(boost::system::error_code error_code, dpyMcu::DateConfig &)> rtc_date_handler_function
Prototype of the handler function for obtaining the RTC Date Configuration.
Definition: mcuApi.h:287
boost::function< void(boost::system::error_code error_code, dpyMcu::PowerStateConfig &)> power_states_handler_function
Prototype of the handler function for obtaining the Power State Configuration.
Definition: mcuApi.h:238
GUID list struct which contains the response received from the service.
Definition: mcuApi.h:170
const std::uint32_t NONE_EXIT
Power states transition set to NONE.
Definition: mcuApiPrivate.h:16
boost::function< void(boost::system::error_code error_code)> test_misc_handler_function
Prototype of the handler function for obtaining the current MISC status.
Definition: mcuApi.h:323
std::string port_id
Port Identifier.
Definition: mcuApiPrivate.h:23
SerialPortProtocol protocol
protocol to configure (RS232,RS485)
Definition: mcuApiPrivate.h:24
const std::uint32_t TIMERS_EXIT
Power states transition set to TIMERS Values.
Definition: mcuApiPrivate.h:18
Serial Port protocol configuration structure.
Definition: mcuApiPrivate.h:21