diff --git a/src/util/DataStore.cpp b/src/util/DataStore.cpp new file mode 100644 index 0000000..3008626 --- /dev/null +++ b/src/util/DataStore.cpp @@ -0,0 +1,9 @@ +#include "util/DataStore.hpp" + +CDataStore& operator>>(CDataStore& msg, C3Vector& vector) { + msg.Get(vector.x); + msg.Get(vector.y); + msg.Get(vector.z); + + return msg; +} diff --git a/src/util/DataStore.hpp b/src/util/DataStore.hpp new file mode 100644 index 0000000..e685374 --- /dev/null +++ b/src/util/DataStore.hpp @@ -0,0 +1,9 @@ +#ifndef UTIL_DATA_STORE_HPP +#define UTIL_DATA_STORE_HPP + +#include +#include + +CDataStore& operator>>(CDataStore& msg, C3Vector& vector); + +#endif