Public Types | Static Public Member Functions | List of all members
mm_mux_demux::MessageMux Class Reference

#include <mux.hpp>

Public Types

enum  Errors { NotAvailable = -1 }
 
typedef std::map< std::string, std::shared_ptr< impl::MessageMux > > MuxMap
 
typedef std::map< std::string, std::shared_ptr< impl::MessageMux > >::const_iterator MuxMapConstIterator
 
typedef std::map< std::string, std::shared_ptr< impl::MessageMux > >::iterator MuxMapIterator
 
typedef std::pair< std::string, std::shared_ptr< impl::MessageMux > > MuxMapPair
 

Static Public Member Functions

static MuxMapmultiplexers ()
 
static int send (const std::string &name, const unsigned int &id, const mm_messages::ByteArray &msg_buffer)
 
static void shutdown (const std::string &name)
 
static void shutdown ()
 
static void start (const std::string &name, const std::string &url, const mm_messages::Verbosity::Level &verbosity=mm_messages::Verbosity::QUIET, const bool bind=true)
 Pre-establish named connections. More...
 

Detailed Description

Definition at line 62 of file mux.hpp.

Member Typedef Documentation

typedef std::map<std::string, std::shared_ptr<impl::MessageMux> > mm_mux_demux::MessageMux::MuxMap

Definition at line 64 of file mux.hpp.

typedef std::map<std::string, std::shared_ptr<impl::MessageMux> >::const_iterator mm_mux_demux::MessageMux::MuxMapConstIterator

Definition at line 67 of file mux.hpp.

typedef std::map<std::string, std::shared_ptr<impl::MessageMux> >::iterator mm_mux_demux::MessageMux::MuxMapIterator

Definition at line 66 of file mux.hpp.

typedef std::pair<std::string, std::shared_ptr<impl::MessageMux> > mm_mux_demux::MessageMux::MuxMapPair

Definition at line 65 of file mux.hpp.

Member Enumeration Documentation

Enumerator
NotAvailable 

Definition at line 69 of file mux.hpp.

Member Function Documentation

MessageMux::MuxMap & mm_mux_demux::MessageMux::multiplexers ( )
static

Definition at line 133 of file mux.cpp.

int mm_mux_demux::MessageMux::send ( const std::string &  name,
const unsigned int &  id,
const mm_messages::ByteArray msg_buffer 
)
static

Definition at line 138 of file mux.cpp.

void mm_mux_demux::MessageMux::shutdown ( const std::string &  name)
static

Definition at line 125 of file mux.cpp.

void mm_mux_demux::MessageMux::shutdown ( )
static

Definition at line 129 of file mux.cpp.

void mm_mux_demux::MessageMux::start ( const std::string &  name,
const std::string &  url,
const mm_messages::Verbosity::Level verbosity = mm_messages::Verbosity::QUIET,
const bool  bind = true 
)
static

Pre-establish named connections.

Parameters
name
url

Definition at line 107 of file mux.cpp.


The documentation for this class was generated from the following files:


mm_mux_demux
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:52:14