From e190b7b3069d86fce25831c366bb0cd3fa615289 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 10 Dec 2018 18:08:47 +0100 Subject: Simpler handling of binding subscriptions Don't use a child class for subscription, only use one because there isn't other different subscriptions type to be implemented about now and if so then we could split again. Remove functions no longer useful and move afb events and afb subscriptions part to low-can-subscription Change-Id: Ie3e4255961ac557465098cdb48730098a950461a Signed-off-by: Romain Forlot --- low-can-binding/binding/application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'low-can-binding/binding/application.cpp') diff --git a/low-can-binding/binding/application.cpp b/low-can-binding/binding/application.cpp index 153821c7..a85b5184 100644 --- a/low-can-binding/binding/application.cpp +++ b/low-can-binding/binding/application.cpp @@ -20,7 +20,7 @@ #include "../utils/signals.hpp" #include "../utils/openxc-utils.hpp" -#include "low-can-socket.hpp" +#include "low-can-subscription.hpp" #define MICROSECONDS_IN_SECOND 1000000 #define ENGINE_VALUE_TIMEOUT 5 @@ -37,7 +37,7 @@ can_bus_t& application_t::get_can_bus_manager() return can_bus_manager_; } -std::map >& application_t::get_can_devices() +std::map >& application_t::get_can_devices() { return can_devices_; } @@ -136,4 +136,4 @@ bool application_t::isEngineOn() } return engine_on; -} \ No newline at end of file +} -- cgit 1.2.3-korg