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/orxonox/interfaces
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/interfaces/NotificationListener.h

    r7484 r7552  
    5656        The NotificationListener interface presents a means to being informed when @ref orxonox::Notification "Notifications" in the target set of this NotificationListener change. (e.g. @ref orxonox::Notification "Notifications" were added or removed)
    5757        When inheriting from a NotificationListener it is important to register (in the constructor) and unregister (in the destructor) it to and from the @ref orxonox::NotificationManager "NotificationManager".
     58
    5859    @author
    5960        Fabian 'x3n' Landau
     61
     62    @ingroup Notifications
    6063    */
    61     //TODO: Needed? Remove or move some NotificationQueue things over here.
    6264    class _OrxonoxExport NotificationListener : virtual public OrxonoxClass
    6365    {
  • code/trunk/src/orxonox/interfaces/PickupCarrier.h

    r7547 r7552  
    4747
    4848    // Forward-declarations.
    49     class PickupManager;
    50     class Pickup;
    51     class HealthPickup;
    52     class InvisiblePickup;
    5349    class MetaPickup;
    54     class DronePickup;
    55     class SpeedPickup;
    5650
    5751    /**
     
    7872        friend class PickupManager;
    7973        // Friends.
    80         friend class Pickup;
    81         friend class HealthPickup;
    82         friend class InvisiblePickup;
    8374        friend class MetaPickup;
    84         friend class DronePickup;
    85         friend class SpeedPickup;
    8675
    8776        public:
  • code/trunk/src/orxonox/interfaces/Pickupable.h

    r7547 r7552  
    6262    class _OrxonoxExport Pickupable : virtual public OrxonoxClass, public Rewardable
    6363    {
     64        friend class PickupCarrier;
     65
    6466        protected:
    6567            Pickupable(); //!< Default constructor.
     
    146148            bool setUsed(bool used); //!< Sets the Pickupable to used or unused, depending on the input.
    147149            bool setPickedUp(bool pickedUp); //!< Helper method to set the Pickupable to either picked up or not picked up.
    148             //TODO: private?
    149150            bool setCarrier(PickupCarrier* carrier, bool tell = true); //!< Sets the carrier of the Pickupable.
    150 
    151             //TODO: private?
    152             virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed.
    153151
    154152            void destroy(void); //!< Is called internally within the Pickupable module to destroy pickups.
     
    162160            virtual void preDestroy(void); //!< A method that is called by OrxonoxClass::destroy() before the object is actually destroyed.
    163161            virtual void destroyPickup(void); //!< Destroys a Pickupable.
     162            virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed.
    164163
    165164            /**
Note: See TracChangeset for help on using the changeset viewer.