Public Types | Public Member Functions | Protected Attributes

FlowCanvas::Connectable Class Reference

An object a Connection can connect to. More...

#include <Connectable.hpp>

Inheritance diagram for FlowCanvas::Connectable:
Inheritance graph
[legend]

List of all members.

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)
Connectionsconnections ()

Protected Attributes

Connections _connections
 needed for dragging

Detailed Description

An object a Connection can connect to.


Member Typedef Documentation

typedef std::list< boost::weak_ptr<Connection> > FlowCanvas::Connectable::Connections

Constructor & Destructor Documentation

virtual FlowCanvas::Connectable::~Connectable (  )  [inline, virtual]

Member Function Documentation

virtual Gnome::Art::Point FlowCanvas::Connectable::src_connection_point (  )  [pure virtual]

Implemented in FlowCanvas::Ellipse, and FlowCanvas::Port.

virtual Gnome::Art::Point FlowCanvas::Connectable::dst_connection_point ( const Gnome::Art::Point &  src  )  [pure virtual]

Implemented in FlowCanvas::Ellipse, and FlowCanvas::Port.

virtual Gnome::Art::Point FlowCanvas::Connectable::connection_point_vector ( double  dx,
double  dy 
) [pure virtual]

Implemented in FlowCanvas::Ellipse, and FlowCanvas::Port.

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.


Member Data Documentation

needed for dragging

Referenced by connections().


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