Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/CommandLineUI/CommandLineWindow.cpp

    r4f7f34e r77b2d7  
    55 *      Author: heber
    66 */
    7 
    8 #include "Helpers/MemDebug.hpp"
    97
    108#include <boost/bind.hpp>
     
    4745#include "Actions/WorldAction/CenterOnEdgeAction.hpp"
    4846#include "Actions/WorldAction/ChangeBoxAction.hpp"
    49 #include "Actions/WorldAction/InputAction.hpp"
    50 #include "Actions/WorldAction/OutputAction.hpp"
    5147#include "Actions/WorldAction/RemoveSphereOfAtomsAction.hpp"
    5248#include "Actions/WorldAction/RepeatBoxAction.hpp"
     
    8379
    8480void CommandLineWindow::display() {
    85   //cout << ActionRegistry::getInstance();
    86 
    8781  // go through all possible actions
    8882  for (std::list<std::string>::iterator CommandRunner = CommandLineParser::getInstance().SequenceOfActions.begin(); CommandRunner != CommandLineParser::getInstance().SequenceOfActions.end(); ++CommandRunner) {
    89     cout << "Checking presence of " << *CommandRunner << ": ";
    90     if (ActionRegistry::getInstance().isActionByNamePresent(*CommandRunner)) {
    91       cout << "calling " << *CommandRunner << endl;
     83    cout << "Checking presence of " << *CommandRunner << endl;
     84    if (ActionRegistry::getInstance().isActionByNamePresent(*CommandRunner))
    9285      ActionRegistry::getInstance().getActionByName(*CommandRunner)->call();
    93     } else {
    94       cout << "absent." << endl;
    95     }
    9686  }
    9787}
     
    160150  new WorldCenterOnEdgeAction();
    161151  new WorldChangeBoxAction();
    162   new WorldInputAction();
    163   new WorldOutputAction();
    164152  new WorldRemoveSphereOfAtomsAction();
    165153  new WorldRepeatBoxAction();
Note: See TracChangeset for help on using the changeset viewer.