DetectorGraph
2.0
|
Class that provides debugging/diagnostics to a DetectorGraph detector graph. More...
Public Member Functions | |
GraphAnalyzer (const Graph &aGraph) | |
void | SetStringFilter (std::string(*aStringFilter)(const std::string &)) |
Sets a filter to produce readable names from mangle C++ ones. More... | |
void | SetLabelWordWrapper (std::string(*aStringFilter)(const std::string &)) |
Sets a filter to insert at specific points. More... | |
void | GenerateDotFile (const std::string &aOutFilePath) const |
Print to aOutFilePath a graphviz visualization of the graph. More... | |
void | PrintVertexes () const |
Prints to stdout the names of all vertices in the current order. More... | |
bool | HasPublicConflict () const |
Prints whether two detectors post to the same public Topic. More... | |
Class that provides debugging/diagnostics to a DetectorGraph detector graph.
Definition at line 31 of file graphanalyzer.hpp.
DetectorGraph::GraphAnalyzer::GraphAnalyzer | ( | const Graph & | aGraph | ) |
Definition at line 29 of file graphanalyzer.cpp.
void DetectorGraph::GraphAnalyzer::GenerateDotFile | ( | const std::string & | aOutFilePath | ) | const |
Print to aOutFilePath a graphviz visualization of the graph.
Definition at line 46 of file graphanalyzer.cpp.
bool DetectorGraph::GraphAnalyzer::HasPublicConflict | ( | ) | const |
Prints whether two detectors post to the same public Topic.
Definition at line 139 of file graphanalyzer.cpp.
void DetectorGraph::GraphAnalyzer::PrintVertexes | ( | ) | const |
Prints to stdout the names of all vertices in the current order.
Definition at line 127 of file graphanalyzer.cpp.
void DetectorGraph::GraphAnalyzer::SetLabelWordWrapper | ( | std::string(*)(const std::string &) | aStringFilter | ) |
Sets a filter to insert
at specific points.
If not set NodeNameUtils::WrapOnCommonEndings
Definition at line 41 of file graphanalyzer.cpp.
void DetectorGraph::GraphAnalyzer::SetStringFilter | ( | std::string(*)(const std::string &) | aStringFilter | ) |
Sets a filter to produce readable names from mangle C++ ones.
If not set, NodeNameUtils::GetMinimalName will be used.
Definition at line 36 of file graphanalyzer.cpp.