Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9371 in orxonox.OLD for branches/proxy/src/util/fast_factory.cc


Ignore:
Timestamp:
Jul 20, 2006, 11:08:16 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: ORXONOX is now completely std::stringed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/util/fast_factory.cc

    r9357 r9371  
    7979void FastFactory::registerFastFactory(FastFactory* fastFactory)
    8080{
    81   PRINTF(4)("Registered FastFactory for '%s'\n", fastFactory->getName());
     81  PRINTF(4)("Registered FastFactory for '%s'\n", fastFactory->getCName());
    8282
    8383  if( FastFactory::first == NULL)
     
    128128    while (tmpFac != NULL)
    129129    {
    130       if (fastFactoryName == tmpFac->getName())
     130      if (fastFactoryName == tmpFac->getCName())
    131131        return tmpFac;
    132132      tmpFac = tmpFac->next;
     
    145145  while (tmpFac != NULL)
    146146  {
    147     PRINTF(4)("DELETEING ALL OF %s\n",tmpFac->getName());
     147    PRINTF(4)("DELETEING ALL OF %s\n",tmpFac->getCName());
    148148    tmpFac->flush(hardFLUSH);
    149149    tmpFac = tmpFac->next;
     
    202202BaseObject* FastFactory::resurrect()
    203203{
    204   PRINTF(4)("Resurecting Object of type %s\n", this->getName());
     204  PRINTF(4)("Resurecting Object of type %s\n", this->getCName());
    205205  if (unlikely(this->deadList == NULL))
    206206  {
    207207    PRINTF(3)("The deadList of Class %s is empty, this may be either because it has not been filled yet, or the cache is to small.\n" \
    208208        "  Developer: try increasing the count with FastFactory::prepare(contHigher than actual)\n" \
    209         "    Fabricating a new %s\n", this->getName(), this->getName());
     209        "    Fabricating a new %s\n", this->getCName(), this->getCName());
    210210    this->fabricate();
    211211    return this->resurrect();
Note: See TracChangeset for help on using the changeset viewer.