Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2010, 8:37:29 PM (14 years ago)
Author:
landauf
Message:

fixed lots of Doxygen warnings

Note: Doxygen prints a warning if only a part of the parameters of a function are documented.

Added documentation for missing parameters (as good as I could), removed documentation of obsolete parameters and fixed names of renamed parameters.
Some parameters are tagged with "FIXME", please replace this with an appropriate documentation if you know what it does.

Location:
code/branches/doc/src/modules
Files:
32 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/modules/notifications/Notification.cc

    r7193 r7297  
    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/branches/doc/src/modules/notifications/NotificationQueue.cc

    r7163 r7297  
    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/branches/doc/src/modules/notifications/NotificationQueue.h

    r7164 r7297  
    9393            virtual ~NotificationQueue();
    9494
    95             virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); //!< Method for creating a NotificationQueue object through XML.
     95            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a NotificationQueue object through XML.
    9696
    9797            virtual void tick(float dt); //!< To update from time to time.
  • code/branches/doc/src/modules/objects/Planet.cc

    r7163 r7297  
    144144    }
    145145
    146     /**
    147         @brief XML loading and saving.
    148         @param xmlelement The XML-element
    149         @param loading Loading (true) or saving (false)
    150         @return The XML-element
    151     */
    152146    void Planet::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    153147    {
  • code/branches/doc/src/modules/objects/triggers/DistanceMultiTrigger.h

    r7163 r7297  
    6565            /**
    6666            @brief Set the target name of DistanceTriggerBeacons that triggers this DistanceMultiTrigger.
    67             @param targename The name of the DistanceTriggerBeacon as a string.
     67            @param targetname The name of the DistanceTriggerBeacon as a string.
    6868            */
    6969            inline void setTargetName(const std::string& targetname)
  • code/branches/doc/src/modules/objects/triggers/MultiTrigger.cc

    r7163 r7297  
    308308    @brief
    309309        Get whether the MultiTrigger is active for a given object.
    310     @param triggerers
     310    @param triggerer
    311311        A pointer to the object.
    312312    @return
  • code/branches/doc/src/modules/overlays/FadeoutText.h

    r5929 r7297  
    4444            virtual ~FadeoutText() {}
    4545
    46             virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     46            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    4747            virtual void tick(float dt);
    4848
  • code/branches/doc/src/modules/overlays/GUIOverlay.cc

    r7163 r7297  
    5252    }
    5353
    54     void GUIOverlay::XMLPort(Element& xmlElement, XMLPort::Mode mode)
     54    void GUIOverlay::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    5555    {
    56         SUPER(GUIOverlay, XMLPort, xmlElement, mode);
     56        SUPER(GUIOverlay, XMLPort, xmlelement, mode);
    5757
    58         XMLPortParam(GUIOverlay, "guiname", setGUIName, getGUIName, xmlElement, mode);
     58        XMLPortParam(GUIOverlay, "guiname", setGUIName, getGUIName, xmlelement, mode);
    5959    }
    6060
  • code/branches/doc/src/modules/overlays/GUIOverlay.h

    r6753 r7297  
    4444            virtual ~GUIOverlay();
    4545
    46             virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     46            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    4747
    4848            void setGUIName(const std::string& name);
  • code/branches/doc/src/modules/overlays/OverlayText.cc

    r6417 r7297  
    7171    }
    7272
    73     void OverlayText::XMLPort(Element& xmlElement, XMLPort::Mode mode)
     73    void OverlayText::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    7474    {
    75         SUPER(OverlayText, XMLPort, xmlElement, mode);
     75        SUPER(OverlayText, XMLPort, xmlelement, mode);
    7676
    77         XMLPortParam(OverlayText, "font",       setFont,            getFont,            xmlElement, mode);
    78         XMLPortParam(OverlayText, "colour",     setColour,          getColour,          xmlElement, mode);
    79         XMLPortParam(OverlayText, "caption",    setCaption,         getCaption,         xmlElement, mode);
    80         XMLPortParam(OverlayText, "textsize",   setTextSize,        getTextSize,        xmlElement, mode);
    81         XMLPortParam(OverlayText, "align",      setAlignmentString, getAlignmentString, xmlElement, mode);
    82         XMLPortParam(OverlayText, "spacewidth", setSpaceWidth,      getSpaceWidth,      xmlElement, mode);
     77        XMLPortParam(OverlayText, "font",       setFont,            getFont,            xmlelement, mode);
     78        XMLPortParam(OverlayText, "colour",     setColour,          getColour,          xmlelement, mode);
     79        XMLPortParam(OverlayText, "caption",    setCaption,         getCaption,         xmlelement, mode);
     80        XMLPortParam(OverlayText, "textsize",   setTextSize,        getTextSize,        xmlelement, mode);
     81        XMLPortParam(OverlayText, "align",      setAlignmentString, getAlignmentString, xmlelement, mode);
     82        XMLPortParam(OverlayText, "spacewidth", setSpaceWidth,      getSpaceWidth,      xmlelement, mode);
    8383    }
    8484
  • code/branches/doc/src/modules/overlays/OverlayText.h

    r5781 r7297  
    5252        virtual ~OverlayText();
    5353
    54         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     54        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    5555
    5656        void setCaption(const std::string& caption);
  • code/branches/doc/src/modules/overlays/hud/HUDBar.cc

    r6677 r7297  
    5555    }
    5656
    57     void BarColour::XMLPort(Element& xmlElement, XMLPort::Mode mode)
    58     {
    59         SUPER(BarColour, XMLPort, xmlElement, mode);
    60 
    61         XMLPortParam(BarColour, "colour", setColour, getColour, xmlElement, mode);
    62         XMLPortParam(BarColour, "position", setPosition, getPosition, xmlElement, mode);
     57    void BarColour::XMLPort(Element& xmlelement, XMLPort::Mode mode)
     58    {
     59        SUPER(BarColour, XMLPort, xmlelement, mode);
     60
     61        XMLPortParam(BarColour, "colour", setColour, getColour, xmlelement, mode);
     62        XMLPortParam(BarColour, "position", setPosition, getPosition, xmlelement, mode);
    6363    }
    6464
     
    104104    }
    105105
    106     void HUDBar::XMLPort(Element& xmlElement, XMLPort::Mode mode)
    107     {
    108         SUPER(HUDBar, XMLPort, xmlElement, mode);
    109 
    110         XMLPortParam(HUDBar, "initialvalue", setValue,       getValue,       xmlElement, mode);
    111         XMLPortParam(HUDBar, "righttoleft",  setRightToLeft, getRightToLeft, xmlElement, mode);
    112         XMLPortParam(HUDBar, "autocolour",   setAutoColour,  getAutoColour,  xmlElement, mode);
    113         XMLPortParam(HUDBar, "bartexture",   setBarTexture,  getBarTexture, xmlElement, mode);
    114         XMLPortObject(HUDBar, BarColour, "", addColour, getColour, xmlElement, mode);
     106    void HUDBar::XMLPort(Element& xmlelement, XMLPort::Mode mode)
     107    {
     108        SUPER(HUDBar, XMLPort, xmlelement, mode);
     109
     110        XMLPortParam(HUDBar, "initialvalue", setValue,       getValue,       xmlelement, mode);
     111        XMLPortParam(HUDBar, "righttoleft",  setRightToLeft, getRightToLeft, xmlelement, mode);
     112        XMLPortParam(HUDBar, "autocolour",   setAutoColour,  getAutoColour,  xmlelement, mode);
     113        XMLPortParam(HUDBar, "bartexture",   setBarTexture,  getBarTexture, xmlelement, mode);
     114        XMLPortObject(HUDBar, BarColour, "", addColour, getColour, xmlelement, mode);
    115115    }
    116116
  • code/branches/doc/src/modules/overlays/hud/HUDBar.h

    r5781 r7297  
    5050        virtual ~BarColour() { }
    5151
    52         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     52        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    5353
    5454        void setColour(const ColourValue& colour) { this->colour_ = colour; }
     
    7070        virtual ~HUDBar();
    7171
    72         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     72        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    7373
    7474        void clearColours();
  • code/branches/doc/src/modules/overlays/hud/HUDHealthBar.h

    r6417 r7297  
    4545            virtual ~HUDHealthBar();
    4646
    47             virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     47            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    4848            virtual void tick(float dt);
    4949            virtual void changedOwner();
  • code/branches/doc/src/modules/overlays/hud/HUDNavigation.cc

    r7163 r7297  
    9090}
    9191
    92 void HUDNavigation::XMLPort ( Element& xmlElement, XMLPort::Mode mode )
    93 {
    94     SUPER ( HUDNavigation, XMLPort, xmlElement, mode );
    95 
    96     XMLPortParam ( HUDNavigation, "font",          setFont,          getFont,          xmlElement, mode );
    97     XMLPortParam ( HUDNavigation, "textSize",      setTextSize,      getTextSize,      xmlElement, mode );
    98     XMLPortParam ( HUDNavigation, "navMarkerSize", setNavMarkerSize, getNavMarkerSize, xmlElement, mode );
     92void HUDNavigation::XMLPort ( Element& xmlelement, XMLPort::Mode mode )
     93{
     94    SUPER ( HUDNavigation, XMLPort, xmlelement, mode );
     95
     96    XMLPortParam ( HUDNavigation, "font",          setFont,          getFont,          xmlelement, mode );
     97    XMLPortParam ( HUDNavigation, "textSize",      setTextSize,      getTextSize,      xmlelement, mode );
     98    XMLPortParam ( HUDNavigation, "navMarkerSize", setNavMarkerSize, getNavMarkerSize, xmlelement, mode );
    9999}
    100100
  • code/branches/doc/src/modules/overlays/hud/HUDNavigation.h

    r7163 r7297  
    5151    void setConfigValues();
    5252
    53     virtual void XMLPort ( Element& xmlElement, XMLPort::Mode mode );
     53    virtual void XMLPort ( Element& xmlelement, XMLPort::Mode mode );
    5454    virtual void tick ( float dt );
    5555
  • code/branches/doc/src/modules/overlays/hud/HUDRadar.cc

    r7184 r7297  
    8282    }
    8383
    84     void HUDRadar::XMLPort(Element& xmlElement, XMLPort::Mode mode)
     84    void HUDRadar::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    8585    {
    86         SUPER(HUDRadar, XMLPort, xmlElement, mode);
     86        SUPER(HUDRadar, XMLPort, xmlelement, mode);
    8787
    88         XMLPortParam(HUDRadar, "sensitivity", setRadarSensitivity, getRadarSensitivity, xmlElement, mode);
    89         XMLPortParam(HUDRadar, "halfDotSizeDistance", setHalfDotSizeDistance, getHalfDotSizeDistance, xmlElement, mode);
    90         XMLPortParam(HUDRadar, "maximumDotSize", setMaximumDotSize, getMaximumDotSize, xmlElement, mode);
     88        XMLPortParam(HUDRadar, "sensitivity", setRadarSensitivity, getRadarSensitivity, xmlelement, mode);
     89        XMLPortParam(HUDRadar, "halfDotSizeDistance", setHalfDotSizeDistance, getHalfDotSizeDistance, xmlelement, mode);
     90        XMLPortParam(HUDRadar, "maximumDotSize", setMaximumDotSize, getMaximumDotSize, xmlelement, mode);
    9191    }
    9292
  • code/branches/doc/src/modules/overlays/hud/HUDRadar.h

    r7163 r7297  
    4949        virtual ~HUDRadar();
    5050
    51         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     51        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    5252        virtual void changedOwner();
    5353
  • code/branches/doc/src/modules/overlays/stats/Scoreboard.cc

    r6502 r7297  
    5454            this->lines_.pop_back();
    5555        }
    56     }
    57 
    58     /**
    59         @brief Initializes the lines.
    60     */
    61     void Scoreboard::XMLPort(Element& xmlElement, XMLPort::Mode mode)
    62     {
    63         SUPER(Scoreboard, XMLPort, xmlElement, mode);
    6456    }
    6557
  • code/branches/doc/src/modules/overlays/stats/Scoreboard.h

    r5929 r7297  
    4444        virtual ~Scoreboard();
    4545
    46         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
    4746        virtual void tick(float dt);
    4847
  • code/branches/doc/src/modules/overlays/stats/Stats.cc

    r6502 r7297  
    9898    }
    9999
    100     /**
    101         @brief Initializes the Stats panel.
    102     */
    103     void Stats::XMLPort(Element& xmlElement, XMLPort::Mode mode)
    104     {
    105         OrxonoxOverlay::XMLPort(xmlElement, mode);
    106     }
    107 
    108100    void Stats::tick(float dt)
    109101    {
  • code/branches/doc/src/modules/overlays/stats/Stats.h

    r5781 r7297  
    4646        void setConfigValues();
    4747
    48         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
    49 
    5048        virtual void tick(float dt);
    5149
  • code/branches/doc/src/modules/pickup/DroppedPickup.cc

    r7163 r7297  
    6161    @param pickup
    6262        The Pickupable that was dropped.
    63     @param position
    64         The position at which the DroppedPickup should be created.
     63    @param carrier
     64        FIXME - add doc!
    6565    @param triggerDistance
    6666        The distance at which the PickupSpawner triggers. Default is 10.
  • code/branches/doc/src/modules/pickup/Pickup.cc

    r7208 r7297  
    225225        This method must be implemented by any class directly inheriting from Pickupable. It is most easily done by just creating a new DroppedPickup, e.g.:
    226226        DroppedPickup(BaseObject* creator, Pickupable* pickup, const Vector3& position);
    227     @param position
    228         The position at which the PickupSpawner should be placed.
    229227    @return
    230228        Returns true if a spawner was created, false if not.
  • code/branches/doc/src/modules/pickup/PickupCollection.cc

    r7163 r7297  
    228228    @brief
    229229        Get whether a given class, represented by the input Identifier, is a target of this PickupCollection.
    230     @param identifier
    231         A pointer to the PickupIdentifier of the PickupCarrier we want to know of, whether it is a target of this PickupCollection.
     230    @param carrier
     231        A pointer to the PickupCarrier we want to know of, whether it is a target of this PickupCollection.
    232232    @return
    233233        Returns true if the PickupCarrier identified by the input PickupIdentififer it is a target of this PickupCollection, false if not.
     
    336336        This method must be implemented by any class directly inheriting from Pickupable. It is most easily done by just creating a new DroppedPickup, e.g.:
    337337        DroppedPickup(BaseObject* creator, Pickupable* pickup, const Vector3& position);
    338     @param position
    339         The position at which the PickupSpawner should be placed.
    340338    @return
    341339        Returns true if a spawner was created, false if not.
  • code/branches/doc/src/modules/pickup/PickupCollectionIdentifier.cc

    r7163 r7297  
    9999    @brief
    100100        Add a Pickupable to the PickupCollectionIdentifier.
    101     @param
     101    @param identifier
    102102        A pointer to the PickupIdentifier of the Pickupable to be added.
    103103    */
  • code/branches/doc/src/modules/pickup/PickupSpawner.cc

    r7163 r7297  
    7070    @param respawnTime
    7171        The minimum time between two spawns.
    72     @param maySpawnedItems
     72    @param maxSpawnedItems
    7373        The maximum number of items spawned by this PickupSpawner.
    7474    */
  • code/branches/doc/src/modules/pickup/items/SpeedPickup.cc

    r7208 r7297  
    252252    @brief
    253253        Sets the SpeedMultiply
    254     @param speedAdd
     254    @param speedMultiply
    255255        The multiplied Speed
    256256    */
  • code/branches/doc/src/modules/questsystem/AddQuestHint.cc

    r7163 r7297  
    8080    @param id
    8181        The QuestHint id.
    82     @param
     82    @return
    8383        Returns true if successful.
    8484    */
  • code/branches/doc/src/modules/questsystem/Quest.cc

    r7163 r7297  
    197197    @brief
    198198        Returns the subquest at the given index.
    199     @param
     199    @param index
    200200        The index.
    201201    @return
     
    222222    @brief
    223223        Returns the QuestHint at the given index.
    224     @param
     224    @param index
    225225        The index.
    226226    @return
     
    246246    @brief
    247247        Returns the fail QuestEffect at the given index.
    248     @param
     248    @param index
    249249        The index.
    250250    @return
     
    270270    @brief
    271271        Returns the complete QuestEffect at the given index.
    272     @param
     272    @param index
    273273        The index.
    274274    @return
  • code/branches/doc/src/modules/questsystem/QuestEffectBeacon.cc

    r7163 r7297  
    9292        Executes the QuestEffectBeacon.
    9393        This means extracting the Pawn from the PlayerTrigger, provided by the Event causing the execution, and the extracting the PlayerInfo from the received Pawn and invoking the QuestEffectbeacon's QuestEffects on the received PlayerInfo.
     94    @param b
     95        true means the trigger was activated while false means it was deactivated
    9496    @param trigger
    9597        A pointer to the PlayerTrigger that threw the Event.
  • code/branches/doc/src/modules/questsystem/QuestNotification.cc

    r7163 r7297  
    4848    @brief
    4949        Creates a QuestNotification with the input message.
     50    @param creator
     51        The creator of this object
    5052    @param message
    5153        The message to be sent.
Note: See TracChangeset for help on using the changeset viewer.