- Timestamp:
- May 27, 2014, 9:54:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS14/src/orxonox/controllers/ScriptController.cc
r10076 r10077 71 71 { 72 72 /* 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; 75 75 76 76 /* Set the controller ID (the argument here should be nonzero) */ … … 100 100 { 101 101 /* Output a message that confirms this function was called */ 102 orxout( ) << "Great success!" << std::endl;102 orxout(verbose) << "Great success!" << std::endl; 103 103 104 104 /* Debugging: print all the scriptcontroller object pointers */ … … 106 106 ObjectList<ScriptController>::begin(); 107 107 it != ObjectList<ScriptController>::end(); ++it) 108 { orxout( ) << "Have object in list: " << *it << endl; }108 { orxout(verbose) << "Have object in list: " << *it << endl; } 109 109 110 110 /* Find the first one with a nonzero ID */ … … 115 115 // TODO: do some selection here. Currently just returns the first one 116 116 if( (*it)->getID() > 0 ) 117 { orxout( ) << "Controller to return: " << *it << endl;117 { orxout(verbose) << "Controller to return: " << *it << endl; 118 118 return *it; 119 119 } … … 231 231 tmp.eventTime = executionTime; 232 232 233 orxout( ) << tmp.fctName << endl;233 orxout(verbose) << tmp.fctName << endl; 234 234 235 235 /* Add the created event to the event list */ 236 236 if(eventList.size()==0) 237 237 { /* The list is still empty, just add it */ 238 orxout( ) << "eventList empty (01)" << endl;238 orxout(verbose) << "eventList empty (01)" << endl; 239 239 eventList.insert(eventList.begin(), tmp); 240 240 this->eventno += 1;
Note: See TracChangeset
for help on using the changeset viewer.