Otawa  0.10
otawa::display::AbstractDrawer::Edge Class Reference

An edge in a AbstractDrawer. More...

#include <otawa/display/AbstractDrawer.h>

Inheritance diagram for otawa::display::AbstractDrawer::Edge:
otawa::display::GenDrawer< G, D >::Edge

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::Edgeedge
 

Friends

class AbstractDrawer
 

Detailed Description

An edge in a AbstractDrawer.

Constructor & Destructor Documentation

otawa::display::AbstractDrawer::Edge::Edge ( AbstractDrawer drawer,
Vertex source,
Vertex sink 
)
virtual otawa::display::AbstractDrawer::Edge::~Edge ( void  )
inlinevirtual

Member Function Documentation

void otawa::display::AbstractDrawer::Edge::configure ( Output label,
TextStyle text,
LineStyle line 
)
virtual

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 in otawa::display::GenDrawer< G, D >::Edge.

void otawa::display::AbstractDrawer::Edge::setup ( void  )
private

Friends And Related Function Documentation

friend class AbstractDrawer
friend

Member Data Documentation

display::Edge* otawa::display::AbstractDrawer::Edge::edge
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.


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