diff options
Diffstat (limited to 'CAN-binder')
-rw-r--r-- | CAN-binder/low-can-binding/binding/low-can-cb.cpp | 5 | ||||
-rw-r--r-- | CAN-binder/low-can-binding/binding/low-can-cb.hpp | 1 |
2 files changed, 6 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) 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 ad3f74fe..3975c679 100644 --- a/CAN-binder/low-can-binding/binding/low-can-cb.hpp +++ b/CAN-binder/low-can-binding/binding/low-can-cb.hpp @@ -60,6 +60,7 @@ public: int get_index() const; struct afb_event& get_event(); const std::shared_ptr<can_signal_t> get_can_signal() const; + const std::shared_ptr<diagnostic_message_t> get_diagnostic_message() const; const std::string get_name() const; float get_frequency() const; float get_min() const; |