summaryrefslogtreecommitdiffstats
path: root/src/can/can-signals.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-08 21:45:07 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:40 +0100
commit2df0e9d0999a04bedf29c0ead1218ceea970c133 (patch)
treeb95b24a9dd1827f902bbd2b2969d584420e507bb /src/can/can-signals.cpp
parentccd244c10988cd59d6f0b35e1b83a5eebd7bfb01 (diff)
Fix: declaration and implementation of needed methods
under their respective class as they were standalone before that. Change-Id: I3ca6fe68bb40f883106ddbe07db8f2dc7d4f618b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can/can-signals.cpp')
-rw-r--r--src/can/can-signals.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/can/can-signals.cpp b/src/can/can-signals.cpp
index 18f5f2a..d369057 100644
--- a/src/can/can-signals.cpp
+++ b/src/can/can-signals.cpp
@@ -24,6 +24,16 @@
#include "obd2/obd2-signals.hpp"
#include "low-can-binding.hpp"
+can_message_definition_t& can_signal_t::get_message() const
+{
+ return message_;
+}
+
+std::string& can_signal_t::get_generic_name() const
+{
+ return generic_name_;
+}
+
/**
* @fn void find_can_signals(const openxc_DynamicField& key, std::vector<CanSignal*>& found_signals)
* @brief return signals name found searching through CAN_signals and OBD2 pid