Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2014, 9:54:25 AM (10 years ago)
Author:
smerkli
Message:

Removed some verbose output from default output and
re-added a file that was removed accidentally.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationFS14/src/orxonox/controllers/ScriptController.cc

    r10076 r10077  
    7171    {
    7272        /* Output some debugging information */
    73         orxout() << "ScriptController: Taking control" << endl;
    74         orxout() << "This-pointer: " << this << endl;
     73        orxout(verbose) << "ScriptController: Taking control" << endl;
     74        orxout(verbose) << "This-pointer: " << this << endl;
    7575
    7676        /* Set the controller ID (the argument here should be nonzero) */
     
    100100    {
    101101      /* Output a message that confirms this function was called */
    102       orxout() << "Great success!" << std::endl;
     102      orxout(verbose) << "Great success!" << std::endl;
    103103
    104104      /* Debugging: print all the scriptcontroller object pointers */
     
    106106        ObjectList<ScriptController>::begin();
    107107        it != ObjectList<ScriptController>::end(); ++it)
    108       { orxout() << "Have object in list: " << *it << endl; }
     108      { orxout(verbose) << "Have object in list: " << *it << endl; }
    109109
    110110      /* Find the first one with a nonzero ID */
     
    115115        // TODO: do some selection here. Currently just returns the first one
    116116        if( (*it)->getID() > 0 )
    117         { orxout() << "Controller to return: " << *it << endl;
     117        { orxout(verbose) << "Controller to return: " << *it << endl;
    118118          return *it;
    119119        }
     
    231231      tmp.eventTime = executionTime;
    232232
    233       orxout() << tmp.fctName << endl;
     233      orxout(verbose) << tmp.fctName << endl;
    234234
    235235      /* Add the created event to the event list */
    236236      if(eventList.size()==0)
    237237      { /* The list is still empty, just add it */
    238         orxout() << "eventList empty (01)" << endl;
     238        orxout(verbose) << "eventList empty (01)" << endl;
    239239        eventList.insert(eventList.begin(), tmp);
    240240        this->eventno += 1;
Note: See TracChangeset for help on using the changeset viewer.