summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/can/can-bus.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/low-can-binding/can/can-bus.hpp')
-rw-r--r--CAN-binder/low-can-binding/can/can-bus.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/CAN-binder/low-can-binding/can/can-bus.hpp b/CAN-binder/low-can-binding/can/can-bus.hpp
index 764218d8..2194fa22 100644
--- a/CAN-binder/low-can-binding/can/can-bus.hpp
+++ b/CAN-binder/low-can-binding/can/can-bus.hpp
@@ -27,6 +27,7 @@
#include "openxc.pb.h"
#include "can-message.hpp"
#include "can-bus-dev.hpp"
+#include "can-signals.hpp"
#include "../utils/config-parser.hpp"
#include "../diagnostic/active-diagnostic-request.hpp"
@@ -90,6 +91,8 @@ public:
openxc_VehicleMessage next_vehicle_message();
void push_new_vehicle_message(const openxc_VehicleMessage& v_msg);
+ int create_rx_filter(const can_signal_t& signal);
+
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);
};