cFigure Class Reference

EXPERIMENTAL CLASS, NOT PART OF THE OFFICIAL OMNeT++ API! ALL DETAILS ARE SUBJECT TO CHANGE. More...

#include <ccanvas.h>

Inheritance diagram for cFigure:
cOwnedObject cNamedObject cObject cAbstractLineFigure cAbstractShapeFigure cGroupFigure cImageFigure cTextFigure cArcFigure cLineFigure cPolylineFigure cOvalFigure cPieSliceFigure cPolygonFigure cRectangleFigure

List of all members.

Public Member Functions

virtual void forEachChild (cVisitor *v)
virtual std::string info () const

Detailed Description

EXPERIMENTAL CLASS, NOT PART OF THE OFFICIAL OMNeT++ API! ALL DETAILS ARE SUBJECT TO CHANGE.

A figure in the canvas (see cCanvas).

Notes:

See also:
cCanvas

Member Function Documentation

virtual void cFigure::forEachChild ( cVisitor v  )  [virtual]

Enables traversing the object tree, performing some operation on each object.

The operation is encapsulated in the particular subclass of cVisitor.

This method should be redefined in every subclass to call v->visit(obj) for every obj object contained.

Reimplemented from cObject.

virtual std::string cFigure::info (  )  const [virtual]

Can be redefined to produce a one-line description of object.

The string appears in the graphical user interface (Tkenv) e.g. when the object is displayed in a listbox. The returned string should possibly be at most 80-100 characters long, and must not contain newline.

See also:
detailedInfo()

Reimplemented from cObject.

Reimplemented in cGroupFigure, cAbstractLineFigure, cLineFigure, cArcFigure, cPolylineFigure, cAbstractShapeFigure, cRectangleFigure, cOvalFigure, cPieSliceFigure, cPolygonFigure, cTextFigure, and cImageFigure.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:28 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3