Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 21, 2011, 6:27:30 PM (13 years ago)
Author:
landauf
Message:

moved filtering of sub-contexts from BaseWriter to a new interface SubcontextOutputListener

File:
1 edited

Legend:

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

    r8848 r8850  
    7575                { return this->additionalContextsLevelMask_; }
    7676
    77             /// @brief Returns true if this listener accepts output of the given level and context, based on the levels and contexts masks.
    78             inline bool acceptsOutput(OutputLevel level, const OutputContextContainer& context) const
    79             {
    80                 return (this->levelMask_ & level) ||
    81                        ((this->additionalContextsLevelMask_ & level) && (this->additionalContextsMask_ & context.mask)); }
     77            virtual bool acceptsOutput(OutputLevel level, const OutputContextContainer& context) const;
    8278
    8379            /// @brief Called by OutputManager for each line of output, checks if this listener actually accepts this output before it calls the output() function.
Note: See TracChangeset for help on using the changeset viewer.