Cafu Engine
cf::ConsoleWarningsOnlyT Class Reference

This class implements a console that only prints warnings (and filters normal output). More...

#include "ConsoleWarningsOnly.hpp"

Inheritance diagram for cf::ConsoleWarningsOnlyT:

Public Member Functions

 ConsoleWarningsOnlyT (ConsoleI *Console_)
 Constructor for the warnings only console. More...
 
void Print (const std::string &s)
 Print message to console. More...
 
void DevPrint (const std::string &s)
 Print dev message to console. More...
 
void Warning (const std::string &s)
 Print warning to console. More...
 
void DevWarning (const std::string &s)
 Print dev warning to console. More...
 
- Public Member Functions inherited from cf::ConsoleI
virtual ~ConsoleI ()
 Virtual dtor so that derived classes properly destroy. More...
 

Detailed Description

This class implements a console that only prints warnings (and filters normal output).

The output is directed to another given console.

Constructor & Destructor Documentation

ConsoleWarningsOnlyT::ConsoleWarningsOnlyT ( ConsoleI Console_)

Constructor for the warnings only console.

Parameters
Console_The target console on which the warnings should be printed.

Member Function Documentation

void ConsoleWarningsOnlyT::DevPrint ( const std::string &  s)
virtual

Print dev message to console.

Implements cf::ConsoleI.

void ConsoleWarningsOnlyT::DevWarning ( const std::string &  s)
virtual

Print dev warning to console.

Implements cf::ConsoleI.

void ConsoleWarningsOnlyT::Print ( const std::string &  s)
virtual

Print message to console.

Implements cf::ConsoleI.

void ConsoleWarningsOnlyT::Warning ( const std::string &  s)
virtual

Print warning to console.

Implements cf::ConsoleI.


The documentation for this class was generated from the following files: