aboutsummaryrefslogtreecommitdiff
path: root/libcmix-common/cmixprotofunctor.cpp
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-10-30 13:38:49 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2016-10-30 16:37:03 +0100
commita3e62d3bc6e7f75949726f9a8dafe03e757e869b (patch)
tree49e59076a7ffd7ea757f650a64aaba2b16be1886 /libcmix-common/cmixprotofunctor.cpp
parent158bf81343054982800d44d507e8e50f2eeb6dd4 (diff)
downloadcmix-a3e62d3bc6e7f75949726f9a8dafe03e757e869b.tar.gz
cmix-a3e62d3bc6e7f75949726f9a8dafe03e757e869b.tar.bz2
cmix-a3e62d3bc6e7f75949726f9a8dafe03e757e869b.zip
Added the Preprocessing step for the Precomputation of CMix.
Diffstat (limited to 'libcmix-common/cmixprotofunctor.cpp')
-rw-r--r--libcmix-common/cmixprotofunctor.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/libcmix-common/cmixprotofunctor.cpp b/libcmix-common/cmixprotofunctor.cpp
deleted file mode 100644
index 525b3c9..0000000
--- a/libcmix-common/cmixprotofunctor.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "cmixprotofunctor.hpp"
-
-#define MESSAGE_SETTER_DEF(TYPE, NAME) \
- CMixProtoFunctor::proto_type CMixProtoFunctor::operator()(cmix_proto::TYPE const& v) { \
- proto_type m; \
- *m.mutable_##NAME() = v; \
- return m; \
- } \
-
-MESSAGE_SETTER_DEF(Initialization, initialization)
-MESSAGE_SETTER_DEF(ImANode, imanode)
-MESSAGE_SETTER_DEF(ImAClient, imaclient)
-MESSAGE_SETTER_DEF(Bye, bye)
-MESSAGE_SETTER_DEF(KeyExchange, keyexchange)
-MESSAGE_SETTER_DEF(SecretKey, secretkey)
-MESSAGE_SETTER_DEF(NodeReady, nodeready)
-
-#undef MESSAGE_SETTER_DEF \ No newline at end of file