Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2010, 12:34:00 AM (14 years ago)
Author:
landauf
Message:

merged doc branch back to trunk

Location:
code/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/modules/notifications/Notification.cc

    r7193 r7401  
    5555    @brief
    5656        Constructor. Creates a Notification with the input message.
     57    @param creator
     58        The object that created this Notification
    5759    @param message
    5860        The message of the Notification.
  • code/trunk/src/modules/notifications/NotificationQueue.cc

    r7163 r7401  
    109109        Method for creating a NotificationQueue object through XML.
    110110    */
    111     void NotificationQueue::XMLPort(Element& xmlElement, XMLPort::Mode mode)
    112     {
    113         SUPER(NotificationQueue, XMLPort, xmlElement, mode);
     111    void NotificationQueue::XMLPort(Element& xmlelement, XMLPort::Mode mode)
     112    {
     113        SUPER(NotificationQueue, XMLPort, xmlelement, mode);
    114114
    115115        this->setDefaults();
    116116
    117         XMLPortParam(NotificationQueue, "maxSize", setMaxSize, getMaxSize, xmlElement, mode);
    118         XMLPortParam(NotificationQueue, "notificationLength", setNotificationLength, getNotificationLength, xmlElement, mode);
    119         XMLPortParam(NotificationQueue, "displayTime", setDisplayTime, getDisplayTime, xmlElement, mode);
    120         XMLPortParam(NotificationQueue, "targets", setTargets, getTargets, xmlElement, mode);
    121         XMLPortParam(NotificationQueue, "font", setFont, getFont, xmlElement, mode);
    122         XMLPortParam(NotificationQueue, "fontSize", setFontSize, getFontSize, xmlElement, mode);
    123         XMLPortParam(NotificationQueue, "position", setPosition, getPosition, xmlElement, mode);
     117        XMLPortParam(NotificationQueue, "maxSize", setMaxSize, getMaxSize, xmlelement, mode);
     118        XMLPortParam(NotificationQueue, "notificationLength", setNotificationLength, getNotificationLength, xmlelement, mode);
     119        XMLPortParam(NotificationQueue, "displayTime", setDisplayTime, getDisplayTime, xmlelement, mode);
     120        XMLPortParam(NotificationQueue, "targets", setTargets, getTargets, xmlelement, mode);
     121        XMLPortParam(NotificationQueue, "font", setFont, getFont, xmlelement, mode);
     122        XMLPortParam(NotificationQueue, "fontSize", setFontSize, getFontSize, xmlelement, mode);
     123        XMLPortParam(NotificationQueue, "position", setPosition, getPosition, xmlelement, mode);
    124124
    125125        COUT(3) << "NotificationQueue '" << this->getName() << "' created." << std::endl;
  • code/trunk/src/modules/notifications/NotificationQueue.h

    r7164 r7401  
    7171
    7272        Creating a NotificationQueue through XML goes as follows:
    73         Be aware that the NotificationQueue must be inside the <Level></Level> tags or bad things will happen.
     73        Be aware that the NotificationQueue must be inside the @code <Level></Level> @endcode tags or bad things will happen.
     74       
     75        @code
    7476        <NotificationQueue
    7577            name = "SuperQueue" //Name of your OverlayQueue.
     
    8284            position = "0.0, 0.0" //The position of the NotificationQueue. (Default is 0.0,0.0)
    8385        />
     86        @endcode
    8487    @author
    8588        Damian 'Mozork' Frick
     
    9396            virtual ~NotificationQueue();
    9497
    95             virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); //!< Method for creating a NotificationQueue object through XML.
     98            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a NotificationQueue object through XML.
    9699
    97100            virtual void tick(float dt); //!< To update from time to time.
Note: See TracChangeset for help on using the changeset viewer.