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.

Location:
code/branches/presentationFS14
Files:
1 added
2 edited

Legend:

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

    r10076 r10077  
    2727
    2828        // output a message to ensure we know the constructor was run
    29         orxout()<<"hello universe constructor blablub"<< endl;
     29        orxout(verbose)<<"hello universe constructor blablub"<< endl;
    3030
    3131
     
    4242        SUPER(ControllerDirector, XMLPort, xmlelement, mode);
    4343
    44         orxout()<< "ControllerDirector::XMLPort "
     44        orxout(verbose)<< "ControllerDirector::XMLPort "
    4545          << "An instance of ControllerDirector has been created." << endl;
    4646    }
     
    6363    {
    6464       /* Output a message confirming that the function was called */
    65        orxout()<<"test takecontrol."<< endl;
     65       orxout(verbose)<<"test takecontrol."<< endl;
    6666
    6767       /* First, we set up a new controller to attach to the unit that
     
    112112        this->player_ = NULL;
    113113
    114         orxout() << "Preparation to take Control!" << endl;
     114        orxout(verbose) << "Preparation to take Control!" << endl;
    115115
    116116        // Check whether it is a player trigger and extract pawn from it
     
    125125        else
    126126        {
    127             orxout() << "ControllerDirector::preparationToTakeControl "
     127            orxout(verbose) << "ControllerDirector::preparationToTakeControl "
    128128              << "Not a player trigger, can't extract pawn from it.." << endl;
    129129            return false;
  • 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.