diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-16 15:16:22 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-19 11:36:43 +0200 |
commit | 1a8c681528f9f1ff45d111b0c8cdfed7a697bae6 (patch) | |
tree | ced7fc239a8acbbcf72dd4df33b037585669ca5f /CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.hpp | |
parent | b7636ce2e39aa2e3ac2d75fe9848a591a4ad9758 (diff) |
Cleaning unused code diagnostic parts.
Change-Id: I5df50557132ebe593818a7aa4644b8a0161c51a5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.hpp')
-rw-r--r-- | CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.hpp b/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.hpp index e9e660d..c295bed 100644 --- a/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.hpp +++ b/CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.hpp @@ -80,7 +80,6 @@ private: bool wait_for_multiple_responses_; ///< wait_for_multiple_responses_ - False by default, when any response is received for a request ///< it will be removed from the active list. If true, the request will remain active until the timeout ///< clock expires, to allow it to receive multiple response (e.g. to a functional broadcast request). - bool in_flight_; ///< in_flight_ - True if the request has been sent and we are waiting for a response. frequency_clock_t frequency_clock_; ///< frequency_clock_ - A frequency_clock_t object to control the send rate for a ///< recurring request. If the request is not reecurring, this attribute is not used. frequency_clock_t timeout_clock_; ///< timeout_clock_ - A frequency_clock_t object to monitor how long it's been since @@ -105,19 +104,13 @@ public: DiagnosticResponseDecoder& get_decoder(); DiagnosticResponseCallback& get_callback(); bool get_recurring() const; - bool get_in_flight() const; frequency_clock_t& get_frequency_clock(); frequency_clock_t& get_timeout_clock(); utils::socketcan_bcm_t& get_socket(); void set_handle(DiagnosticShims& shims, DiagnosticRequest* request); - void set_in_flight(bool val); static bool is_diagnostic_signal(const std::string& name); - bool should_send(); - - bool timed_out(); bool response_received() const; - bool request_completed(); }; |