|
WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
|
Log output sink that writes messages to the standard console (stdout). More...
#include <LogOutputConsole.h>
Public Member Functions | |
| void | write (const std::string &message) |
| Write a log message to stdout. | |
Public Member Functions inherited from Component | |
| Component () | |
| virtual | ~Component () |
| virtual bool | addChild (Component *) |
| Add a child component to this node. | |
| virtual bool | removeChild (Component *) |
| Remove a child component from this node. | |
| virtual void | removeAllChildren () |
| virtual unsigned int | nbChildren () const |
| virtual bool | findChildComponent (Component *, bool) |
| virtual Component * | getChild (unsigned int) |
| virtual const Component * | getChild (unsigned int) const |
| void | setParentComponent (Component *) |
| Set the parent of this component. | |
| virtual void | onParentSet (Component *) |
| Called after the parent has been set; override for custom logic. | |
| const Component * | parent () const |
| Get the parent component (const). | |
| Component * | parent () |
| Get the parent component. | |
| template<class DataType > | |
| const DataType * | firstParentOfType () |
| Walk up the parent chain and return the first ancestor of the given type. | |
| void | ref () |
| Increment the reference counter. | |
| void | unref () |
| Decrement the reference counter; deletes this when it reaches zero. | |
| void | setName (const std::string &name) |
| std::string | name () const |
| virtual void | onNameChanged () |
| void | print (int l_depth=0) |
| virtual void | doPrint () |
| void | copy (const Component &component, bool) |
Log output sink that writes messages to the standard console (stdout).
Definition at line 8 of file LogOutputConsole.h.
|
virtual |
Write a log message to stdout.
Implements WMVLog::LogOutput.
Definition at line 6 of file LogOutputConsole.cpp.