|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
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;
154 #endif //YARP_PROFILER_NETWORK_PROFILER_H
A simple collection of objects that can be described and transmitted in a portable way.
static bool yarpNameList(ports_name_set &ports, bool complete=false)
yarpNameList
virtual ~ProgressCallback()
std::vector< yarp::os::Bottle > ports_name_set
std::vector< ConnectionInfo > inputs
static bool yarpClean(float timeout=0.1)
NetworkProfiler::yarpClean.
static bool updateConnectionQosStatus(yarp::profiler::graph::Graph &graph)
static bool getPortmonitorParams(std::string portName, yarp::os::Bottle ¶m)
static void setProgressCallback(ProgressCallback *callback)
static bool creatSimpleModuleGraph(yarp::profiler::graph::Graph &graph, yarp::profiler::graph::Graph &subgraph)
ports_detail_set::iterator ports_detail_iterator
std::vector< PortDetails > ports_detail_set
virtual void onProgress(unsigned int percentage)
static bool attachPortmonitorPlugin(std::string portName, yarp::os::Property pluginProp)
ports_name_set::iterator ports_name_iterator
std::string toString() const
The main, catch-all namespace for YARP.
PacketPriorityLevel
The PacketPriorityLevel defines the packets quality of service (priority) levels.
The yarp::profiler::graph::Graph class.
std::vector< ConnectionInfo > outputs
static std::string packetPrioToString(yarp::os::QosStyle::PacketPriorityLevel level)
static bool setPortmonitorParams(std::string portName, yarp::os::Property ¶m)
static yarp::os::QosStyle::PacketPriorityLevel packetStringToPrio(std::string level)
A class for storing options and configuration information.
static bool getPortDetails(const std::string &portName, PortDetails &info)
getPortDetails
static bool creatNetworkGraph(ports_detail_set details, yarp::profiler::graph::Graph &graph)
creatNetworkGraph
static bool detachPortmonitorPlugin(std::string portName)