9 #ifndef YARP_PROFILER_NETWORK_PROFILER_H
10 #define YARP_PROFILER_NETWORK_PROFILER_H
71 std::ostringstream str;
72 str<<
"port name: "<<
name<<std::endl;
73 str<<
"outputs:"<<std::endl;
74 std::vector<ConnectionInfo>::const_iterator itr;
76 str<<
" + "<<(*itr).name<<
" ("<<(*itr).carrier<<
")"<<std::endl;
77 str<<
"inputs:"<<std::endl;
79 str<<
" + "<<(*itr).name<<
" ("<<(*itr).carrier<<
")"<<std::endl;
80 str<<
"owner:"<<std::endl;
86 str<<
" + os: "<<
owner.
os<<std::endl;
87 str<<
" + pid: "<<
owner.
pid<<std::endl;
129 static bool yarpClean(
float timeout=0.1);
132 progCallback = callback;
146 static ProgressCallback* progCallback;
A simple collection of objects that can be described and transmitted in a portable way.
A class for storing options and configuration information.
PacketPriorityLevel
The PacketPriorityLevel defines the packets quality of service (priority) levels.
virtual void onProgress(unsigned int percentage)
virtual ~ProgressCallback()
static bool getPortmonitorParams(std::string portName, yarp::os::Bottle ¶m)
static std::string packetPrioToString(yarp::os::QosStyle::PacketPriorityLevel level)
static bool attachPortmonitorPlugin(std::string portName, yarp::os::Property pluginProp)
static bool yarpNameList(ports_name_set &ports, bool complete=false)
yarpNameList
static bool updateConnectionQosStatus(yarp::profiler::graph::Graph &graph)
static bool yarpClean(float timeout=0.1)
NetworkProfiler::yarpClean.
static bool setPortmonitorParams(std::string portName, yarp::os::Property ¶m)
static yarp::os::QosStyle::PacketPriorityLevel packetStringToPrio(std::string level)
static bool creatNetworkGraph(ports_detail_set details, yarp::profiler::graph::Graph &graph)
creatNetworkGraph
static bool getPortDetails(const std::string &portName, PortDetails &info)
getPortDetails
static bool creatSimpleModuleGraph(yarp::profiler::graph::Graph &graph, yarp::profiler::graph::Graph &subgraph)
std::vector< yarp::os::Bottle > ports_name_set
ports_detail_set::iterator ports_detail_iterator
static bool detachPortmonitorPlugin(std::string portName)
ports_name_set::iterator ports_name_iterator
static void setProgressCallback(ProgressCallback *callback)
std::vector< PortDetails > ports_detail_set
The yarp::profiler::graph::Graph class.
The main, catch-all namespace for YARP.
std::string toString() const
std::vector< ConnectionInfo > inputs
std::vector< ConnectionInfo > outputs