|
FlowCanvas
0.7.1
|
An object a Connection can connect to. More...
#include <Connectable.hpp>

Public Types | |
| typedef std::list < boost::weak_ptr< Connection > > | Connections |
Public Member Functions | |
| virtual | ~Connectable () |
| virtual Gnome::Art::Point | src_connection_point ()=0 |
| virtual Gnome::Art::Point | dst_connection_point (const Gnome::Art::Point &src)=0 |
| virtual Gnome::Art::Point | connection_point_vector (double dx, double dy)=0 |
| virtual void | add_connection (boost::shared_ptr< Connection > c) |
| virtual void | remove_connection (boost::shared_ptr< Connection > c) |
| virtual void | move_connections () |
| virtual void | raise_connections () |
| bool | is_connected_to (boost::shared_ptr< Connectable > other) |
| Connections & | connections () |
Protected Attributes | |
| Connections | _connections |
| needed for dragging | |
An object a Connection can connect to.
| typedef std::list< boost::weak_ptr<Connection> > FlowCanvas::Connectable::Connections |
| virtual FlowCanvas::Connectable::~Connectable | ( | ) | [inline, virtual] |
| virtual Gnome::Art::Point FlowCanvas::Connectable::src_connection_point | ( | ) | [pure virtual] |
Implemented in FlowCanvas::Port, and FlowCanvas::Ellipse.
| virtual Gnome::Art::Point FlowCanvas::Connectable::dst_connection_point | ( | const Gnome::Art::Point & | src | ) | [pure virtual] |
Implemented in FlowCanvas::Port, and FlowCanvas::Ellipse.
| virtual Gnome::Art::Point FlowCanvas::Connectable::connection_point_vector | ( | double | dx, |
| double | dy | ||
| ) | [pure virtual] |
Implemented in FlowCanvas::Port, and FlowCanvas::Ellipse.
| virtual void FlowCanvas::Connectable::add_connection | ( | boost::shared_ptr< Connection > | c | ) | [virtual] |
Reimplemented in FlowCanvas::Ellipse.
| virtual void FlowCanvas::Connectable::remove_connection | ( | boost::shared_ptr< Connection > | c | ) | [virtual] |
| virtual void FlowCanvas::Connectable::move_connections | ( | ) | [virtual] |
| virtual void FlowCanvas::Connectable::raise_connections | ( | ) | [virtual] |
| bool FlowCanvas::Connectable::is_connected_to | ( | boost::shared_ptr< Connectable > | other | ) |
| Connections& FlowCanvas::Connectable::connections | ( | ) | [inline] |
References _connections.
Connections FlowCanvas::Connectable::_connections [protected] |
needed for dragging
Referenced by connections().
1.8.0