- Timestamp:
- Sep 23, 2010, 1:00:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/NotificationManager.h
r7474 r7484 50 50 /** 51 51 @brief 52 The Singleton NotificationManager functions as a gateway between Notifications and NotificationListeners. 53 It receives, organizes Notifications and the redistributes them to the specific NotificationListeners. 52 The Singleton NotificationManager functions as a gateway between @ref orxonox::Notification "Notifications" and @ref orxonox::NotificationListener "NotificationListeners". 53 It receives, organizes @ref orxonox::Notification "Notifications" and the redistributes them to the specific @ref orxonox::NotificationListener "NotificationListeners". 54 It also provides a static function to send @ref orxonox::Notification "Notifications" and works as a liaison between the @ref orxonox>>NotificationQueue "NotificationQueues" and the GUI that displays notification, called NotificationLayer. 54 55 @author 55 56 Damian 'Mozork' Frick … … 65 66 virtual void preDestroy(void); //!< Is called before the object is destroyed. 66 67 68 /** 69 @brief Get the instance of the NotificationManager Singleton. 70 @return Returns a reference to the NotificationManager. 71 */ 67 72 static NotificationManager& getInstance() { return Singleton<NotificationManager>::getInstance(); } // tolua_export 68 73 … … 70 75 static const std::string NONE; //!< Static string to indicare a sender that sends to no specific NotificationListener. 71 76 77 //! Sends a Notification with the specified message to the specified client from the specified sender. 72 78 static void sendNotification(const std::string& message, unsigned int clientId, const std::string& sender = NotificationManager::NONE); 73 79
Note: See TracChangeset
for help on using the changeset viewer.