Cleanup include and prepare to switch binding v2
[apps/agl-service-can-low-level.git] / CAN-binder / low-can-binding / can / can-signals.hpp
index 2d67f27..a56fc8c 100644 (file)
 #include "can-message.hpp"
 #include "../diagnostic/diagnostic-message.hpp"
 
-extern "C"
-{
-       #include <afb/afb-binding.h>
-       #include <afb/afb-event-itf.h>
-}
-
 #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<float, uint64_t> get_last_value_with_timestamp() const;
 
        void set_parent(can_message_definition_t* parent);
        void set_prefix(std::string val);