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

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

Representation for a border zone inside a macro-module (namespace)

When users drag connections to these zones, border connectors are created to allow connecting ports inside the macro-module to its outside.

Definition at line 44 of file BorderRep.H.

Inheritance diagram for BorderRep:
ModuleRepBase

Public Member Functions

 BorderRep (QString const &namespc, nrt::ConnectorFlavor const flavor_)
 Constructor.
 
virtual ~BorderRep ()
 Destructor.
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *)
 Drawing function.
 
void updateConnectors (nrt::blackboard::NamespaceSummary const *nss)
 Update all our connectors given a nes nss.
 
PortList const & ports ()
 Get read-only access to our ports.
 
- Public Member Functions inherited from ModuleRepBase
 ModuleRepBase (QString const &bbuid_, QString const &bbnick_, QString const &guiid_)
 Constructor. More...
 
virtual ~ModuleRepBase ()
 Destructor. More...
 
void updatePosFromGUIdata ()
 Upadate our postion from Blackboard GUIdata.
 
void forceMoveSignal ()
 Force a move signal.
 
virtual QRectF boundingRect () const
 Return our bounding rectangle.
 

Public Attributes

nrt::ConnectorFlavor const flavor
 Our connector flavor.
 
- Public Attributes inherited from ModuleRepBase
QString const bbuid
 The Blackboard UID that owns this module or namespace.
 
QString const bbnick
 The nickname of the owner Blackboard.
 
QString const guiid
 The GUI ID of this module (m:moduleuid) or namespace (n:path)
 

Additional Inherited Members

- Signals inherited from ModuleRepBase
void moduleMovedSignal (ModuleRepBase *module)
 Sent when the ModuleRepBase is moved so that the Ports can recalculate all of the bound connection lines.
 
void moduleSelectedSignal (ModuleRepBase *module)
 Sent when the ModuleRepBase is selected so that the ConfigurationWidget can redraw the Parameters.
 
- Protected Member Functions inherited from ModuleRepBase
QVariant itemChange (GraphicsItemChange change, const QVariant &value)
 Send out a moduleMovedSignal() when this module is moved.
 
- Protected Attributes inherited from ModuleRepBase
QRectF itsRect
 Our bounding rectangle.
 

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