#include <GraphVisitor.h>
|
| GraphVisitor (WindowVisitor *w) |
|
QTreeWidgetItem * | addNode (QTreeWidgetItem *parent, QTreeWidgetItem *elementAbove, std::string info) |
|
QTreeWidgetItem * | addComment (QTreeWidgetItem *element, QTreeWidgetItem *elementAbove, std::string comment) |
|
void | addInformation (QTreeWidgetItem *element, std::string name, std::string info) |
|
void | addTime (QTreeWidgetItem *element, std::string info) |
|
bool | load (std::string &file) |
|
void | setGraph (QTreeWidget *g) |
|
void | clear () |
|
double | getTotalTime (tinyxml2::XMLNode *node) const |
|
double | getTime (const tinyxml2::XMLAttribute *attribute) const |
|
|
void | openTime (tinyxml2::XMLNode *element, QTreeWidgetItem *item) |
|
void | openAttribute (tinyxml2::XMLElement *element, QTreeWidgetItem *item) |
|
QTreeWidgetItem * | openNode (tinyxml2::XMLNode *node, QTreeWidgetItem *parent, QTreeWidgetItem *elementAbove) |
|
◆ componentsTime
std::vector< dataTime > sofa::gui::qt::GraphVisitor::componentsTime |
|
protected |
◆ componentsTimeMax
std::vector< dataTime > sofa::gui::qt::GraphVisitor::componentsTimeMax |
|
protected |
◆ componentsTimeTotal
std::vector< dataTime > sofa::gui::qt::GraphVisitor::componentsTimeTotal |
|
protected |
◆ graph
◆ initSize
bool sofa::gui::qt::GraphVisitor::initSize |
|
protected |
◆ level
int sofa::gui::qt::GraphVisitor::level |
|
protected |
◆ timeComponentsBelow
std::vector<double> sofa::gui::qt::GraphVisitor::timeComponentsBelow |
|
protected |
◆ totalTime
double sofa::gui::qt::GraphVisitor::totalTime |
|
protected |
◆ totalTimeMax
double sofa::gui::qt::GraphVisitor::totalTimeMax |
|
protected |
◆ visitedNode
std::vector< std::string > sofa::gui::qt::GraphVisitor::visitedNode |
|
protected |
◆ visitorsTime
std::vector< dataTime > sofa::gui::qt::GraphVisitor::visitorsTime |
|
protected |
◆ visitorsTimeMax
std::vector< dataTime > sofa::gui::qt::GraphVisitor::visitorsTimeMax |
|
protected |
◆ visitorsTimeTotal
std::vector< dataTime > sofa::gui::qt::GraphVisitor::visitorsTimeTotal |
|
protected |
◆ window
◆ GraphVisitor()
◆ addComment()
QTreeWidgetItem * sofa::gui::qt::GraphVisitor::addComment |
( |
QTreeWidgetItem * |
element, |
|
|
QTreeWidgetItem * |
elementAbove, |
|
|
std::string |
comment |
|
) |
| |
◆ addInformation()
void sofa::gui::qt::GraphVisitor::addInformation |
( |
QTreeWidgetItem * |
element, |
|
|
std::string |
name, |
|
|
std::string |
info |
|
) |
| |
◆ addNode()
QTreeWidgetItem * sofa::gui::qt::GraphVisitor::addNode |
( |
QTreeWidgetItem * |
parent, |
|
|
QTreeWidgetItem * |
elementAbove, |
|
|
std::string |
info |
|
) |
| |
◆ addTime()
void sofa::gui::qt::GraphVisitor::addTime |
( |
QTreeWidgetItem * |
element, |
|
|
std::string |
info |
|
) |
| |
◆ clear()
void sofa::gui::qt::GraphVisitor::clear |
( |
| ) |
|
|
inline |
◆ getTime()
double sofa::gui::qt::GraphVisitor::getTime |
( |
const tinyxml2::XMLAttribute * |
attribute | ) |
const |
|
inline |
◆ getTotalTime()
double sofa::gui::qt::GraphVisitor::getTotalTime |
( |
tinyxml2::XMLNode * |
node | ) |
const |
◆ load()
bool sofa::gui::qt::GraphVisitor::load |
( |
std::string & |
file | ) |
|
◆ openAttribute()
void sofa::gui::qt::GraphVisitor::openAttribute |
( |
tinyxml2::XMLElement * |
element, |
|
|
QTreeWidgetItem * |
item |
|
) |
| |
|
protected |
◆ openNode()
QTreeWidgetItem * sofa::gui::qt::GraphVisitor::openNode |
( |
tinyxml2::XMLNode * |
node, |
|
|
QTreeWidgetItem * |
parent, |
|
|
QTreeWidgetItem * |
elementAbove |
|
) |
| |
|
protected |
◆ openTime()
void sofa::gui::qt::GraphVisitor::openTime |
( |
tinyxml2::XMLNode * |
element, |
|
|
QTreeWidgetItem * |
item |
|
) |
| |
|
protected |
◆ setGraph()
void sofa::gui::qt::GraphVisitor::setGraph |
( |
QTreeWidget * |
g | ) |
|
|
inline |