Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5163 in orxonox.OLD for trunk/src/lib/shell/shell_command.cc


Ignore:
Timestamp:
Sep 5, 2005, 10:37:45 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: match on Singleton dynamically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_command.cc

    r5161 r5163  
    3535//  this->classID = classID;
    3636  this->className = className; //ClassList::IDToString(classID);
    37 
    38 /*  if (classID & CL_MASK_SINGLETON == CL_MASK_SINGLETON)
    39     this->isSingleton = true;
    40   else*/
    41     this->isSingleton = true;
    4237
    4338  // handling parameters, and storing them:
     
    149144      PRINTF(4)("Class %s matches\n", elem->className);
    150145      BaseObject* objectPointer = NULL;
    151       if (elem->isSingleton)
     146      if (ClassList::StringToID(elem->className) & CL_MASK_SINGLETON == CL_MASK_SINGLETON)
    152147      {
    153148        while(*commandBegin == ' ')
Note: See TracChangeset for help on using the changeset viewer.