Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5645 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Nov 19, 2005, 9:48:38 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: first Element gets loaded through the new LoadParam procedure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/lang/base_object.cc

    r5642 r5645  
    6262{
    6363  // name setup
    64   LoadParam<BaseObject>(root, "name", this, &BaseObject::setName)
    65       .describe("the name of the Object at hand");
     64  LoadParamBase(root, "name", this, ExecutorObjective<BaseObject>(&BaseObject::setName))
     65      .describe("the Name of the Object.");
     66//  LoadParam<BaseObject>(root, "name", this, &BaseObject::setName)
     67      //.describe("the name of the Object at hand");
    6668}
    6769
     
    8688  if (this->objectName)
    8789    delete[] this->objectName;
    88   if (objectName)
     90  if (objectName != NULL)
    8991  {
    9092    this->objectName = new char[strlen(objectName)+1];
Note: See TracChangeset for help on using the changeset viewer.