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.cc

    r9557 r9561  
    3636#include <cassert>
    3737#include "object/MetaObjectList.h"
     38#include "object/Context.h"
    3839#include "Identifier.h"
    3940
     
    4344        @brief Constructor: Sets the default values.
    4445    */
    45     OrxonoxClass::OrxonoxClass()
     46    OrxonoxClass::OrxonoxClass(Context* context) : context_(context)
    4647    {
     48        //assert(context);
     49        if (!this->context_)
     50            this->context_ = Context::getRootContext();
     51
    4752        this->identifier_ = 0;
    4853        this->parents_ = 0;
Note: See TracChangeset for help on using the changeset viewer.