Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2011, 1:05:04 PM (13 years ago)
Author:
landauf
Message:

in OutputManager: getInstance now only creates an instance of OutputManager, while getInstanceAndCreateListeners does additional stuff. the latter ins only used in OutputStream to ensure the default listeners (LogWriter, etc) get created. This should avoid circular calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/util/output/OutputListener.cc

    r8765 r8776  
    4040        this->contextMask_ = context::all;
    4141
    42         OutputManager::getInstanceInternal().registerListener(this);
     42        OutputManager::getInstance().registerListener(this);
    4343    }
    4444
    4545    OutputListener::~OutputListener()
    4646    {
    47         OutputManager::getInstanceInternal().unregisterListener(this);
     47        OutputManager::getInstance().unregisterListener(this);
    4848    }
    4949
     
    6767        this->levelMask_ = mask;
    6868
    69         OutputManager::getInstanceInternal().updateCombinedLevelMask();
     69        OutputManager::getInstance().updateCombinedLevelMask();
    7070    }
    7171
     
    7474        this->contextMask_ = mask;
    7575
    76         OutputManager::getInstanceInternal().updateCombinedContextMask();
     76        OutputManager::getInstance().updateCombinedContextMask();
    7777    }
    7878}
Note: See TracChangeset for help on using the changeset viewer.