10 #ifndef mm_mux_demux_MUX_HPP_ 11 #define mm_mux_demux_MUX_HPP_ 36 const std::string&
url,
38 const bool bind =
true 64 typedef std::map<std::string, std::shared_ptr<impl::MessageMux>>
MuxMap;
65 typedef std::pair<std::string, std::shared_ptr<impl::MessageMux>>
MuxMapPair;
66 typedef std::map<std::string, std::shared_ptr<impl::MessageMux>>::iterator
MuxMapIterator;
72 static void start(
const std::string&
name,
73 const std::string&
url,
75 const bool bind =
true 77 static void shutdown(
const std::string&
name);
78 static void shutdown();
79 static MuxMap& multiplexers();
MessageMux(const std::string &name, const std::string &url, const mm_messages::Verbosity::Level &verbosity=mm_messages::Verbosity::QUIET, const bool bind=true)
std::pair< std::string, std::shared_ptr< impl::MessageMux > > MuxMapPair
int send(const unsigned int &id, const mm_messages::ByteArray &msg_buffer)
mm_messages::Verbosity::Level verbosity
std::map< std::string, std::shared_ptr< impl::MessageMux > > MuxMap
std::map< std::string, std::shared_ptr< impl::MessageMux > >::const_iterator MuxMapConstIterator
std::vector< unsigned char > ByteArray
std::map< std::string, std::shared_ptr< impl::MessageMux > >::iterator MuxMapIterator