OpenASIP
2.0
|
#include <ConnectionFigure.hh>
Public Member Functions | |
virtual | ~ConnectionFigure () |
void | setSource (Figure *figure) |
void | setTarget (Figure *figure) |
Figure * | source () const |
Figure * | target () const |
Public Member Functions inherited from Figure | |
Figure () | |
virtual | ~Figure () |
wxPoint | location () const |
void | setLocation (wxPoint point) |
void | setX (int x) |
void | setY (int y) |
void | setPreferredX (int x) |
bool | xSet () const |
void | clearXSetFlag () |
virtual wxRect | bounds () const |
virtual wxRect | virtualBounds () const |
void | setBounds (wxSize bounds) |
void | setWidth (int width) |
void | setHeight (int height) |
virtual void | addChild (Figure *child) |
int | childCount () const |
Figure * | child (int index) const |
virtual void | layout (wxDC *dc) |
virtual void | draw (wxDC *dc) |
void | highlight (const wxColour &colour) |
void | clearHighlight () |
void | setOptions (MachineCanvasOptions *options) |
MachineCanvasOptions * | options () |
Protected Member Functions | |
ConnectionFigure () | |
Protected Member Functions inherited from Figure | |
virtual void | drawSelf (wxDC *dc) |
void | drawChildren (wxDC *dc) |
virtual void | layoutSelf (wxDC *) |
virtual void | layoutChildren (wxDC *) |
Protected Attributes | |
Figure * | source_ |
Source of connection. More... | |
Figure * | target_ |
Target of connection. More... | |
Protected Attributes inherited from Figure | |
wxPoint | location_ |
Top-left location of the Figure's bounding rectangle. More... | |
wxSize | size_ |
wxSize of the Figure's bounding rectangle. More... | |
wxSize | minSize_ |
Figure's minimum size. More... | |
std::vector< Figure * > | children_ |
Figure's children. More... | |
bool | xSet_ |
Tells if x-coordinate has been fixed. More... | |
bool | laidOut_ |
Tells whether the Figure and its children have been laid out or not. More... | |
bool | drawn_ |
Tells whether the Figure and its children have been drawn or not. More... | |
wxColour | highlight_ |
Highlight colour. More... | |
bool | highlighted_ |
Tells if the figure is highlighted. More... | |
MachineCanvasOptions * | options_ |
Options which are used for customizing figures. More... | |
Private Member Functions | |
ConnectionFigure & | operator= (ConnectionFigure &old) |
Assignment not allowed. More... | |
ConnectionFigure (ConnectionFigure &old) | |
Copying not allowed. More... | |
Figure of a connection.
Definition at line 44 of file ConnectionFigure.hh.
|
virtual |
|
protected |
The Constructor.
Definition at line 41 of file ConnectionFigure.cc.
|
private |
Copying not allowed.
|
private |
Assignment not allowed.
void ConnectionFigure::setSource | ( | Figure * | figure | ) |
Referenced by ConnectionEditPart::setSource().
void ConnectionFigure::setTarget | ( | Figure * | figure | ) |
Referenced by ConnectionEditPart::setTarget().
Figure* ConnectionFigure::source | ( | ) | const |
Figure* ConnectionFigure::target | ( | ) | const |
Referenced by BusChainFigure::layoutChildren().
|
protected |
Source of connection.
Definition at line 56 of file ConnectionFigure.hh.
Referenced by SocketBusConnFigure::drawConnection(), SocketPortConnFigure::drawConnection(), SocketBusConnToolFigure::drawSelf(), SocketPortConnToolFigure::drawSelf(), SocketPortConnFigure::drawSelf(), SocketBusConnFigure::drawSelf(), SocketPortConnFigure::layoutSelf(), and SocketBusConnFigure::layoutSelf().
|
protected |
Target of connection.
Definition at line 58 of file ConnectionFigure.hh.
Referenced by SocketBusConnFigure::drawConnection(), SocketPortConnFigure::drawConnection(), SocketBusConnToolFigure::drawSelf(), SocketPortConnToolFigure::drawSelf(), SocketPortConnFigure::drawSelf(), SocketBusConnFigure::drawSelf(), SocketPortConnFigure::layoutSelf(), and SocketBusConnFigure::layoutSelf().