YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::profiler::NetworkProfiler Class Reference

#include <yarp/profiler/NetworkProfiler.h>

+ Inheritance diagram for yarp::profiler::NetworkProfiler:

Classes

class  ProgressCallback
 

Static Public Member Functions

static bool creatNetworkGraph (ports_detail_set details, yarp::profiler::graph::Graph &graph)
 creatNetworkGraph
 
static bool creatSimpleModuleGraph (yarp::profiler::graph::Graph &graph, yarp::profiler::graph::Graph &subgraph)
 
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)
 
- Static Public Member Functions inherited from yarp::profiler::NetworkProfilerBasic
static bool getPortDetails (const std::string &portName, PortDetails &info)
 
static bool getMachinesList (const ports_detail_set &ports, machines_list &l)
 
static bool getProcessesList (const ports_detail_set &ports, processes_list &l)
 
static bool getPortsList (ports_name_set &ports, bool complete=false)
 
static bool getPortsDetailedList (ports_detail_set &ports, bool complete=false)
 
static bool getConnectionsList (connections_set &connections)
 
static bool getPortInfo (const std::string &name, const ports_name_set &ports, PortInfo &p)
 
static void filterConnectionListByName (const connections_set &in, connections_set &filtered_out, std::string src_name="*", std::string dst_name="*")
 
static void filterConnectionListByIp (const connections_set &in, connections_set &filtered_out, std::string src_name="*", std::string dst_name="*")
 
static void filterConnectionListByPortNumber (const connections_set &in, connections_set &filtered_out, std::string src_name="*", std::string dst_name="*")
 
static void filterPortsListByIp (const ports_detail_set &in, ports_detail_set &filtered_out, std::string ip="*")
 
static void filterPortsListByProcess (const ports_detail_set &in, ports_detail_set &filtered_out, std::string fullprocess="*")
 
static bool yarpClean (float timeout=0.1)
 

Additional Inherited Members

- Public Types inherited from yarp::profiler::NetworkProfilerBasic
typedef std::vector< PortInfoports_name_set
 
typedef ports_name_set::iterator ports_name_iterator
 
typedef std::vector< PortDetailsports_detail_set
 
typedef ports_detail_set::iterator ports_detail_iterator
 
typedef std::vector< ConnectionDetailsconnections_set
 
typedef std::vector< std::string > machines_list
 
typedef std::vector< std::string > processes_list
 

Detailed Description

Definition at line 23 of file NetworkProfiler.h.

Member Function Documentation

◆ attachPortmonitorPlugin()

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

Definition at line 250 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 25 of file NetworkProfiler.cpp.

◆ creatSimpleModuleGraph()

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

Definition at line 107 of file NetworkProfiler.cpp.

◆ detachPortmonitorPlugin()

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

Definition at line 275 of file NetworkProfiler.cpp.

◆ getPortmonitorParams()

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

Definition at line 321 of file NetworkProfiler.cpp.

◆ packetPrioToString()

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

Definition at line 168 of file NetworkProfiler.cpp.

◆ packetStringToPrio()

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

Definition at line 198 of file NetworkProfiler.cpp.

◆ setPortmonitorParams()

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

Definition at line 293 of file NetworkProfiler.cpp.

◆ setProgressCallback()

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

Definition at line 44 of file NetworkProfiler.h.

◆ updateConnectionQosStatus()

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

Definition at line 217 of file NetworkProfiler.cpp.


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