summaryrefslogtreecommitdiffstats
path: root/low-can-binding/binding/application.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-12-10 18:08:47 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-14 08:59:50 +0000
commite190b7b3069d86fce25831c366bb0cd3fa615289 (patch)
tree9ac69a0dba433449c5fe22eb80090edaf790ffa2 /low-can-binding/binding/application.cpp
parent9cef9811c615df506807f405eb2de3c1a9268fba (diff)
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 <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/binding/application.cpp')
-rw-r--r--low-can-binding/binding/application.cpp6
1 files changed, 3 insertions, 3 deletions
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<std::string, std::shared_ptr<low_can_socket_t> >& application_t::get_can_devices()
+std::map<std::string, std::shared_ptr<low_can_subscription_t> >& 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
+}