summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/binding/low-can-cb.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-02 02:02:55 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-02 02:02:55 +0200
commit1cbfa7de22eb4610980f0f2b38b2d1ae8ffad9f2 (patch)
treed82780cc20782c80244f81a6a085edc58e1125be /CAN-binder/low-can-binding/binding/low-can-cb.cpp
parent15dc4de14234c4679e178c0360b20b12b4ff6424 (diff)
Adding accessor to diagnostic msg shared ptr.
Change-Id: I9d32239b3ebd762ab3a337fc734d504ee8dc8c5f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/binding/low-can-cb.cpp')
-rw-r--r--CAN-binder/low-can-binding/binding/low-can-cb.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/CAN-binder/low-can-binding/binding/low-can-cb.cpp b/CAN-binder/low-can-binding/binding/low-can-cb.cpp
index edda2097..917fb539 100644
--- a/CAN-binder/low-can-binding/binding/low-can-cb.cpp
+++ b/CAN-binder/low-can-binding/binding/low-can-cb.cpp
@@ -97,6 +97,11 @@ const std::shared_ptr<can_signal_t> low_can_subscription_t::get_can_signal() con
return can_signal_;
}
+const std::shared_ptr<diagnostic_message_t> low_can_subscription_t::get_diagnostic_message() const
+{
+ return diagnostic_message_;
+}
+
const std::string low_can_subscription_t::get_name() const
{
if (can_signal_ != nullptr)