Changeset 2783 for code/branches/questsystem5/src/orxonox/overlays/notifications/NotificationManager.cc
- Timestamp:
- Mar 13, 2009, 3:39:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5/src/orxonox/overlays/notifications/NotificationManager.cc
r2779 r2783 97 97 98 98 //!< Insert the notification in all queues that have its sender as target. 99 for(std::map<NotificationQueue*,int>::iterator it = queueList_s.begin(); it != queueList_s.end(); it++) 99 for(std::map<NotificationQueue*,int>::iterator it = queueList_s.begin(); it != queueList_s.end(); it++) //!< Iterate through all queues. 100 100 { 101 101 std::set<std::string> set = it->first->getTargetsSet(); … … 107 107 } 108 108 109 COUT(3) << "Notification Queueregistered with the NotificationManager." << std::endl;109 COUT(3) << "Notification registered with the NotificationManager." << std::endl; 110 110 111 111 return true; … … 133 133 { 134 134 notificationLists_s[index] = &allNotificationsList_s; 135 COUT(3) << "NotificationQueue registered with the NotificationManager." << std::endl; 135 136 return true; 136 137 } … … 148 149 } 149 150 150 COUT(3) << "Notification registered with the NotificationManager." << std::endl;151 152 151 queue->update(); //!< Update the queue. 152 153 COUT(3) << "NotificationQueue registered with the NotificationManager." << std::endl; 153 154 154 155 return true; … … 171 172 /*static*/ std::multimap<std::time_t,Notification*>* NotificationManager::getNotifications(NotificationQueue* queue, const std::time_t & timeFrameStart, const std::time_t & timeFrameEnd) 172 173 { 173 COUT(1) << "Queue: " << queue << ", timeFrameStart: " << timeFrameStart << ", timeFrameEnd: " << timeFrameEnd << std::endl;174 175 174 std::multimap<std::time_t,Notification*>* notifications = NotificationManager::notificationLists_s[NotificationManager::queueList_s[queue]]; 176 175
Note: See TracChangeset
for help on using the changeset viewer.