X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2Fcan%2Fcan-decoder.hpp;h=fd246f3c9d5f1bfc76f8e8071f414f0fb063e7c0;hb=refs%2Fchanges%2F72%2F23472%2F2;hp=78de8ee1b4465a68db4761426d4816ddf986b0fe;hpb=96232f8f7cf8b93f1a3ef3ed9a4816c575cefe87;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/can/can-decoder.hpp b/low-can-binding/can/can-decoder.hpp index 78de8ee1..fd246f3c 100644 --- a/low-can-binding/can/can-decoder.hpp +++ b/low-can-binding/can/can-decoder.hpp @@ -24,16 +24,21 @@ class decoder_t { public: + static int handle_sign(const signal_t& signal, std::vector& data_signal, uint8_t new_end_bit, const std::vector& can_data); static float parse_signal_bitfield(signal_t& signal, std::shared_ptr message); static openxc_DynamicField decode_state(signal_t& signal, std::shared_ptr message, bool* send); static openxc_DynamicField decode_boolean(signal_t& signal, std::shared_ptr message, bool* send); static openxc_DynamicField decode_ignore(signal_t& signal, std::shared_ptr message, bool* send); static openxc_DynamicField decode_noop(signal_t& signal, std::shared_ptr message, bool* send); + static openxc_DynamicField decode_bytes(signal_t& signal, std::shared_ptr message, bool* send); + static openxc_DynamicField decode_ascii(signal_t& signal, std::shared_ptr message, bool* send); + static openxc_DynamicField decode_date(signal_t& signal, std::shared_ptr message, bool* send); + static openxc_DynamicField decode_time(signal_t& signal, std::shared_ptr message, bool* send); static openxc_DynamicField translate_signal(signal_t& signal, std::shared_ptr message, bool* send); static openxc_DynamicField decode_signal(signal_t& signal, std::shared_ptr message, bool* send); static float decode_obd2_response(const DiagnosticResponse* response, float parsed_payload); -}; \ No newline at end of file +};