Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 24, 2013, 2:02:01 PM (11 years ago)
Author:
landauf
Message:

OrxonoxClass now takes a 'Context' object as constructor argument. Not yet enforced nor used

File:
1 edited

Legend:

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

    r8866 r9561  
    7070
    7171        public:
    72             OrxonoxClass();
     72            OrxonoxClass(Context* context = NULL);
    7373            virtual ~OrxonoxClass();
    7474
     
    8181            /// Returns the Identifier of the object.
    8282            inline Identifier* getIdentifier() const { return this->identifier_; }
     83
     84            /// Returns the object's Context.
     85            inline Context* getContext() const { return this->context_; }
    8386
    8487            bool isA(const Identifier* identifier);
     
    167170
    168171            Identifier* identifier_;                                //!< The Identifier of the object
     172            Context* context_;                                      //!< The object's context
    169173            std::set<const Identifier*>* parents_;                  //!< List of all parents of the object
    170174            MetaObjectList* metaList_;                              //!< MetaObjectList, containing all ObjectLists and ObjectListElements the object is registered in
Note: See TracChangeset for help on using the changeset viewer.