From a1a9eedd710c46d533167cf34831cfc867a9bc9d Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 28 Feb 2017 21:29:17 +0100 Subject: Implement a new method returning the can device map. Change-Id: Ie44bb825269034f9f071bd286c7830a77ba5c479 Signed-off-by: Romain Forlot --- src/can-bus.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/can-bus.cpp') diff --git a/src/can-bus.cpp b/src/can-bus.cpp index e15a3043..355997fc 100644 --- a/src/can-bus.cpp +++ b/src/can-bus.cpp @@ -279,6 +279,11 @@ void can_bus_t::push_new_vehicle_message(const openxc_VehicleMessage& v_msg) has_vehicle_message_ = true; } +std::map> can_bus_t::get_can_devices(); +{ + return can_devices_m_; +} + /******************************************************************************** * * can_bus_dev_t method implementation -- cgit 1.2.3-korg