Changeset 7038 for code/branches/presentation3/src
- Timestamp:
- May 31, 2010, 9:24:33 AM (14 years ago)
- Location:
- code/branches/presentation3/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/modules/pickup/PickupSpawner.cc
r6711 r7038 223 223 else 224 224 { 225 COUT( 3) << "PickupSpawnerempty, selfdestruct initialized." << std::endl;225 COUT(4) << "PickupSpawner (&" << this << ") empty, selfdestruct initialized." << std::endl; 226 226 this->setActive(false); 227 227 this->destroy(); … … 248 248 if(this->pickup_ != NULL) 249 249 { 250 COUT(1) << "In PickupSpawner : setPickupable called, with this->pickup_ already set." << std::endl;250 COUT(1) << "In PickupSpawner (&" << this << "): setPickupable called, with this->pickup_ already set." << std::endl; 251 251 return; 252 252 } 253 253 if(pickup == NULL) 254 254 { 255 COUT(1) << "In PickupSpawner : Argument of setPickupable is NULL." << std::endl;255 COUT(1) << "In PickupSpawner (&" << this << "): Argument of setPickupable is NULL." << std::endl; 256 256 return; 257 257 } … … 282 282 if (this->isActive()) //!< Checks whether PickupSpawner is active. 283 283 { 284 COUT( 3) << "PickupSpawnertriggered and active." << std::endl;284 COUT(4) << "PickupSpawner (&" << this << ") triggered and active." << std::endl; 285 285 286 286 PickupCarrier* carrier = dynamic_cast<PickupCarrier*>(pawn); … … 293 293 if(!carrier->isTarget(this->pickup_)) 294 294 { 295 COUT(4) << "PickupSpawner triggered but Pawn wasn't a target of the Pickupable." << std::endl;295 COUT(4) << "PickupSpawner (&" << this << ") triggered but Pawn wasn't a target of the Pickupable." << std::endl; 296 296 return; 297 297 } … … 314 314 { 315 315 if(target == NULL) 316 COUT(1) << "PickupSpawner : Pickupable has no target." << std::endl;316 COUT(1) << "PickupSpawner (&" << this << "): Pickupable has no target." << std::endl; 317 317 318 318 if(pickup == NULL) 319 319 { 320 COUT(1) << "PickupSpawner : getPickup produced an error, no Pickupable created." << std::endl;320 COUT(1) << "PickupSpawner (&" << this << "): getPickup produced an error, no Pickupable created." << std::endl; 321 321 } 322 322 else … … 352 352 void PickupSpawner::respawnTimerCallback() 353 353 { 354 COUT( 3) << "PickupSpawnerreactivated." << std::endl;354 COUT(4) << "PickupSpawner (&" << this << ") reactivated." << std::endl; 355 355 356 356 this->setActive(true); -
code/branches/presentation3/src/orxonox/controllers/DroneController.cc
r7035 r7038 97 97 } 98 98 99 /* 99 /** 100 100 @brief 101 101 The controlling happens here. This method defines what the controller has to do each tick.
Note: See TracChangeset
for help on using the changeset viewer.