summaryrefslogtreecommitdiffstats
path: root/low-can-binding/can/can-decoder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'low-can-binding/can/can-decoder.hpp')
-rw-r--r--low-can-binding/can/can-decoder.hpp26
1 files changed, 9 insertions, 17 deletions
diff --git a/low-can-binding/can/can-decoder.hpp b/low-can-binding/can/can-decoder.hpp
index 7eaa4a72..7e7349db 100644
--- a/low-can-binding/can/can-decoder.hpp
+++ b/low-can-binding/can/can-decoder.hpp
@@ -24,26 +24,18 @@
class decoder_t
{
public:
- static float parseSignalBitfield(can_signal_t& signal, const can_message_t& message);
+ static float parse_signal_bitfield(can_signal_t& signal, const can_message_t& message);
- static openxc_DynamicField stateDecoder(can_signal_t& signal, const std::vector<std::shared_ptr<can_signal_t> >& signals,
- float value, bool* send);
- static openxc_DynamicField booleanDecoder(can_signal_t& signal, const std::vector<std::shared_ptr<can_signal_t> >& signals,
- float value, bool* send);
- static openxc_DynamicField ignoreDecoder(can_signal_t& signal, const std::vector<std::shared_ptr<can_signal_t> >& signals,
- float value, bool* send);
- static openxc_DynamicField noopDecoder(can_signal_t& signal, const std::vector<std::shared_ptr<can_signal_t> >& signals,
- float value, bool* send);
+ static openxc_DynamicField decode_state(can_signal_t& signal, float value, bool* send);
+ static openxc_DynamicField decode_boolean(can_signal_t& signal, float value, bool* send);
+ static openxc_DynamicField decode_ignore(can_signal_t& signal, float value, bool* send);
+ static openxc_DynamicField decode_noop(can_signal_t& signal, float value, bool* send);
- static openxc_DynamicField translateSignal(can_signal_t& signal, const can_message_t& message,
- const std::vector<std::shared_ptr<can_signal_t> >& signals, bool* send);
+ static openxc_DynamicField translate_signal(can_signal_t& signal, const can_message_t& messag, bool* send);
- static openxc_DynamicField decodeSignal(can_signal_t& signal, const can_message_t& message,
- const std::vector<std::shared_ptr<can_signal_t> >& signals, bool* send);
+ static openxc_DynamicField decode_signal(can_signal_t& signal, const can_message_t& message, bool* send);
- static openxc_DynamicField decodeSignal(can_signal_t& signal, float value,
- const std::vector<std::shared_ptr<can_signal_t> >& signals, bool* send);
+ static openxc_DynamicField decode_signal(can_signal_t& signal, float value, bool* send);
static float decode_obd2_response(const DiagnosticResponse* response, float parsed_payload);
-
-}; \ No newline at end of file
+};