Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 24, 2010, 12:01:57 PM (14 years ago)
Author:
dafrick
Message:

Some more documentation.
Making NotificationManager Root scope, cleaning up, especially in Notification (now it's just a data structure anymore).

File:
1 edited

Legend:

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

    r7486 r7488  
    6969
    7070        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.
     71        - @b name The name of the NotificationQueue. It needs to be unique.
     72        - @b senders The senders that are targets of this NotificationQueue, i.e. the names of senders whose Notifications this NotificationQueue displays.
     73        - @b size The size of the NotificationQueue, it specifies how many @ref orxonox::Notification "Notifications" are displayed at once at the most.
     74        - @b displayTime The time a @ref orxonox::Notification "Notification" is displayed with this NotificationQueue.
    7575
    7676    @author
     
    8585            virtual ~NotificationQueue();
    8686
    87             /**
    88             @brief Destroys the NotificationQueue.
    89                    Used in lua.
    90             */
    91             void destroy(void) { this->OrxonoxClass::destroy(); } // tolua_export
     87            //! Destroys the NotificationQueue.
     88            void destroy(bool noGraphics = false); // tolua_export
    9289
    9390            virtual void tick(float dt); //!< To update from time to time.
     
    168165            void remove(const std::multiset<NotificationContainer*, NotificationContainerCompare>::iterator& containerIterator); //!< Removes the Notification that is stored in the input NotificationContainer.
    169166
    170             void clear(void); //!< Clears the NotificationQueue by removing all NotificationContainers.
     167            void clear(bool noGraphics = false); //!< Clears the NotificationQueue by removing all NotificationContainers.
    171168
    172169    }; // tolua_export
Note: See TracChangeset for help on using the changeset viewer.