aboutsummaryrefslogtreecommitdiffstats
path: root/low-can-binding/binding/application.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-12 17:40:36 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-07-21 12:02:10 +0200
commit38f9b3de40b1d1d8e9ed5db0fee40bdaa763d577 (patch)
tree65a4357036ae32acefb725d1217c89aea3502c53 /low-can-binding/binding/application.hpp
parentbe9884ab7d3c138e0adae6abd5a3a0dc4350a9fd (diff)
Implements new verbs to write on CAN bus
This will open a new BCM socket not dedicated to a subscription use to that mean. Change-Id: Idf353015f731e32d6eb7c7856bd73167c66e790f 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, 4 insertions, 0 deletions
diff --git a/low-can-binding/binding/application.hpp b/low-can-binding/binding/application.hpp
index 5fa64782..fea61a83 100644
--- a/low-can-binding/binding/application.hpp
+++ b/low-can-binding/binding/application.hpp
@@ -49,6 +49,8 @@ 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.
+
application_t(); ///< Private constructor with implementation generated by the AGL generator.
public:
@@ -56,6 +58,8 @@ class application_t
can_bus_t& get_can_bus_manager();
+ std::map<std::string, std::shared_ptr<low_can_socket_t> >& get_can_devices();
+
const std::string get_diagnostic_bus() const;
diagnostic_manager_t& get_diagnostic_manager() ;