X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CAN-binder%2Flow-can-binding%2Fcan%2Fcan-signals.hpp;h=a56fc8cd03bdb1d6069f472d2f75924472b9874c;hb=5206b26e1a6811d142ffbaf12daaea0731345490;hp=2d67f27387c33e775c1f6ed919a4effbcda3e374;hpb=1f4eb8c5562bf5c0bc6ebd1b35977cd71d9b3a83;p=apps%2Fagl-service-can-low-level.git diff --git a/CAN-binder/low-can-binding/can/can-signals.hpp b/CAN-binder/low-can-binding/can/can-signals.hpp index 2d67f273..a56fc8cd 100644 --- a/CAN-binder/low-can-binding/can/can-signals.hpp +++ b/CAN-binder/low-can-binding/can/can-signals.hpp @@ -30,12 +30,6 @@ #include "can-message.hpp" #include "../diagnostic/diagnostic-message.hpp" -extern "C" -{ - #include - #include -} - #define MESSAGE_SET_ID 0 class can_signal_t; @@ -147,6 +141,7 @@ public: SignalEncoder& get_encoder(); bool get_received() const; float get_last_value() const; + std::pair get_last_value_with_timestamp() const; void set_parent(can_message_definition_t* parent); void set_prefix(std::string val);