Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 23, 2010, 1:00:42 PM (14 years ago)
Author:
dafrick
Message:

Doing some documentation.

File:
1 edited

Legend:

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

    r7456 r7484  
    5454    struct NotificationContainer
    5555    {
    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.
    5858    };
    5959
     
    6161    struct NotificationContainerCompare {
    6262        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.
    6464    };
    6565
    6666    /**
    6767    @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.
    6975    @author
    7076        Damian 'Mozork' Frick
Note: See TracChangeset for help on using the changeset viewer.