Changeset 378 for trunk/yao


Ignore:
Timestamp:
07/06/10 10:01:10 (14 years ago)
Author:
yerima
Message:

Data generaed from modul window in visual Yao.

Location:
trunk/yao/src/interface/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/yao/src/interface/src/MainWindow.cpp

    r377 r378  
    640640                                        description << endl; 
    641641                        description << "//MODUL --------------------------------------------------------------------------" << endl; 
    642     
    643                                 /*  for (QStringList::iterator it = m_modulWindow->getDataModul().begin(); it != m_modulWindow->getDataModul().end(); it++) 
    644                         description << "modul " << it->toStdString() << endl; 
    645                         description << endl;*/ 
     642                                for (Table<Modul>::iterator it = theModulTable.begin(); it != theModulTable.end(); it++) 
     643                                        description << "modul " << it->getName() << " " << it->getSpaceOrOperator() << " " << "input "<< it->getInput() << " " << "output "<< it->getOutput() << " " << "target " << it->getTarget()<< endl; 
     644                                        description << endl; 
    646645                        description << "//CONNECTIONS----------------------------------------------------------------------" << endl; 
    647646 
  • trunk/yao/src/interface/src/ModulWindow.cpp

    r377 r378  
    2020//! \brief Implementation of the Modul window for visual_YAO. 
    2121//ModulWindow::ModulWindow(QWidget *parent):QWidget(parent) { 
    22 ModulWindow::ModulWindow(Table <Modul> *aModulTable, Table <Space> *aSpaceTable, Table <Operator> *anOperatorTable, Table <Constant> *aConstantTable, MainWindowController *mwc, string *aProjectName, string *aProjectPath, QWidget *parent) : QWidget(parent), m_localModulTable(NULL), m_localModulName("") , Modul(m_localModulName) { 
     22ModulWindow::ModulWindow(Table <Modul> *aModulTable, Table <Space> *aSpaceTable, Table <Operator> *anOperatorTable, Table <Constant> *aConstantTable, MainWindowController *mwc, string *aProjectName, string *aProjectPath, QWidget *parent) : QWidget(parent), m_localModulTable(NULL)/*, Modul(m_localModulName)*/ { 
    2323 
    2424 
  • trunk/yao/src/interface/src/include/ModulWindow.hpp

    r377 r378  
    1616 
    1717 
    18 class ModulWindow: public QWidget, public Ui::ModulWindow, public yao::Modul { 
     18class ModulWindow: public QWidget, public Ui::ModulWindow/*, public yao::Modul*/ { 
    1919 
    2020        Q_OBJECT 
Note: See TracChangeset for help on using the changeset viewer.