WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
WMVLog::LogOutputConsole Class Reference

Log output sink that writes messages to the standard console (stdout). More...

#include <LogOutputConsole.h>

Inheritance diagram for WMVLog::LogOutputConsole:
[legend]
Collaboration diagram for WMVLog::LogOutputConsole:
[legend]

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 ComponentgetChild (unsigned int)
 
virtual const ComponentgetChild (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 Componentparent () const
 Get the parent component (const).
 
Componentparent ()
 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)
 

Detailed Description

Log output sink that writes messages to the standard console (stdout).

Definition at line 8 of file LogOutputConsole.h.

Member Function Documentation

◆ write()

void LogOutputConsole::write ( const std::string &  message)
virtual

Write a log message to stdout.

Implements WMVLog::LogOutput.

Definition at line 6 of file LogOutputConsole.cpp.


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