Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 17, 2010, 10:50:43 PM (14 years ago)
Author:
dafrick
Message:

Resolving some TODOs and doing some additional cleanup. Almost done now…

Location:
code/trunk/src/modules/notifications
Files:
8 edited

Legend:

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

    r7489 r7552  
    4949
    5050        A Notification is just a datastructure that is used internally by the Notifications module.
     51
    5152    @author
    5253        Damian 'Mozork' Frick
     54
     55    @ingroup Notifications
    5356    */
    5457    class _NotificationsExport Notification : public OrxonoxClass
  • code/trunk/src/modules/notifications/NotificationDispatcher.cc

    r7489 r7552  
    118118        else if(GameMode::isServer())
    119119        {
    120             //TODO: This may fail if the object has not been synchronized, yet.
    121120            callMemberNetworkFunction(NotificationDispatcher, dispatch, this->getObjectID(), clientId, clientId);
    122121        }
  • code/trunk/src/modules/notifications/NotificationDispatcher.h

    r7488 r7552  
    3939
    4040#include <string>
     41
    4142#include "core/BaseObject.h"
    4243#include "network/synchronisable/Synchronisable.h"
     
    6263        @endcode
    6364        But keep in mind, that NotificationDispatcher is an abstract class and in this example @ref orxonox::PlayerTrigger "PlayerTrigger" stands for any event that is caused by a @ref orxonox::PlayerTrigger "PlayerTrigger", so instead of @ref orxonox::PlayerTrigger "PlayerTrigger", there could be a @ref orxonox::DistanceTrigger "DistanceTrigger", or a @ref orxonox::DistanceMultiTrigger "DistanceMutliTrigger", or even an @ref orxonox::EventListener "EventListener" that waits for an event coming from any kind of @ref orxonox::PlayerTrigger "PlayerTrigger".
     65
    6466    @author
    6567        Damian 'Mozork' Frick
     68
     69    @ingroup Notifications
    6670    */
    6771    class _NotificationsExport NotificationDispatcher : public BaseObject, public Synchronisable
  • code/trunk/src/modules/notifications/NotificationManager.cc

    r7504 r7552  
    149149        assert(notification);
    150150
    151         std::time_t time = std::time(0); //TODO: Doesn't this expire? //!< Get current time.
     151        std::time_t time = std::time(0); // Get current time.
    152152
    153153        // Add the Notification to the list that holds all Notifications.
  • code/trunk/src/modules/notifications/NotificationManager.h

    r7489 r7552  
    5353        It receives, organizes @ref orxonox::Notification "Notifications" and the redistributes them to the specific @ref orxonox::NotificationListener "NotificationListeners".
    5454        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.
     55
    5556    @author
    5657        Damian 'Mozork' Frick
     58
     59    @ingroup Notifications
    5760    */
    5861    class _NotificationsExport NotificationManager // tolua_export
  • code/trunk/src/modules/notifications/NotificationQueue.h

    r7489 r7552  
    5151{ // tolua_export
    5252
    53     //! Container to allow easy handling.
     53    /**
     54    @brief
     55        Container to allow easy handling of the @ref orxonox::Notification "Notifications".
     56
     57    @ingroup Notifications
     58    */
    5459    struct NotificationContainer
    5560    {
     
    5863    };
    5964
    60     //! Struct to allow ordering of @ref orxonox::NotificationContainer "NotificationContainers".
     65    /**
     66    @brief
     67        Struct to allow ordering of @ref orxonox::NotificationContainer "NotificationContainers".
     68
     69    @ingroup Notifications
     70    */
    6171    struct NotificationContainerCompare {
    6272        bool operator() (const NotificationContainer* const & a, const NotificationContainer* const & b) const
     
    7686    @author
    7787        Damian 'Mozork' Frick
     88
     89    @ingroup Notifications
    7890    */
    7991    class _NotificationsExport NotificationQueue // tolua_export
  • code/trunk/src/modules/notifications/dispatchers/CommandNotification.h

    r7489 r7552  
    6060        Upon being triggered this would display the @ref orxonox::Notification "Notification" "Please press {the binding of the specified command} to do something".
    6161        For more information on what can be used for @code <PlayerTrigger /> @endcode see the @ref orxonox::NotificationDispatcher "NotificationDispatcher" documentation.
     62
    6263    @author
    6364        Damian 'Mozork' Frick
     65
     66    @ingroup NotificationDispatchers
    6467    */
    6568    class _NotificationsExport CommandNotification : public NotificationDispatcher
  • code/trunk/src/modules/notifications/dispatchers/SimpleNotification.h

    r7488 r7552  
    5858        @endcode
    5959        For more information on what can be used for @code <PlayerTrigger /> @endcode see the @ref orxonox::NotificationDispatcher "NotificationDispatcher" documentation.
     60
    6061    @author
    6162        Damian 'Mozork' Frick
     63
     64    @ingroup NotificationDispatchers
    6265    */
    6366    class _NotificationsExport SimpleNotification : public NotificationDispatcher
Note: See TracChangeset for help on using the changeset viewer.