summaryrefslogtreecommitdiffstats
path: root/src/can-decoder.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-21 17:16:59 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-22 12:15:12 +0100
commitcddc9c28e3e1a242e55f68c9971d0710ada30e9f (patch)
tree007eff68d56578400ed2ce39b9eec7cbfe7d6850 /src/can-decoder.hpp
parentc535c3bb2d73327772c1bb72c9fcca3f8a7f8204 (diff)
Fix: decoder_t class decodeSignal method signature
Change-Id: Id7ef4fe3b8d3f5b14fd447cf05865ba494862792 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-decoder.hpp')
-rw-r--r--src/can-decoder.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/can-decoder.hpp b/src/can-decoder.hpp
index 1b58ea3c..7f02d610 100644
--- a/src/can-decoder.hpp
+++ b/src/can-decoder.hpp
@@ -22,7 +22,6 @@
class decoder_t
{
private:
- openxc_DynamicField decoded_value;
public:
/* Public: Parse the signal's bitfield from the given data and return the raw
@@ -130,9 +129,8 @@ class decoder_t
* The decoder returns an openxc_DynamicField, which may contain a number,
* string or boolean. If 'send' is false, the return value is undefined.
*/
- openxc_DynamicField decodeSignal(const CanSignal& signal,
- const can_message_t& message, const CanSignal& signals,
- bool* send);
+ openxc_DynamicField decodeSignal(const CanSignal& signal, const can_message_t& message,
+ const std::vector<CanSignal>& signals, bool* send);
/* Public: Decode a transformed, human readable value from an raw CAN signal
* already parsed from a CAN message.
@@ -143,5 +141,5 @@ class decoder_t
* else.
*/
openxc_DynamicField decodeSignal(const CanSignal& signal, float value,
- const CanSignal& signals, bool* send);
+ const std::vector<CanSignal>& signals, bool* send);
}; \ No newline at end of file