diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-16 15:12:45 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-19 11:36:43 +0200 |
commit | c4f11994a1540576563819508d4148a0500db4b9 (patch) | |
tree | 868ffaecebd397fea46ef2ce9b8ebf2852fa8cd3 /CAN-binder/low-can-binding/can/can-bus.hpp | |
parent | d92a551c98751ef832453ab3b5286634a5278a33 (diff) |
Remove can-bus-dev following RAW->BCM sockets migration
No needs to get RAW socket for now, so can_bus_dev_t class is useless and
now removed from project.
Change-Id: I37b3e187ef28ba393beae7a99da4f422f74a298e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/can/can-bus.hpp')
-rw-r--r-- | CAN-binder/low-can-binding/can/can-bus.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/CAN-binder/low-can-binding/can/can-bus.hpp b/CAN-binder/low-can-binding/can/can-bus.hpp index cb9b3deb..759a70f3 100644 --- a/CAN-binder/low-can-binding/can/can-bus.hpp +++ b/CAN-binder/low-can-binding/can/can-bus.hpp @@ -26,7 +26,6 @@ #include "openxc.pb.h" #include "can-message.hpp" -#include "can-bus-dev.hpp" #include "can-signals.hpp" #include "../utils/config-parser.hpp" #include "../diagnostic/diagnostic-manager.hpp" @@ -76,8 +75,6 @@ public: can_bus_t(utils::config_parser_t conf_file); can_bus_t(can_bus_t&&); - int init_can_dev(); - std::vector<std::string> read_conf(); void start_threads(); void stop_threads(); @@ -89,7 +86,4 @@ public: openxc_VehicleMessage next_vehicle_message(); void push_new_vehicle_message(const openxc_VehicleMessage& v_msg); - - const std::map<std::string, std::shared_ptr<can_bus_dev_t>>& get_can_devices() const; - static std::shared_ptr<can_bus_dev_t> get_can_device(std::string bus); }; |