summaryrefslogtreecommitdiffstats
path: root/src/configuration.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-13 17:46:50 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:15:55 +0100
commita0e0cb5ac95e779cd2746d8c1f0740e141bbcc41 (patch)
tree8ee9cb0cdd5344321da8bc6b948243ae49a2e33b /src/configuration.hpp
parent7abe7ef5336d88736b20b015ae219731d5f42365 (diff)
Adding/Fix classes constructors to make them correspond
to the ones generated. Change-Id: I6b0b778f59ac52fe66e36a327f60ae58550ac271 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/configuration.hpp')
-rw-r--r--src/configuration.hpp7
1 files changed, 6 insertions, 1 deletions
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<std::string> signals_prefix_;
std::vector<can_message_set_t> can_message_set_;
+ std::vector<std::vector<can_message_definition_t>> can_message_definition_;
std::vector<std::vector<can_signal_t>> can_signals_;
std::vector<std::vector<obd2_signal_t>> obd2_signals_;
- std::vector<std::vector<can_message_definition_t>> 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<std::shared_ptr<can_bus_dev_t>>& 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<obd2_signal_t> get_predefined_obd2();