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

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

Base class for the graphical representation of a module or namespace.

Definition at line 49 of file ModuleRepBase.H.

Inheritance diagram for ModuleRepBase:
BorderRep ModuleRep NamespaceRep

Signals

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.
 

Public Member Functions

 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

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)
 

Protected Member Functions

QVariant itemChange (GraphicsItemChange change, const QVariant &value)
 Send out a moduleMovedSignal() when this module is moved.
 

Protected Attributes

QRectF itsRect
 Our bounding rectangle.
 

Constructor & Destructor Documentation

ModuleRepBase::ModuleRepBase ( QString const &  bbuid_,
QString const &  bbnick_,
QString const &  guiid_ 
)

Constructor.

Automatically adds to the NetworkCanvas scene

virtual ModuleRepBase::~ModuleRepBase ( )
virtual

Destructor.

Automatically removes from the NetworkCanvas scene


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