This class implements the ConsoleI interface as a composite console by sending all output to its attached sub-consoles. More...
#include "ConsoleComposite.hpp"

Public Member Functions | |
| CompositeConsoleT () | |
| Constructor for creating a composite console. More... | |
| bool | Attach (ConsoleI *c) |
| Attaches the given console c to the set of sub-consoles. More... | |
| bool | Detach (ConsoleI *c) |
| Removes the given console c from the set of sub-consoles. 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... | |
This class implements the ConsoleI interface as a composite console by sending all output to its attached sub-consoles.
| CompositeConsoleT::CompositeConsoleT | ( | ) |
Constructor for creating a composite console.
| bool CompositeConsoleT::Attach | ( | ConsoleI * | c | ) |
Attaches the given console c to the set of sub-consoles.
| bool CompositeConsoleT::Detach | ( | ConsoleI * | c | ) |
Removes the given console c from the set of sub-consoles.
|
virtual |
Print dev message to console.
Implements cf::ConsoleI.
|
virtual |
Print dev warning to console.
Implements cf::ConsoleI.
|
virtual |
Print message to console.
Implements cf::ConsoleI.
|
virtual |
Print warning to console.
Implements cf::ConsoleI.