iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Connection Class Reference

#include </lab/itti/everything/software/nrt/trunk/nrt/src/Apps/nrtDesigner/Connection.H>

Spline representing a connection between two ports.

Definition at line 50 of file Connection.H.

Inherits QObject, and QGraphicsPathItem.

Public Slots

void keyPressedSlot (QKeyEvent *event)
 Called when a key is pressed in the canvas.
void sourcePortMovedSlot (QPointF pos)
 The source port has moved, let's redraw.
void sinkPortMovedSlot (QPointF pos)
 The sink port has moved, let's redraw.


void removeConnectionSignal (Connection *)
 Send a request to have ourselves removed.

Public Member Functions

 Connection (Port *sourcePort, Port *sinkPort)
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
QString sourceTopic ()
QString sinkTopicFilter ()

Public Attributes

Port *const sourcePort
Port *const sinkPort

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