diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-28 21:29:17 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-28 21:45:49 +0100 |
commit | a1a9eedd710c46d533167cf34831cfc867a9bc9d (patch) | |
tree | c1528efa118145f8fd83d6c702e6ba5c9c180204 /src/can-bus.cpp | |
parent | ca998f6733e3de11886ac6c3ee6525dbaaf3b525 (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.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/can-bus.cpp b/src/can-bus.cpp index e15a304..355997f 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 |