YARP
Yet Another Robot Platform
Network.cpp File Reference
#include <yarp/os/Network.h>
#include <yarp/conf/filesystem.h>
#include <yarp/os/Bottle.h>
#include <yarp/os/Carriers.h>
#include <yarp/os/Face.h>
#include <yarp/os/MultiNameSpace.h>
#include <yarp/os/NameSpace.h>
#include <yarp/os/NetType.h>
#include <yarp/os/OutputProtocol.h>
#include <yarp/os/Port.h>
#include <yarp/os/Route.h>
#include <yarp/os/Time.h>
#include <yarp/os/Vocab.h>
#include <yarp/os/YarpPlugin.h>
#include <yarp/os/impl/BufferedConnectionWriter.h>
#include <yarp/os/impl/LogComponent.h>
#include <yarp/os/impl/LogForwarder.h>
#include <yarp/os/impl/NameConfig.h>
#include <yarp/os/impl/PlatformSignal.h>
#include <yarp/os/impl/PlatformStdio.h>
#include <yarp/os/impl/PlatformStdlib.h>
#include <yarp/os/impl/PlatformUnistd.h>
#include <yarp/os/impl/PortCommand.h>
#include <yarp/os/impl/Terminal.h>
#include <yarp/os/impl/TimeImpl.h>
#include <cstdio>
#include <cstdlib>
#include <mutex>
#include <string>
+ Include dependency graph for Network.cpp:

Go to the source code of this file.

Classes

class  YarpAutoInit
 A single-use class to shut down the yarp library if it was initialized automatically. More...
 
class  ForwardingCarrier
 
class  StubCarrier
 

Functions

static MultiNameSpacegetNameSpace ()
 
static bool needsLookup (const Contact &contact)
 
static int noteDud (const Contact &src)
 
static int enactConnection (const Contact &src, const Contact &dest, const ContactStyle &style, int mode, bool reversed)
 
static std::string collectParams (Contact &c)
 
static std::string extractCarrierNameOnly (const std::string &carrier_name_with_params)
 
static int metaConnect (const std::string &src, const std::string &dest, ContactStyle style, int mode)
 
static bool getPortQos (const std::string &port, const std::string &unit, QosStyle &style, bool quiet)
 

Variables

static int __yarp_is_initialized = 0
 
static bool __yarp_auto_init_active = false
 
static YarpAutoInit yarp_auto_init
 destructor is called on shutdown. More...
 

Function Documentation

◆ collectParams()

static std::string collectParams ( Contact c)
static

Definition at line 262 of file Network.cpp.

◆ enactConnection()

static int enactConnection ( const Contact src,
const Contact dest,
const ContactStyle style,
int  mode,
bool  reversed 
)
static

Definition at line 124 of file Network.cpp.

◆ extractCarrierNameOnly()

static std::string extractCarrierNameOnly ( const std::string &  carrier_name_with_params)
static

Definition at line 272 of file Network.cpp.

◆ getNameSpace()

static MultiNameSpace& getNameSpace ( )
static

Definition at line 88 of file Network.cpp.

◆ getPortQos()

static bool getPortQos ( const std::string &  port,
const std::string &  unit,
QosStyle style,
bool  quiet 
)
static

Definition at line 1155 of file Network.cpp.

◆ metaConnect()

static int metaConnect ( const std::string &  src,
const std::string &  dest,
ContactStyle  style,
int  mode 
)
static

Definition at line 294 of file Network.cpp.

◆ needsLookup()

static bool needsLookup ( const Contact contact)
static

Definition at line 94 of file Network.cpp.

◆ noteDud()

static int noteDud ( const Contact src)
static

Definition at line 105 of file Network.cpp.

Variable Documentation

◆ __yarp_auto_init_active

bool __yarp_auto_init_active = false
static

Definition at line 59 of file Network.cpp.

◆ __yarp_is_initialized

int __yarp_is_initialized = 0
static

Definition at line 58 of file Network.cpp.

◆ yarp_auto_init

YarpAutoInit yarp_auto_init
static

destructor is called on shutdown.

Definition at line 86 of file Network.cpp.