From 15250b2e51e8383a0df4b6e5a870c07e914d406d Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 17 Feb 2017 17:17:24 +0000 Subject: Fix: timer.* issues Change-Id: I1c3721403198b3c5525a811bd3c7cbf6b8e78e5b Signed-off-by: Romain Forlot --- src/can-signals.hpp | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'src/can-signals.hpp') diff --git a/src/can-signals.hpp b/src/can-signals.hpp index 91a6932b..27205137 100644 --- a/src/can-signals.hpp +++ b/src/can-signals.hpp @@ -69,16 +69,14 @@ int getMessageCount(); * */ CanBus* getCanBuses(); -/* Public: Decode CAN signals from raw CAN messages, translate from engineering - * * units to something more human readable, and send the resulting value over USB - * * as an OpenXC-style JSON message. - * * - * * This is the main workhorse function of the VI. Every time a new - * * CAN message is received that matches one of the signals in the list returend - * * by getSignals(), this function is called with the message ID and 64-bit data - * * field. - * * - * * bus - The CAN bus this message was received on. - * * message - The received CAN message. - * */ -void decodeCanMessage(openxc::pipeline::Pipeline* pipeline, CanBus* bus, CanMessage* message); + +/** + * @brief Find one or many signals based on its name or id + * passed through openxc_DynamicField. + * + * params[openxc_DynamicField&] - a const reference with the key to search into signal. + * Key is either a signal name or its CAN arbitration id. + * + * return[std::vector] return found CanSignal array. + */ +std::vector find_can_signals(const openxc_DynamicField &key) \ No newline at end of file -- cgit 1.2.3-korg