Otawa
0.10
|
A driver provides facilities to display a graph. More...
#include <otawa/display/Driver.h>
Public Member Functions | |
virtual | ~Driver (void) |
virtual Graph * | newGraph (const PropList &defaultGraphStyle=PropList::EMPTY, const PropList &defaultNodeStyle=PropList::EMPTY, const PropList &defaultEdgeStyle=PropList::EMPTY) const =0 |
Creates a new graph with default styles given. More... | |
Static Public Member Functions | |
static Driver * | find (string name="") |
Find a driver by its name. More... | |
static Driver * | find (kind_t kind) |
A driver provides facilities to display a graph.
The newGraph() method build a graph that may be populated according the needs of the graph to display.
|
inlinevirtual |
Find a driver by its name.
name | Name of the driver to look for. |
References otawa::display::graphviz_driver.
Referenced by otawa::display::AbstractDrawer::AbstractDrawer().
|
pure virtual |
Creates a new graph with default styles given.
defaultGraphStyle | default properties for the graph Can be changed with the methods inherited from PropList |
defaultNodeStyle | default properties for the nodes Can be changed with the methods inherited from PropList |
defaultEdgeStyle | default properties for the edges Can be changed with the methods inherited from PropList |
Implemented in otawa::display::GraphVizDriver.
Referenced by otawa::display::AbstractDrawer::AbstractDrawer(), and otawa::display::CFGDrawer::CFGDrawer().