summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/binding/low-can-cb.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-31 18:32:49 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-01 18:38:09 +0200
commit96d088626ce3eaad841ea330ef44883c764192e3 (patch)
treeb9f43e89937fbd274554c4584f32fd04ce4fe84f /CAN-binder/low-can-binding/binding/low-can-cb.hpp
parentc3460480caf1cc3c778e70f28a562bc42dce5d41 (diff)
Fix diagnostic message subscription.
Change-Id: I490ee639e5d524a142e2fbbd928725b7268178aa Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/binding/low-can-cb.hpp')
-rw-r--r--CAN-binder/low-can-binding/binding/low-can-cb.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/CAN-binder/low-can-binding/binding/low-can-cb.hpp b/CAN-binder/low-can-binding/binding/low-can-cb.hpp
index 6dc2221d..e4e7ce9e 100644
--- a/CAN-binder/low-can-binding/binding/low-can-cb.hpp
+++ b/CAN-binder/low-can-binding/binding/low-can-cb.hpp
@@ -20,6 +20,7 @@
#include <utility>
#include "../can/can-signals.hpp"
+#include "../diagnostic/diagnostic-message.hpp"
#include "../utils/socketcan-bcm.hpp"
struct event_filter_t
@@ -37,6 +38,7 @@ private:
/// Signal part
std::shared_ptr<can_signal_t> can_signal_;
+ std::shared_ptr<diagnostic_message_t> diagnostic_message_;
/// Filtering part
struct event_filter_t event_filter_;
@@ -45,6 +47,7 @@ private:
public:
low_can_subscription_t();
low_can_subscription_t(struct event_filter_t event_filter);
+ low_can_subscription_t(struct event_filter_t event_filter, std::shared_ptr<diagnostic_message_t> sig_name);
low_can_subscription_t(const low_can_subscription_t& s) = delete;
low_can_subscription_t(low_can_subscription_t&& s);