Base class for all console handlers.
Definition consolehandler.h:22
A console handler which stores the last N log messages in a Util::RingBuffer<String>.
Definition historyconsolehandler.h:20
virtual void Warning(const Util::String &s)
called by console to output warning
Definition historyconsolehandler.cc:48
__DeclareClass(HistoryConsoleHandler)
const Util::RingBuffer< Util::String > & GetHistory() const
get accumulated log messages
Definition historyconsolehandler.h:68
virtual void Error(const Util::String &s)
called by console with serious error
Definition historyconsolehandler.cc:37
virtual void DebugOut(const Util::String &s)
called by console to output debug string
Definition historyconsolehandler.cc:59
virtual void Print(const Util::String &s)
called by console to output data
Definition historyconsolehandler.cc:28
Util::RingBuffer< Util::String > history
Definition historyconsolehandler.h:43
HistoryConsoleHandler()
constructor
Definition historyconsolehandler.cc:18
void SetHistorySize(SizeT numLines)
set history size
Definition historyconsolehandler.h:50
SizeT GetHistorySize() const
get history size
Definition historyconsolehandler.h:59
A ring buffer stores up to a maximum number of elements in a circular fashion.
Definition ringbuffer.h:21
void SetCapacity(SizeT newCapacity)
set capacity (clear previous content)
Definition ringbuffer.h:288
SizeT Size() const
get number of elements in ring buffer
Definition ringbuffer.h:307
Instances of wrapped stream classes.
Definition orientation.cc:10
Nebula's universal string class.
Definition string.h:50
int SizeT
Definition types.h:49