X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fconfiguration.hpp;h=017b148d267ea17f17259dd2eb7985ae55b6c6fd;hb=46d396e04947a76756739576a29c8369f8cd0c50;hp=be188b929deeff9082749842d9a2e9d289196799;hpb=20336cf43a6b312cd03f76dbe68333db18122bd6;p=apps%2Fagl-service-can-low-level.git diff --git a/src/configuration.hpp b/src/configuration.hpp index be188b92..017b148d 100644 --- a/src/configuration.hpp +++ b/src/configuration.hpp @@ -29,17 +29,17 @@ #include "low-can-binding.hpp" -/** - * @brief Class representing a configuration attached to the binding. - * - * @desc It regroups all needed objects instance from other class - * that will be used along the binding life. It gets a global vision - * on which signals are implemented for that binding. - * Here, it is only the definition of the class with predefined accessors - * methods used in the binding. - * - * It will be the reference point to needed objects. - */ +/// +/// @brief Class representing a configuration attached to the binding. +/// +/// It regroups all needed objects instance from other class +/// that will be used along the binding life. It gets a global vision +/// on which signals are implemented for that binding. +/// Here, it is only the definition of the class with predefined accessors +/// methods used in the binding. +/// +/// It will be the reference point to needed objects. +/// class configuration_t { private: @@ -88,6 +88,9 @@ class configuration_t void set_active_message_set(uint8_t id); void find_diagnostic_messages(const openxc_DynamicField &key, std::vector& found_signals); + diagnostic_message_t* get_diagnostic_message(std::string message_name) const; + DiagnosticRequest* get_request_from_diagnostic_message(diagnostic_message_t* diag_msg) const; + DiagnosticRequest* get_request_from_diagnostic_message(std::string message_name) const; void find_can_signals(const openxc_DynamicField &key, std::vector& found_signals);