Otawa
0.10
|
This adapter implements the otawa::concept::DiGraphWithNodeMap and allows to use apply the GenDrawer to a CFG. More...
#include <otawa/display/CFGAdapter.h>
Classes | |
class | Edge |
class | Iterator |
class | Successor |
class | Vertex |
class | VertexMap |
Public Member Functions | |
CFGAdapter (CFG *_cfg, WorkSpace *_ws=0) | |
Build the adapter. More... | |
int | count (void) const |
Public Attributes | |
CFG * | cfg |
WorkSpace * | ws |
This adapter implements the otawa::concept::DiGraphWithNodeMap and allows to use apply the GenDrawer to a CFG.
To use this adapter, you have to pass it a CFG, to define a Decorator to give a representation of nodes and edges and to launch the drawing as below :
Build the adapter.
_cfg | CFG to do adapt to. |
_ws | Container workspace (optional). |
|
inline |
References cfg, and otawa::CFG::countBB().
WorkSpace* otawa::display::CFGAdapter::ws |