- Timestamp:
- Aug 23, 2011, 12:45:53 AM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 1 build 2 2 codeblocks 3 vs 3 4 dependencies
-
- Property svn:mergeinfo changed
/code/branches/output (added) merged: 8739-8740,8765,8771-8772,8774-8780,8787-8789,8794-8799,8801,8803-8812,8814,8816-8817,8820,8822,8825-8837,8840,8844,8846,8848-8850,8853-8854
- Property svn:ignore
-
code/trunk/src/modules/notifications/NotificationQueue.cc
r8706 r8858 131 131 { 132 132 this->registered_ = false; 133 COUT(1) << "Error: NotificationQueue '" << this->getName() << "' could not be registered." << std::endl;133 orxout(internal_error, context::notifications) << "NotificationQueue '" << this->getName() << "' could not be registered." << endl; 134 134 return; 135 135 } 136 136 137 COUT(3) << "NotificationQueue '" << this->getName() << "' created." << std::endl;137 orxout(internal_info, context::notifications) << "NotificationQueue '" << this->getName() << "' created." << endl; 138 138 } 139 139 … … 215 215 delete notifications; 216 216 217 COUT(4) << "NotificationQueue '" << this->getName() << "' updated." << std::endl;217 orxout(verbose, context::notifications) << "NotificationQueue '" << this->getName() << "' updated." << endl; 218 218 } 219 219 … … 232 232 this->push(notification, time); 233 233 234 COUT(4) << "NotificationQueue '" << this->getName() << "' updated. A new Notification has been added." << std::endl;234 orxout(verbose, context::notifications) << "NotificationQueue '" << this->getName() << "' updated. A new Notification has been added." << endl; 235 235 } 236 236 … … 265 265 this->notificationPushed(notification); 266 266 267 COUT(5) << "Notification \"" << notification->getMessage() << "\" pushed to NotificationQueue '" << this->getName() << "'" << endl;268 COUT(3) << "NotificationQueue \"" << this->getName() << "\": " << notification->getMessage() << endl;267 orxout(verbose_more, context::notifications) << "Notification \"" << notification->getMessage() << "\" pushed to NotificationQueue '" << this->getName() << "'" << endl; 268 orxout(internal_info, context::notifications) << "NotificationQueue \"" << this->getName() << "\": " << notification->getMessage() << endl; 269 269 } 270 270 … … 284 284 if(container == *it) 285 285 { 286 COUT(5) << "Notification \"" << (*it)->notification->getMessage() << "\" popped from NotificationQueue '" << this->getName() << "'" << endl;286 orxout(verbose_more, context::notifications) << "Notification \"" << (*it)->notification->getMessage() << "\" popped from NotificationQueue '" << this->getName() << "'" << endl; 287 287 this->ordering_.erase(it); 288 288 break; … … 311 311 std::vector<NotificationContainer*>::difference_type index = it - this->notifications_.begin (); 312 312 313 COUT(5) << "Notification \"" << (*it)->notification->getMessage() << "\" removed from NotificationQueue '" << this->getName() << "'" << endl;313 orxout(verbose_more, context::notifications) << "Notification \"" << (*it)->notification->getMessage() << "\" removed from NotificationQueue '" << this->getName() << "'" << endl; 314 314 315 315 this->ordering_.erase(containerIterator); … … 333 333 void NotificationQueue::clear(bool noGraphics) 334 334 { 335 COUT(4) << "Clearing NotificationQueue " << this->getName() << "." << endl;335 orxout(verbose, context::notifications) << "Clearing NotificationQueue " << this->getName() << "." << endl; 336 336 this->ordering_.clear(); 337 337 // Delete all NotificationContainers in the list. … … 367 367 if(size == 0) 368 368 { 369 COUT(2) << "Trying to set maximal size of NotificationQueue '" << this->getName() << "' to 0. Ignoring..." << endl;369 orxout(internal_warning, context::notifications) << "Trying to set maximal size of NotificationQueue '" << this->getName() << "' to 0. Ignoring..." << endl; 370 370 return; 371 371 } … … 398 398 if(time != NotificationQueue::INF && time <= 0) 399 399 { 400 COUT(2) << "Trying to set display time of NotificationQueue '" << this->getName() << "' to non-positive value. Ignoring..." << endl;400 orxout(internal_warning, context::notifications) << "Trying to set display time of NotificationQueue '" << this->getName() << "' to non-positive value. Ignoring..." << endl; 401 401 } 402 402
Note: See TracChangeset
for help on using the changeset viewer.