summaryrefslogtreecommitdiff
path: root/modules/remote/c++/remote_loopback_base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote/c++/remote_loopback_base.hpp')
-rw-r--r--modules/remote/c++/remote_loopback_base.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/remote/c++/remote_loopback_base.hpp b/modules/remote/c++/remote_loopback_base.hpp
index 82857a9..5224d95 100644
--- a/modules/remote/c++/remote_loopback_base.hpp
+++ b/modules/remote/c++/remote_loopback_base.hpp
@@ -28,9 +28,15 @@ public:
template<>
class remote<rmt::Loopback> {
private:
+ /**
+ * Unique key for identifying an underlying data type without using typeid :)
+ */
struct key_t {
std::array<uint64_t,3> data;
+ /**
+ * Create a key with all identifying elements
+ */
template<typename Schema, typename Encoding>
static key_t create(const remote_address<rmt::Loopback>& addr){
key_t k;