|
| | ConsoleWriter (std::ostream &outputStream) |
| | Constructor, initializes the output level. More...
|
| |
| virtual | ~ConsoleWriter () |
| | Destructor. More...
|
| |
| void | disable () |
| | Disables the instance by unregistering itself from OutputManager. More...
|
| |
| void | enable () |
| | Enables the instance by registering itself as listener at OutputManager. More...
|
| |
| const std::ostream & | getOutputStream () const |
| |
| | BaseWriter (const std::string &name, bool bRegister=true) |
| | Constructor: Initializes the config-values. More...
|
| |
| virtual | ~BaseWriter () |
| | Destructor. More...
|
| |
| void | changedConfigurableAdditionalContexts () |
| | Called if the config-vector of accepted contexts has changed, updates the masks in SubcontextOutputListener. More...
|
| |
| void | changedConfigurableAdditionalContextsLevel () |
| | Called if the config value has changed, updates the corresponding mask in OutputListener. More...
|
| |
| void | changedConfigurableLevel () |
| | Called if the config value has changed, updates the corresponding mask in OutputListener. More...
|
| |
| std::string | getConfigurableAdditionalContextsMaxLevelName () const |
| | Returns the name of the config value which defines the maximum output level of additional context. More...
|
| |
| std::string | getConfigurableAdditionalContextsName () const |
| | Returns the name of the config vector which defines the additional contexts (and sub-contexts) More...
|
| |
| std::string | getConfigurableMaxLevelName () const |
| | Returns the name of the config value which defines the maximum output level (independent of contexts). More...
|
| |
| const std::string & | getName () const |
| | Returns the name of this instance. More...
|
| |
| void | setAdditionalContextsLevelMax (OutputLevel max) |
| | Overwritten implementation of the function inherited from OutputListener, sets also the corresponding config-value. More...
|
| |
| void | setLevelMax (OutputLevel max) |
| | Overwritten implementation of the function inherited from OutputListener, sets also the corresponding config-value. More...
|
| |
| | SubcontextOutputListener (bool bRegister=true) |
| | Constructor, initializes the context masks. More...
|
| |
| virtual | ~SubcontextOutputListener () |
| | Destructor. More...
|
| |
| virtual bool | acceptsOutput (OutputLevel level, const OutputContextContainer &context) const override |
| | Returns true if this listener accepts output of the given level and context, based on the levels and contexts masks, as well as the set of accepted sub-contexts. More...
|
| |
| const std::set< OutputContextSubID > & | getSubcontexts () const |
| |
| virtual void | setAdditionalContextsMask (OutputContextMask mask) override |
| | Overwritten implementation of the function defined by OutputListener. More...
|
| |
| void | setAdditionalSubcontexts (const std::set< const OutputContextContainer * > &subcontexts) |
| | Defines the set of accepted sub-contexts. More...
|
| |
| | OutputListener (bool bRegister=true) |
| | Constructor, initializes the values and registers the instance at OutputManager if requested. More...
|
| |
| virtual | ~OutputListener () |
| | Destructor, unregisters the instance from OutputManager. More...
|
| |
| OutputLevel | getAdditionalContextsLevelMask () const |
| | Returns the additional contexts level mask. More...
|
| |
| OutputContextMask | getAdditionalContextsMask () const |
| | Returns the additional contexts mask. More...
|
| |
| OutputLevel | getLevelMask () const |
| | Returns the level mask. More...
|
| |
| void | registerListener (AdditionalContextListener *listener) |
| | Adds a listener to the list. More...
|
| |
| void | setAdditionalContextsLevelMask (OutputLevel mask) |
| | Defines the level mask of additional contexts. More...
|
| |
| void | setAdditionalContextsLevelMax (OutputLevel max) |
| | Defines the level mask of additional contexts in a way which accepts all output up to the level max. More...
|
| |
| void | setAdditionalContextsLevelRange (OutputLevel min, OutputLevel max) |
| | Defines the level mask of additional contexts in a way which accepts all output between the levels min and max. More...
|
| |
| void | setLevelMask (OutputLevel mask) |
| | Defines the level mask. More...
|
| |
| void | setLevelMax (OutputLevel max) |
| | Defines the level mask in a way which accepts all output up to the level max. More...
|
| |
| void | setLevelRange (OutputLevel min, OutputLevel max) |
| | Defines the level mask in a way which accepts all output between the levels min and max. More...
|
| |
| virtual void | unfilteredOutput (OutputLevel level, const OutputContextContainer &context, const std::vector< std::string > &lines) |
| | Called by OutputManager for each line of output, checks if this listener actually accepts this output before it calls the output() function. More...
|
| |
| void | unregisterListener (AdditionalContextListener *listener) |
| | Removes a listener from the list. More...
|
| |
ConsoleWriter inherits from BaseWriter and writes output to the console.
This class can be seen as an equivalent to std::cout within the output system.