Otawa  0.10
otawa::display::GenDrawer< G, D >::Edge Class Reference
Inheritance diagram for otawa::display::GenDrawer< G, D >::Edge:
otawa::display::AbstractDrawer::Edge

Public Member Functions

 Edge (AbstractDrawer &drawer, const G &graph, Vertex *source, Vertex *sink, typename G::Edge edge)
 
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 Attributes

G::Edge _
 
const G & _graph
 

Constructor & Destructor Documentation

template<class G, class D>
otawa::display::GenDrawer< G, D >::Edge::Edge ( AbstractDrawer drawer,
const G &  graph,
Vertex source,
Vertex sink,
typename G::Edge  edge 
)
inline

Member Function Documentation

template<class G, class D>
virtual void otawa::display::GenDrawer< G, D >::Edge::configure ( Output label,
TextStyle text,
LineStyle line 
)
inlinevirtual

This method may be overriden to provide a customized displayed text.

Parameters
labelLabel of the edge.
textLabel text style to configure.
lineEdge line style to configure.

Reimplemented from otawa::display::AbstractDrawer::Edge.

References otawa::display::GenDrawer< G, D >::Edge::_, and otawa::display::GenDrawer< G, D >::Edge::_graph.

Member Data Documentation

template<class G, class D>
G::Edge otawa::display::GenDrawer< G, D >::Edge::_
private
template<class G, class D>
const G& otawa::display::GenDrawer< G, D >::Edge::_graph
private
otawa::display::AbstractDrawer::Edge::line
inherited

Style of the line publicly accessible for customization.

otawa::display::AbstractDrawer::Edge::text
inherited

Style of the text publicly accessible for customization.


The documentation for this class was generated from the following file: