Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4320 in orxonox.OLD for orxonox/trunk/src/util


Ignore:
Timestamp:
May 27, 2005, 1:13:42 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: now string name of a class works parallel to the int id representation and is only used for documentation purposes

Location:
orxonox/trunk/src/util
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/animation/animation_player.cc

    r4318 r4320  
    2828AnimationPlayer::AnimationPlayer ()
    2929{
    30    this->setClassID(CL_ANIMATION_PLAYER);
     30   this->setClassID(CL_ANIMATION_PLAYER, "AnimationPlayer");
    3131
    3232   this->animationList = new tList<Animation>();
  • orxonox/trunk/src/util/garbage_collector.cc

    r4318 r4320  
    3838GarbageCollector::GarbageCollector ()
    3939{
    40    this->setClassID(CL_GARBAGE_COLLECTOR);
     40   this->setClassID(CL_GARBAGE_COLLECTOR, "GarbageCollector");
    4141   this->time = 0;
    4242   this->delay = 1.5f; /* clean up all 5.0 seconds */
  • orxonox/trunk/src/util/object_manager.cc

    r4318 r4320  
    2929ObjectManager::ObjectManager ()
    3030{
    31   this->setClassID(CL_OBJECT_MANAGER);
     31  this->setClassID(CL_OBJECT_MANAGER, "ObjectManager");
    3232 
    3333  this->managedObjectList = new tList<BaseObject>*[CL_NUMBER];
  • orxonox/trunk/src/util/resource_manager.cc

    r4318 r4320  
    3838ResourceManager::ResourceManager ()
    3939{
    40    this->setClassID(CL_RESOURCE_MANAGER);
     40   this->setClassID(CL_RESOURCE_MANAGER, "ResourceManager");
    4141   this->dataDir = NULL;
    4242   this->setDataDir("./");
  • orxonox/trunk/src/util/track/track_manager.cc

    r4318 r4320  
    370370TrackManager::TrackManager(void)
    371371{
    372   this->setClassID(CL_TRACK_MANAGER);
    373  
     372  this->setClassID(CL_TRACK_MANAGER, "TrackManager");
    374373 
    375374  TrackManager::singletonRef = this; // do this because otherwise the TrackNode cannot get The instance of the TrackManager
  • orxonox/trunk/src/util/track/track_node.cc

    r4318 r4320  
    3232TrackNode::TrackNode ()
    3333{
    34   this->setClassID(CL_TRACK_NODE);
     34  this->setClassID(CL_TRACK_NODE, "TrackNode");
    3535  this->setName("TrackNode"); /* absolete but still used... */
    3636
Note: See TracChangeset for help on using the changeset viewer.