Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2011, 11:37:22 PM (13 years ago)
Author:
dafrick
Message:

NotificationListener is new an entity which is informed of new notifications. The NotificationManager is, so far, the only NotificationListener. This means that Notifications can now be sent from within orxonox (though not libraries or external).
Also introduced notification commands to affect the NotificationQueues in more ways than just have them display messages (e.g. clearing them).
Added a message type which allows to send Notifications of different importance, allowing the NotificationQueus to display them differently.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutoriallevel2/src/modules/notifications/NotificationQueue.h

    r8374 r8445  
    7777        Displays @ref orxonox::Notification "Notifications" from specific senders.
    7878
    79         There are quite some parameters that influence the behaviour of the NotificationQueue:
     79        There are quite some parameters that influence the behavior of the NotificationQueue:
    8080        - @b name The name of the NotificationQueue. It needs to be unique.
    8181        - @b senders The senders that are targets of this NotificationQueue, i.e. the names of senders whose Notifications this NotificationQueue displays.
     
    145145            // tolua_begin
    146146            void setTargets(const std::string & targets); //!< Set the targets of this NotificationQueue.
    147             const std::string& getTargets(void) const; //!< Returns a string consisting of the concatination of the targets.
     147            const std::string& getTargets(void) const; //!< Returns a string consisting of the concatenation of the targets.
    148148            // tolua_end
     149
     150            void tidy(void);
    149151
    150152        private:
Note: See TracChangeset for help on using the changeset viewer.