ecuApi.h
Go to the documentation of this file.
33 typedef boost::function<void(boost::system::error_code& ec, std::vector<dpyEcu::Parameter> params)> parameters_handler_function;
40 typedef boost::function<void(boost::system::error_code& ec, std::vector<std::string> EPIDs)> epids_handler_function;
47 typedef boost::function<void(boost::system::error_code& ec, uint16_t id)> confirmation_alarm_handler_function;
53 typedef boost::function<void(boost::system::error_code& ec, std::vector<dpyEcu::Alarm> alarms)> alarms_handler_function;
60 typedef boost::function<void(boost::system::error_code& ec, dpyEcu::Protocol protocols)> protocols_handler_function;
67 typedef boost::function<void(boost::system::error_code& ec, std::pair<dpyEcu::Alarm, dpyEcu::Parameter> alarm_event)> alarm_event_handler_function;
74 typedef boost::function<void(boost::system::error_code& ec, dpyEcu::CANBusFrame frame)> can_bus_message_handler_function;
98 void asyncGetParameter(dpyEcu::parameters_handler_function handler, std::vector<std::string> EPIDs);
105 void asyncAddCustomCanFilter(dpyEcu::result_handler_function handler, uint32_t can_id, uint32_t can_mask);
114 void asyncSetCanBusConfiguration(dpyEcu::result_handler_function handler, dpyEcu::CANBusConfiguration conf);
boost::function< void(boost::system::error_code &ec, dpyEcu::Protocol protocols)> protocols_handler_function
Handler for protocols function callback. This type of function is called when the get protocols callb...
Definition: ecuApi.h:60
boost::function< void(boost::system::error_code &ec, dpyEcu::CANBusFrame frame)> can_bus_message_handler_function
Handler for CAN bus message function callback. This type of function is called when a CAN bus frame i...
Definition: ecuApi.h:74
boost::function< void(boost::system::error_code &ec, std::pair< dpyEcu::Alarm, dpyEcu::Parameter > alarm_event)> alarm_event_handler_function
Handler for alarm event function callback. This type of function is called when the ecuAlarmEvent_S c...
Definition: ecuApi.h:67
Deepsy ECU namespace that includes the different enums, structs or method signatures that should be u...
Definition: ecuApi.h:14
boost::function< void(boost::system::error_code &ec, uint16_t id)> confirmation_alarm_handler_function
Handler for status function callback. This type of function is called when the status callback is don...
Definition: ecuApi.h:47
boost::function< void(boost::system::error_code &ec, std::vector< dpyEcu::Parameter > params)> parameters_handler_function
Handler for vehicle information. This type of function is called when the status callback is done...
Definition: ecuApi.h:33
boost::function< void(boost::system::error_code &ec, std::vector< std::string > EPIDs)> epids_handler_function
Handler for vehicle available parameters. This type of function is called when the status callback is...
Definition: ecuApi.h:40
boost::function< void(boost::system::error_code &ec, std::vector< dpyEcu::Alarm > alarms)> alarms_handler_function
Handler for status function callback. This type of function is called when the status callback is don...
Definition: ecuApi.h:53
boost::function< void(const bool &available)> service_availability_handler
Prototype of the handler function used to monitor service availability.
Definition: ecuApi.h:26
boost::function< void(boost::system::error_code error_code)> result_handler_function
Prototype of the handler function for obtaining a result.
Definition: ecuApi.h:20
This class is responsible of the client logic. His main target is to subscribe to the server informat...
Definition: ecuClient.h:15