wx_debugger Class Reference

#include <wx_debugger.h>

Inheritance diagram for wx_debugger:

Inheritance graph
[legend]
Collaboration diagram for wx_debugger:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 wx_debugger (wxEvtHandler *recipient, synchronicity synch=delayed, line_ending ending=LF_AT_END, time_stamp_method stamp=NO_STAMP)
virtual ~wx_debugger ()
virtual outcome log (const istring &info, int filter=ALWAYS_PRINT)
 writes the information in "info" to the log using the "filter" value.

Static Public Member Functions

static const int & EVENT ()

Detailed Description

Definition at line 35 of file wx_debugger.h.


Constructor & Destructor Documentation

wx_debugger::wx_debugger ( wxEvtHandler *  recipient,
synchronicity  synch = delayed,
line_ending  ending = LF_AT_END,
time_stamp_method  stamp = NO_STAMP 
)

Definition at line 38 of file wx_debugger.cpp.

wx_debugger::~wx_debugger (  )  [virtual]

Definition at line 44 of file wx_debugger.cpp.


Member Function Documentation

outcome wx_debugger::log ( const istring info,
int  filter = ALWAYS_PRINT 
) [virtual]

writes the information in "info" to the log using the "filter" value.

the "filter" value must be checked to see if it is in the current set of allowed filters (using member()). this function _must_ be provided by derived classes and it _must_ check the filter before printing if it wants to be in compliance with log_base protocols. it also must implement the line_ending appropriately. the return value will often be a member of the common outcomes, but derived classes may see fit to return other things. note that an object derived from log_base should be thread-safe and protect its own member attributes through synchronization.

Reimplemented from debugger.

Definition at line 48 of file wx_debugger.cpp.

References common::BAD_INPUT, debugger::create_debug_message(), log_base::eol(), debugger::immediate, common::OKAY, debugger::recipient(), debugger::stamp(), and debugger::synch().

const int & wx_debugger::EVENT (  )  [static]

Reimplemented from debugger.

Definition at line 46 of file wx_debugger.cpp.


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 04:31:04 2008 for HOOPLE Libraries by  doxygen 1.5.1