YARP
Yet Another Robot Platform
Network.cpp File Reference
#include <yarp/os/Network.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/LogForwarder.h>
#include <yarp/os/impl/Logger.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
 

Macros

#define CARRIER_DEBUG_0(fmt)
 
#define CARRIER_DEBUG(fmt, ...)
 

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...
 

Macro Definition Documentation

◆ CARRIER_DEBUG

#define CARRIER_DEBUG (   fmt,
  ... 
)

Definition at line 129 of file Network.cpp.

◆ CARRIER_DEBUG_0

#define CARRIER_DEBUG_0 (   fmt)

Definition at line 128 of file Network.cpp.

Function Documentation

◆ collectParams()

static std::string collectParams ( Contact c)
static

Definition at line 266 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 132 of file Network.cpp.

◆ extractCarrierNameOnly()

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

Definition at line 276 of file Network.cpp.

◆ getNameSpace()

static MultiNameSpace& getNameSpace ( )
static

Definition at line 87 of file Network.cpp.

◆ getPortQos()

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

Definition at line 1075 of file Network.cpp.

◆ metaConnect()

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

Definition at line 298 of file Network.cpp.

◆ needsLookup()

static bool needsLookup ( const Contact contact)
static

Definition at line 93 of file Network.cpp.

◆ noteDud()

static int noteDud ( const Contact src)
static

Definition at line 104 of file Network.cpp.

Variable Documentation

◆ __yarp_auto_init_active

bool __yarp_auto_init_active = false
static

Definition at line 54 of file Network.cpp.

◆ __yarp_is_initialized

int __yarp_is_initialized = 0
static

Definition at line 53 of file Network.cpp.

◆ yarp_auto_init

YarpAutoInit yarp_auto_init
static

destructor is called on shutdown.

Definition at line 85 of file Network.cpp.