/******************************************************************************** * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence version 3 (LGPL) version 3, * * copied verbatim in the file "LICENSE" * ********************************************************************************/ #ifndef FAIRMQTRANSPORTS_H_ #define FAIRMQTRANSPORTS_H_ #include #include #include namespace FairMQ { enum class Transport { DEFAULT, ZMQ, NN, SHM }; static std::unordered_map TransportTypes { { "default", Transport::DEFAULT }, { "zeromq", Transport::ZMQ }, { "nanomsg", Transport::NN }, { "shmem", Transport::SHM } }; } namespace std { template<> struct hash : fair::mq::tools::HashEnum {}; } /* namespace std */ #endif /* FAIRMQTRANSPORTS_H_ */