Changeset 4834 in orxonox.OLD for orxonox/trunk/src/util/track
- Timestamp:
- Jul 11, 2005, 5:47:23 PM (19 years ago)
- Location:
- orxonox/trunk/src/util/track
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/track/track_manager.cc
r4832 r4834 394 394 \param root the TiXmlElement to load the Data from 395 395 */ 396 bool TrackManager::loadParams( TiXmlElement* root) 397 { 398 TiXmlElement* element; 399 TiXmlNode* container; 396 bool TrackManager::loadParams(const TiXmlElement* root) 397 { 400 398 double x, y, z, d; 401 399 402 element = root->FirstChildElement(); 403 while( element != NULL) 404 { 400 LOAD_PARAM_START_CYCLE 401 405 402 LoadParam<TrackManager>(element, "WorkOn", this, &TrackManager::workOnS, true) 406 403 .describe("Selects a TrackElement (by name) to work on"); … … 448 445 } 449 446 */ 450 element = element->NextSiblingElement(); 451 } 452 447 LOAD_PARAM_END_CYCLE; 453 448 } 454 449 -
orxonox/trunk/src/util/track/track_manager.h
r4833 r4834 139 139 inline static TrackManager* getInstance() { if (!singletonRef) singletonRef = new TrackManager(); return singletonRef; }; 140 140 141 bool loadParams( TiXmlElement* root);141 bool loadParams(const TiXmlElement* root); 142 142 143 143 // Methods to change the Path (initialisation)
Note: See TracChangeset
for help on using the changeset viewer.