Changeset 9253 for code/trunk
- Timestamp:
- May 28, 2012, 12:13:00 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/NotificationQueue.cc
r8858 r9253 45 45 46 46 CreateFactory(NotificationQueue); 47 47 48 48 /** 49 49 @brief … … 62 62 63 63 this->creationTime_ = std::time(0); 64 64 65 65 this->registerVariables(); 66 66 } … … 111 111 if(this->isRegistered()) 112 112 this->clear(); 113 113 114 114 this->create(); 115 115 … … 171 171 XMLPortParam(NotificationQueue, "displayTime", setDisplayTime, getDisplayTime, xmlelement, mode); 172 172 } 173 174 173 174 175 175 /** 176 176 @brief … … 313 313 orxout(verbose_more, context::notifications) << "Notification \"" << (*it)->notification->getMessage() << "\" removed from NotificationQueue '" << this->getName() << "'" << endl; 314 314 315 delete *containerIterator; 316 315 317 this->ordering_.erase(containerIterator); 316 318 this->notifications_.erase(it); 317 319 318 320 this->size_--; 319 320 delete *containerIterator;321 321 322 322 // TODO: index automatically cast? … … 370 370 return; 371 371 } 372 372 373 373 this->maxSize_ = size; 374 374 this->maxSizeChanged(); … … 400 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 403 403 this->displayTime_ = time; 404 404 this->displayTimeChanged();
Note: See TracChangeset
for help on using the changeset viewer.