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/libraries
Files:
3 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    }
Note: See TracChangeset for help on using the changeset viewer.