From a0e0cb5ac95e779cd2746d8c1f0740e141bbcc41 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 13 Mar 2017 17:46:50 +0100 Subject: Adding/Fix classes constructors to make them correspond to the ones generated. Change-Id: I6b0b778f59ac52fe66e36a327f60ae58550ac271 Signed-off-by: Romain Forlot --- src/configuration.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/configuration.hpp') diff --git a/src/configuration.hpp b/src/configuration.hpp index 82bcbc7f..214b3e78 100644 --- a/src/configuration.hpp +++ b/src/configuration.hpp @@ -47,9 +47,9 @@ class configuration_t std::vector signals_prefix_; std::vector can_message_set_; + std::vector> can_message_definition_; std::vector> can_signals_; std::vector> obd2_signals_; - std::vector> can_message_definition_; /// Private constructor with implementation generated by the AGL generator. configuration_t(); @@ -61,6 +61,8 @@ class configuration_t can_bus_t& get_can_bus_manager(); + const std::vector>& get_can_bus_devices(); + diagnostic_manager_t& get_diagnostic_manager() ; uint8_t get_active_message_set() const; @@ -108,3 +110,6 @@ class configuration_t bool isBusActive(can_bus_dev_t* bus); */ }; + +// TEMP Function to access OBD2_PIDS vector +std::vector get_predefined_obd2(); -- cgit 1.2.3-korg