aboutsummaryrefslogtreecommitdiffstats
path: root/src/configuration.hpp
diff options
context:
space:
mode:
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();