YARP
Yet Another Robot Platform
yarp::profiler::NetworkProfiler Class Reference

#include <yarp/profiler/NetworkProfiler.h>

Classes

struct  ConnectionInfo
 
struct  MachineInfo
 
struct  PortDetails
 
struct  ProcessInfo
 
class  ProgressCallback
 

Public Types

typedef std::vector< yarp::os::Bottleports_name_set
 
typedef ports_name_set::iterator ports_name_iterator
 
typedef std::vector< PortDetailsports_detail_set
 
typedef ports_detail_set::iterator ports_detail_iterator
 

Static Public Member Functions

static bool getPortDetails (const std::string &portName, PortDetails &info)
 getPortDetails More...
 
static bool yarpNameList (ports_name_set &ports, bool complete=false)
 yarpNameList More...
 
static bool creatNetworkGraph (ports_detail_set details, yarp::profiler::graph::Graph &graph)
 creatNetworkGraph More...
 
static bool creatSimpleModuleGraph (yarp::profiler::graph::Graph &graph, yarp::profiler::graph::Graph &subgraph)
 
static bool yarpClean (float timeout=0.1)
 NetworkProfiler::yarpClean. More...
 
static void setProgressCallback (ProgressCallback *callback)
 
static bool updateConnectionQosStatus (yarp::profiler::graph::Graph &graph)
 
static std::string packetPrioToString (yarp::os::QosStyle::PacketPriorityLevel level)
 
static yarp::os::QosStyle::PacketPriorityLevel packetStringToPrio (std::string level)
 
static bool attachPortmonitorPlugin (std::string portName, yarp::os::Property pluginProp)
 
static bool detachPortmonitorPlugin (std::string portName)
 
static bool setPortmonitorParams (std::string portName, yarp::os::Property &param)
 
static bool getPortmonitorParams (std::string portName, yarp::os::Bottle &param)
 

Detailed Description

Definition at line 26 of file NetworkProfiler.h.

Member Typedef Documentation

◆ ports_detail_iterator

typedef ports_detail_set::iterator yarp::profiler::NetworkProfiler::ports_detail_iterator

Definition at line 96 of file NetworkProfiler.h.

◆ ports_detail_set

Definition at line 95 of file NetworkProfiler.h.

◆ ports_name_iterator

typedef ports_name_set::iterator yarp::profiler::NetworkProfiler::ports_name_iterator

Definition at line 93 of file NetworkProfiler.h.

◆ ports_name_set

Member Function Documentation

◆ attachPortmonitorPlugin()

bool NetworkProfiler::attachPortmonitorPlugin ( std::string  portName,
yarp::os::Property  pluginProp 
)
static

Definition at line 377 of file NetworkProfiler.cpp.

◆ creatNetworkGraph()

bool NetworkProfiler::creatNetworkGraph ( ports_detail_set  details,
yarp::profiler::graph::Graph graph 
)
static

creatNetworkGraph

Parameters
details
graph
Returns

Definition at line 154 of file NetworkProfiler.cpp.

◆ creatSimpleModuleGraph()

bool NetworkProfiler::creatSimpleModuleGraph ( yarp::profiler::graph::Graph graph,
yarp::profiler::graph::Graph subgraph 
)
static

Definition at line 245 of file NetworkProfiler.cpp.

◆ detachPortmonitorPlugin()

bool NetworkProfiler::detachPortmonitorPlugin ( std::string  portName)
static

Definition at line 402 of file NetworkProfiler.cpp.

◆ getPortDetails()

bool NetworkProfiler::getPortDetails ( const std::string &  portName,
PortDetails info 
)
static

getPortDetails

Parameters
portName
info
Returns

Definition at line 72 of file NetworkProfiler.cpp.

◆ getPortmonitorParams()

bool NetworkProfiler::getPortmonitorParams ( std::string  portName,
yarp::os::Bottle param 
)
static

Definition at line 448 of file NetworkProfiler.cpp.

◆ packetPrioToString()

std::string NetworkProfiler::packetPrioToString ( yarp::os::QosStyle::PacketPriorityLevel  level)
static

Definition at line 305 of file NetworkProfiler.cpp.

◆ packetStringToPrio()

yarp::os::QosStyle::PacketPriorityLevel NetworkProfiler::packetStringToPrio ( std::string  level)
static

Definition at line 335 of file NetworkProfiler.cpp.

◆ setPortmonitorParams()

bool NetworkProfiler::setPortmonitorParams ( std::string  portName,
yarp::os::Property param 
)
static

Definition at line 420 of file NetworkProfiler.cpp.

◆ setProgressCallback()

static void yarp::profiler::NetworkProfiler::setProgressCallback ( ProgressCallback callback)
inlinestatic

Definition at line 131 of file NetworkProfiler.h.

◆ updateConnectionQosStatus()

bool NetworkProfiler::updateConnectionQosStatus ( yarp::profiler::graph::Graph graph)
static

Definition at line 344 of file NetworkProfiler.cpp.

◆ yarpClean()

bool NetworkProfiler::yarpClean ( float  timeout = 0.1)
static

NetworkProfiler::yarpClean.

Parameters
timeout
Returns

Definition at line 231 of file NetworkProfiler.cpp.

◆ yarpNameList()

bool NetworkProfiler::yarpNameList ( ports_name_set ports,
bool  complete = false 
)
static

yarpNameList

Parameters
ports
Returns

Definition at line 28 of file NetworkProfiler.cpp.


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