- Timestamp:
- May 11, 2011, 10:45:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutoriallevel2/src/modules/notifications/NotificationQueue.cc
r8446 r8448 208 208 209 209 COUT(5) << "Notification \"" << notification->getMessage() << "\" pushed to NotificationQueue '" << this->getName() << "'" << endl; 210 COUT(3) << "NotificationQueue \"" << this->getName() << "\": " << notification->getMessage() << endl; 210 211 } 211 212 … … 374 375 } 375 376 } 376 377 void NotificationQueue::tidy(void) 377 378 /** 379 @brief 380 Pops all Notifications from the NotificationQueue. 381 @return 382 Returns true if successful, false if not. 383 */ 384 bool NotificationQueue::tidy(void) 378 385 { 379 386 while(this->size_ > 0) 380 387 this->pop(); 388 return true; 381 389 } 382 390
Note: See TracChangeset
for help on using the changeset viewer.