Remove unused and useless members.
[apps/agl-service-can-low-level.git] / CAN-binder / low-can-binding / can / can-message.cpp
index 3575348..3fe2a5c 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <cstring>
 
-#include "../low-can-binding.hpp"
+#include "../binding/low-can-hat.hpp"
 
 ///
 /// @brief Class constructor
@@ -99,6 +99,16 @@ const uint8_t* can_message_t::get_data() const
        return data_.data();
 }
 
+///
+/// @brief Retrieve data_ member whole vector
+///
+/// @return the vector as is
+///
+const std::vector<uint8_t> can_message_t::get_data_vector() const
+{
+       return data_;
+}
+
 ///
 /// @brief Retrieve length_ member value.
 ///