Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 24, 2013, 10:43:27 PM (11 years ago)
Author:
landauf
Message:

using Listable instead of OrxonoxClass as base class in object lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/core/object/ObjectListBase.h

    r9557 r9573  
    5656                @param objectBase The object to store
    5757            */
    58             ObjectListBaseElement(OrxonoxClass* objectBase) : next_(0), prev_(0), objectBase_(objectBase) {}
     58            ObjectListBaseElement(Listable* objectBase) : next_(0), prev_(0), objectBase_(objectBase) {}
    5959
    6060            ObjectListBaseElement* next_;       //!< The next element in the list
    6161            ObjectListBaseElement* prev_;       //!< The previous element in the list
    62             OrxonoxClass* objectBase_;
     62            Listable* objectBase_;
    6363    };
    6464
     
    7272    {
    7373        public:
    74             ObjectListElement(T* object) : ObjectListBaseElement(static_cast<OrxonoxClass*>(object)), object_(object) {}
     74            ObjectListElement(T* object) : ObjectListBaseElement(static_cast<Listable*>(object)), object_(object) {}
    7575            T* object_;              //!< The object
    7676    };
     
    142142                }
    143143            }
    144             void notifyIterators(OrxonoxClass* object) const;
     144            void notifyIterators(Listable* object) const;
    145145
    146146            inline Identifier* getIdentifier() const { return this->identifier_; }
Note: See TracChangeset for help on using the changeset viewer.