Otawa
0.10
|
An edge in a AbstractDrawer. More...
#include <otawa/display/AbstractDrawer.h>
Public Member Functions | |
Edge (AbstractDrawer &drawer, Vertex *source, Vertex *sink) | |
Build an edge. More... | |
virtual | ~Edge (void) |
virtual void | configure (Output &label, TextStyle &text, LineStyle &line) |
This method may be overriden to provide a customized displayed text. More... | |
Public Attributes | |
TextStyle | text |
Style of the text publicly accessible for customization. More... | |
LineStyle | line |
Style of the line publicly accessible for customization. More... | |
Private Member Functions | |
void | setup (void) |
Private Attributes | |
display::Edge * | edge |
Friends | |
class | AbstractDrawer |
An edge in a AbstractDrawer.
otawa::display::AbstractDrawer::Edge::Edge | ( | AbstractDrawer & | drawer, |
Vertex * | source, | ||
Vertex * | sink | ||
) |
Build an edge.
drawer | Owner drawer. |
source | Source vertex. |
sink | Sink vertex. |
References otawa::display::AbstractDrawer::default_edge_line, otawa::display::AbstractDrawer::default_edge_text, otawa::cfgio::edge(), otawa::display::AbstractDrawer::edges, otawa::display::AbstractDrawer::graph, otawa::display::Graph::newEdge(), and otawa::display::AbstractDrawer::Vertex::node.
|
inlinevirtual |
|
virtual |
This method may be overriden to provide a customized displayed text.
label | Label of the edge. |
text | Label text style to configure. |
line | Edge line style to configure. |
Reimplemented in otawa::display::GenDrawer< G, D >::Edge.
|
private |
|
friend |
|
private |
otawa::display::AbstractDrawer::Edge::line |
Style of the line publicly accessible for customization.
otawa::display::AbstractDrawer::Edge::text |
Style of the text publicly accessible for customization.