Changeset 4318 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- May 27, 2005, 12:53:34 AM (20 years ago)
- Location:
- orxonox/trunk/src/util
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/animation/animation_player.cc
r3868 r4318 28 28 AnimationPlayer::AnimationPlayer () 29 29 { 30 this->setClass Name ("AnimationPlayer");30 this->setClassID(CL_ANIMATION_PLAYER); 31 31 32 32 this->animationList = new tList<Animation>(); -
orxonox/trunk/src/util/garbage_collector.cc
r4311 r4318 38 38 GarbageCollector::GarbageCollector () 39 39 { 40 this->setClass Name ("GarbageCollection");40 this->setClassID(CL_GARBAGE_COLLECTOR); 41 41 this->time = 0; 42 42 this->delay = 1.5f; /* clean up all 5.0 seconds */ -
orxonox/trunk/src/util/loading/load_param.h
r4299 r4318 180 180 static LoadClassDescription* addClass(const char* className); 181 181 LoadParamDescription* addParam(const char* paramName); 182 182 183 183 184 static void printAll(const char* fileName = NULL); -
orxonox/trunk/src/util/object_manager.cc
r4313 r4318 29 29 ObjectManager::ObjectManager () 30 30 { 31 this->setClass Name ("ObjectManager");31 this->setClassID(CL_OBJECT_MANAGER); 32 32 33 33 this->managedObjectList = new tList<BaseObject>*[CL_NUMBER]; 34 for(int i = 0; i < CL_NUMBER; ++i) 35 { 36 this->managedObjectList[i] = NULL; 37 } 34 38 35 39 this->garbageCollector = GarbageCollector::getInstance(); … … 91 95 for(int i = 0; i < CL_NUMBER; ++i) 92 96 { 93 if( this->managedObjectList[i] != NULL)97 if( this->managedObjectList[i] != NULL) 94 98 PRINT(0)("= o Class Nr. %i has cached %i object(s)\n", i, this->managedObjectList[i]->getSize()); 95 99 else -
orxonox/trunk/src/util/resource_manager.cc
r4216 r4318 38 38 ResourceManager::ResourceManager () 39 39 { 40 this->setClass Name ("ResourceManager");40 this->setClassID(CL_RESOURCE_MANAGER); 41 41 this->dataDir = NULL; 42 42 this->setDataDir("./"); -
orxonox/trunk/src/util/track/track_manager.cc
r4262 r4318 370 370 TrackManager::TrackManager(void) 371 371 { 372 this->setClassName("TrackManager"); 372 this->setClassID(CL_TRACK_MANAGER); 373 373 374 374 375 TrackManager::singletonRef = this; // do this because otherwise the TrackNode cannot get The instance of the TrackManager -
orxonox/trunk/src/util/track/track_node.cc
r4262 r4318 32 32 TrackNode::TrackNode () 33 33 { 34 this->setClass Name("TrackNode");34 this->setClassID(CL_TRACK_NODE); 35 35 this->setName("TrackNode"); /* absolete but still used... */ 36 36
Note: See TracChangeset
for help on using the changeset viewer.