diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-16 13:14:02 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-16 18:17:24 +0100 |
commit | d952c0f8dd36acf9a072603237975b7ff2e915de (patch) | |
tree | f283cc016be4a25830607b0fafab74a7cf541d38 /src/diagnostic/diagnostic-manager.hpp | |
parent | e5a97dac176ab84b5903b41113921e42335b1def (diff) |
Adding missing doxygen comments.
Made some cleaning about unused things or obsolete.
Review existing comments, adding missing comments.
Reformat some long long constructor.
Change-Id: Ibae247d1295a7a85b49d0ecee473022755d42b8b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/diagnostic/diagnostic-manager.hpp')
-rw-r--r-- | src/diagnostic/diagnostic-manager.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/diagnostic/diagnostic-manager.hpp b/src/diagnostic/diagnostic-manager.hpp index 60b8dec..01aa5cf 100644 --- a/src/diagnostic/diagnostic-manager.hpp +++ b/src/diagnostic/diagnostic-manager.hpp @@ -29,7 +29,7 @@ #include "../low-can-binding.hpp" -/* Private: Each CAN bus needs its own set of shim functions, so this should +/* Each CAN bus needs its own set of shim functions, so this should * match the maximum CAN controller count. */ #define MAX_SHIM_COUNT can_bus_t.get_can_devices().size() @@ -38,10 +38,10 @@ class active_diagnostic_request_t; /** - * @brief The core structure for running the diagnostics module on the VI. + * @brief The core structure for running the diagnostics module by the binding. * * @desc This stores details about the active requests and shims required to connect - * the diagnostics library to the VI's CAN peripheral. + * the diagnostics library to the CAN device. */ class diagnostic_manager_t { protected: @@ -75,8 +75,6 @@ public: void cleanup_active_requests(bool force); active_diagnostic_request_t* find_recurring_request(const DiagnosticRequest* request); - bool validate_optional_request_attributes(float frequencyHz); - void checkSupportedPids(const active_diagnostic_request_t& request, const DiagnosticResponse& response, float parsedPayload); @@ -84,6 +82,7 @@ public: bool add_request(DiagnosticRequest* request, const std::string name, bool waitForMultipleResponses, const DiagnosticResponseDecoder decoder, const DiagnosticResponseCallback callback); + bool validate_optional_request_attributes(float frequencyHz); bool add_recurring_request(DiagnosticRequest* request, const char* name, bool waitForMultipleResponses, const DiagnosticResponseDecoder decoder, const DiagnosticResponseCallback callback, float frequencyHz); |