Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 1, 2011, 7:09:29 PM (14 years ago)
Author:
landauf
Message:

Replaced COUT() with orxout() in all modules. phew.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/modules/pickup/PickupManager.cc

    r8729 r8811  
    7272        this->defaultRepresentation_ = new PickupRepresentation();
    7373
    74         COUT(3) << "PickupManager created." << std::endl;
     74        orxout(internal_info, context::pickups) << "PickupManager created." << endl;
    7575    }
    7676
     
    101101        this->indexes_.clear();
    102102
    103         COUT(3) << "PickupManager destroyed." << std::endl;
     103        orxout(internal_info, context::pickups) << "PickupManager destroyed." << endl;
    104104    }
    105105
     
    126126        this->representations_[identifier] = representation;
    127127
    128         COUT(4) << "PickupRepresentation &" << representation << " registered with the PickupManager." << std::endl;
     128        orxout(verbose, context::pickups) << "PickupRepresentation &" << representation << " registered with the PickupManager." << endl;
    129129        return true;
    130130    }
     
    151151        this->representations_.erase(it);
    152152
    153         COUT(4) << "PickupRepresentation &" << representation << " unregistered with the PickupManager." << std::endl;
     153        orxout(verbose, context::pickups) << "PickupRepresentation &" << representation << " unregistered with the PickupManager." << endl;
    154154        return true;
    155155    }
     
    208208        if(it == this->representations_.end()) // If there is no PickupRepresentation associated with the input PickupIdentifier.
    209209        {
    210             COUT(4) << "PickupManager::getRepresentation() returned default representation." << std::endl;
     210            orxout(verbose, context::pickups) << "PickupManager::getRepresentation() returned default representation." << endl;
    211211            return this->defaultRepresentation_;
    212212        }
     
    284284        if(manager.pickupInventoryContainers_.find(pickup) == manager.pickupInventoryContainers_.end())
    285285        {
    286             COUT(1) << "Error: Pickupable &(" << pickup << ") was not registered with PickupManager for the PickupInventory, when it changed used." << std::endl;
     286            orxout(internal_error, context::pickups) << "Pickupable &(" << pickup << ") was not registered with PickupManager for the PickupInventory, when it changed used." << endl;
    287287            return;
    288288        }
Note: See TracChangeset for help on using the changeset viewer.