Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 16, 2010, 6:15:45 PM (15 years ago)
Author:
dafrick
Message:

Done some (almost final) documenting in pickup module.

Location:
code/trunk/src/orxonox/interfaces
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/interfaces/Pickupable.cc

    r6524 r6538  
    2828
    2929/**
    30     @file
     30    @file Pickupable.cc
    3131    @brief Implementation of the Pickupable class.
    3232*/
     
    9696    /**
    9797    @brief
    98         Get whether the given PickupCarrier is a target of this pickup.
     98        Get whether the given PickupCarrier is a target of this Pickupable.
    9999    @param carrier
    100         The PickupCarrier of which it has to be determinde whether it is a target of this pickup.
     100        The PickupCarrier of which it has to be determinde whether it is a target of this Pickupable.
    101101    @return
    102102        Returns true if the given PickupCarrier is a target.
     
    109109    /**
    110110    @brief
    111         Get whether a given class, represented by the input Identifier, is a target of this pickup.
     111        Get whether a given class, represented by the input Identifier, is a target of this Pickupable.
    112112    @param target
    113         The Identifier of which it has to be determinde whether it is a target of this pickup.
     113        The Identifier of which it has to be determinde whether it is a target of this Pickupable.
    114114    @return
    115115        Returns true if the given Identifier is a target.
     
    128128    /**
    129129    @brief
    130         Add a PickupCarrier as target of this pickup.
     130        Add a PickupCarrier as target of this Pickupable.
    131131    @param target
    132132        The PickupCarrier to be added.
     
    141141    /**
    142142    @brief
    143         Add a class, representetd by the input Identifier, as target of this pickup.
     143        Add a class, representetd by the input Identifier, as target of this Pickupable.
    144144    @param target
    145145        The Identifier to be added.
     
    199199    /**
    200200    @brief
    201         Sets the carrier of the pickup.
     201        Sets the carrier of the Pickupable.
    202202    @param carrier
    203203        Sets the input PickupCarrier as the carrier of the pickup.
     
    265265        This method needs to be implemented by any Class inheriting from Pickupable.
    266266    @param item
    267         A pointer to the OrxonoxClass that is to be duplicated.
     267        A reference to a pointer to the OrxonoxClass that is to be duplicated.
    268268    */
    269269    //TODO: Specify how the implementation must be done in detail.
  • code/trunk/src/orxonox/interfaces/Pickupable.h

    r6533 r6538  
    2828
    2929/**
    30     @file
     30    @file Pickupable.h
    3131    @brief Definition of the Pickupable class.
    3232*/
     
    100100           
    101101            bool isTarget(const PickupCarrier* carrier) const; //!< Get whether the given PickupCarrier is a target of this pickup.
    102             virtual bool isTarget(Identifier* identifier) const; //!< Get whether a given class, represented by the input Identifier, is a target of this pickup.
     102            virtual bool isTarget(Identifier* identifier) const; //!< Get whether a given class, represented by the input Identifier, is a target of this Pickupable.
    103103            bool addTarget(PickupCarrier* target); //!< Add a PickupCarrier as target of this pickup.
    104104            bool addTarget(Identifier* identifier); //!< Add a class, representetd by the input Identifier, as target of this pickup.
     
    123123            @brief Helper method to initialize the PickupIdentifier.
    124124            */
    125             //TODO: Really needed?
    126125            void initializeIdentifier(void) {}
    127126           
Note: See TracChangeset for help on using the changeset viewer.