summaryrefslogtreecommitdiffstats
path: root/low-can-binding/binding/application.hpp
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.hpp
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.hpp')
-rw-r--r--low-can-binding/binding/application.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/low-can-binding/binding/application.hpp b/low-can-binding/binding/application.hpp
index 92aca382..e017685b 100644
--- a/low-can-binding/binding/application.hpp
+++ b/low-can-binding/binding/application.hpp
@@ -47,7 +47,7 @@ class application_t
std::vector<std::shared_ptr<can_message_set_t> > can_message_set_; ///< Vector holding all message set from JSON signals description file
- std::map<std::string, std::shared_ptr<low_can_socket_t> > can_devices_; ///< Map containing all independant opened CAN sockets, key is the socket int value.
+ std::map<std::string, std::shared_ptr<low_can_subscription_t> > can_devices_; ///< Map containing all independant opened CAN sockets, key is the socket int value.
application_t(); ///< Private constructor with implementation generated by the AGL generator.
@@ -56,7 +56,7 @@ class application_t
can_bus_t& get_can_bus_manager();
- std::map<std::string, std::shared_ptr<low_can_socket_t> >& get_can_devices();
+ std::map<std::string, std::shared_ptr<low_can_subscription_t> >& get_can_devices();
const std::string get_diagnostic_bus() const;