Changeset 7484 for code/trunk/src/modules/notifications/NotificationQueue.h
- Timestamp:
- Sep 23, 2010, 1:00:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/NotificationQueue.h
r7456 r7484 54 54 struct NotificationContainer 55 55 { 56 Notification* notification; // !<The Notification displayed.57 time_t time; // !<The time the Notification was sent and thus first displayed.56 Notification* notification; // The Notification displayed. 57 time_t time; // The time the Notification was sent and thus first displayed. 58 58 }; 59 59 … … 61 61 struct NotificationContainerCompare { 62 62 bool operator() (const NotificationContainer* const & a, const NotificationContainer* const & b) const 63 { return a->time < b->time; } // !<Ordered by time.63 { return a->time < b->time; } // Ordered by time. 64 64 }; 65 65 66 66 /** 67 67 @brief 68 Displays Notifications from specific senders. 68 Displays @ref orxonox::Notification "Notifications" from specific senders. 69 70 There are quite some parameters that influence the behaviour of the NotificationQueue: 71 - 'name': The name of the NotificationQueue. It needs to be unique. 72 - 'senders': The senders that are targets of this NotificationQueue, i.e. the names of senders whose Notifications this NotificationQueue displays. 73 - 'size': The size of the NotificationQueue, it specifies how many @ref orxonox::Notification "Notifications" are displayed at once at the most. 74 - 'displayTime': The time a @ref orxonox::Notification "Notification" is displayed with this NotificationQueue. 69 75 @author 70 76 Damian 'Mozork' Frick
Note: See TracChangeset
for help on using the changeset viewer.