aboutsummaryrefslogtreecommitdiffstats
path: root/src/can-bus.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-28 21:29:17 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-28 21:45:49 +0100
commita1a9eedd710c46d533167cf34831cfc867a9bc9d (patch)
treec1528efa118145f8fd83d6c702e6ba5c9c180204 /src/can-bus.cpp
parentca998f6733e3de11886ac6c3ee6525dbaaf3b525 (diff)
Implement a new method returning the can device
map. Change-Id: Ie44bb825269034f9f071bd286c7830a77ba5c479 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-bus.cpp')
-rw-r--r--src/can-bus.cpp5
1 files changed, 5 insertions, 0 deletions
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<std::string, std::shared_ptr<can_bus_dev_t>> can_bus_t::get_can_devices();
+{
+ return can_devices_m_;
+}
+
/********************************************************************************
*
* can_bus_dev_t method implementation