Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 12, 2011, 12:48:23 AM (13 years ago)
Author:
landauf
Message:

cleaned up contexts, added some sub-contexts and made some output verbose

Location:
code/branches/output/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/core/ClassFactory.h

    r8806 r8835  
    7373            ClassFactory(const std::string& name, bool bLoadable = true)
    7474            {
    75                 orxout(verbose, context::identifier) << "Create entry for " << name << " in Factory." << endl;
     75                orxout(verbose, context::misc::factory) << "Create entry for " << name << " in Factory." << endl;
    7676                ClassIdentifier<T>::getIdentifier(name)->addFactory(this);
    7777                ClassIdentifier<T>::getIdentifier()->setLoadable(bLoadable);
  • code/branches/output/src/libraries/core/command/Executor.cc

    r8806 r8835  
    108108        }
    109109
    110         orxout(verbose, context::executor) << "Executor::parse: \"" << arguments.join(delimiter) << "\" -> " << argCount << " arguments: " << arg[0] << " / " << arg[1] << " / " << arg[2] << " / " << arg[3] << " / " << arg[4] << endl;
     110        orxout(verbose, context::misc::executor) << "Executor::parse: \"" << arguments.join(delimiter) << "\" -> " << argCount << " arguments: " << arg[0] << " / " << arg[1] << " / " << arg[2] << " / " << arg[3] << " / " << arg[4] << endl;
    111111
    112112        // execute the function with the evaluated arguments (the default values of the executor are also included in these arguments)
  • code/branches/output/src/libraries/util/output/OutputDefinitions.h

    r8833 r8835  
    100100            REGISTER_OUTPUT_CONTEXT(language);
    101101            REGISTER_OUTPUT_CONTEXT(commands);
    102             REGISTER_OUTPUT_CONTEXT(executor);
    103102            REGISTER_OUTPUT_CONTEXT(input);
    104103            REGISTER_OUTPUT_CONTEXT(events);
     
    120119            namespace misc
    121120            {
    122                 REGISTER_OUTPUT_SUBCONTEXT(misc, testcontext1);
    123                 REGISTER_OUTPUT_SUBCONTEXT(misc, testcontext2);
    124                 REGISTER_OUTPUT_SUBCONTEXT(misc, testcontext3);
    125                 REGISTER_OUTPUT_SUBCONTEXT(misc, testcontext4);
     121                REGISTER_OUTPUT_SUBCONTEXT(misc, executor);
     122                REGISTER_OUTPUT_SUBCONTEXT(misc, factory);
     123                REGISTER_OUTPUT_SUBCONTEXT(misc, gui);
     124                REGISTER_OUTPUT_SUBCONTEXT(misc, overlays);
     125                REGISTER_OUTPUT_SUBCONTEXT(misc, script);
    126126            }
    127127
    128             REGISTER_OUTPUT_CONTEXT(c30);
    129             REGISTER_OUTPUT_CONTEXT(c31);
    130             REGISTER_OUTPUT_CONTEXT(c32);
    131             REGISTER_OUTPUT_CONTEXT(c33);
    132             REGISTER_OUTPUT_CONTEXT(c34);
    133             REGISTER_OUTPUT_CONTEXT(c35);
    134             REGISTER_OUTPUT_CONTEXT(c36);
    135             REGISTER_OUTPUT_CONTEXT(c37);
    136             REGISTER_OUTPUT_CONTEXT(c38);
    137             REGISTER_OUTPUT_CONTEXT(c39);
    138             REGISTER_OUTPUT_CONTEXT(c40);
    139             REGISTER_OUTPUT_CONTEXT(c41);
    140             REGISTER_OUTPUT_CONTEXT(c42);
    141             REGISTER_OUTPUT_CONTEXT(c43);
    142             REGISTER_OUTPUT_CONTEXT(c44);
    143             REGISTER_OUTPUT_CONTEXT(c45);
    144             REGISTER_OUTPUT_CONTEXT(c46);
    145             REGISTER_OUTPUT_CONTEXT(c47);
    146             REGISTER_OUTPUT_CONTEXT(c48);
    147             REGISTER_OUTPUT_CONTEXT(c49);
    148             REGISTER_OUTPUT_CONTEXT(c50);
    149             REGISTER_OUTPUT_CONTEXT(c51);
    150             REGISTER_OUTPUT_CONTEXT(c52);
    151             REGISTER_OUTPUT_CONTEXT(c53);
    152             REGISTER_OUTPUT_CONTEXT(c54);
    153             REGISTER_OUTPUT_CONTEXT(c55);
    154             REGISTER_OUTPUT_CONTEXT(c56);
    155             REGISTER_OUTPUT_CONTEXT(c57);
    156             REGISTER_OUTPUT_CONTEXT(c58);
    157             REGISTER_OUTPUT_CONTEXT(c59);
    158             REGISTER_OUTPUT_CONTEXT(c60);
    159             REGISTER_OUTPUT_CONTEXT(c61);
    160             REGISTER_OUTPUT_CONTEXT(c62);
    161             REGISTER_OUTPUT_CONTEXT(c63);
    162             REGISTER_OUTPUT_CONTEXT(c64);
    163             REGISTER_OUTPUT_CONTEXT(c65);
    164             REGISTER_OUTPUT_CONTEXT(c66);
    165128        }
    166129    }
  • code/branches/output/src/modules/objects/Script.cc

    r8811 r8835  
    137137            return false;
    138138
    139         orxout(internal_info) << "Script (&" << this << ") triggered." << endl;
     139        orxout(verbose, context::misc::script) << "Script (&" << this << ") triggered." << endl;
    140140
    141141        PlayerTrigger* pTrigger = orxonox_cast<PlayerTrigger*>(trigger);
  • code/branches/output/src/modules/overlays/GUIOverlay.cc

    r8811 r8835  
    7676            GUIManager::getInstance().showGUIExtra(this->guiName_, str);
    7777
    78             orxout(internal_info) << "Showing GUI " << this->guiName_ << endl;
     78            orxout(verbose, context::misc::gui) << "Showing GUI " << this->guiName_ << endl;
    7979        }
    8080        else
    8181        {
    8282            GUIManager::hideGUI(this->guiName_);
    83             orxout(internal_info) << "Hiding GUI " << this->guiName_ << endl;
     83            orxout(verbose, context::misc::gui) << "Hiding GUI " << this->guiName_ << endl;
    8484        }
    8585    }
  • code/branches/output/src/orxonox/overlays/OrxonoxOverlay.cc

    r8809 r8835  
    362362            {
    363363                overlay->hide();
    364                 orxout(internal_info) << "HIDE " << name << endl;
     364                orxout(verbose, context::misc::overlays) << "HIDE " << name << endl;
    365365            }
    366366            else
    367367            {
    368368                overlay->show();
    369                 orxout(internal_info) << "SHOW " << name << endl;
     369                orxout(verbose, context::misc::overlays) << "SHOW " << name << endl;
    370370            }
    371371        }
Note: See TracChangeset for help on using the changeset viewer.