RSB  0.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
transports.cpp File Reference
#include "Factory.h"
#include <stdexcept>
#include <boost/thread.hpp>
#include "inprocess/InPullConnector.h"
#include "inprocess/InPushConnector.h"
#include "inprocess/OutConnector.h"
#include "transports.h"
Include dependency graph for transports.cpp:

Go to the source code of this file.

Namespaces

namespace  rsb
namespace  rsb::transport

Functions

void rsb::transport::registerDefaultTransports ()
set< string > rsb::transport::getAvailableTransports (unsigned int requiredDirections)
 Returns the names of all available transports which support requiredDirections.
bool rsb::transport::isAvailable (const std::string &transportName, unsigned int requiredDirections)
 Returns true if transportName names a transport which is available and supports requiredDirections .
bool rsb::transport::isRemote (const std::string &transportName)
 Returns true if transportName names a remote transport.

Variables

static bool rsb::transport::registered = false
static boost::mutex rsb::transport::registrationMutex