wx_tiny_shell Class Reference

#include <wx_tiny_shell.h>

Inheritance diagram for wx_tiny_shell:

Inheritance graph
[legend]
Collaboration diagram for wx_tiny_shell:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { Quit = wxID_EXIT }

Public Member Functions

 wx_tiny_shell (const istring &window_title, const istring &name_root, int file_size=int(1.2 *MEGABYTE), const istring &logfile_name="")
virtual ~wx_tiny_shell ()
 IMPLEMENT_CLASS_NAME ("wx_tiny_shell")
virtual int execute ()
 forwards application_base responsibility upwards to derived objects.
outcome log (const istring &to_print)
 logs a debugging line "to_print" with a time-stamp in front.
outcome print (const istring &to_print)
debuggerdebug () const
wx_debugging_console_panelpanel ()

Protected Member Functions

void OnCloseWindow (wxCloseEvent &event)
void OnDebugEvent (wxCommandEvent &event)
void OnQuit (wxCommandEvent &event)

Detailed Description

Definition at line 41 of file wx_tiny_shell.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
Quit 

Definition at line 60 of file wx_tiny_shell.h.


Constructor & Destructor Documentation

wx_tiny_shell::wx_tiny_shell ( const istring window_title,
const istring name_root,
int  file_size = int(1.2 *MEGABYTE),
const istring logfile_name = "" 
)

wx_tiny_shell::~wx_tiny_shell (  )  [virtual]

Definition at line 116 of file wx_tiny_shell.cpp.

References WHACK().


Member Function Documentation

wx_tiny_shell::IMPLEMENT_CLASS_NAME ( "wx_tiny_shell"   ) 

int wx_tiny_shell::execute (  )  [virtual]

forwards application_base responsibility upwards to derived objects.

Implements application_shell.

Reimplemented in t_wxext_frame.

Definition at line 127 of file wx_tiny_shell.cpp.

outcome wx_tiny_shell::log ( const istring to_print  )  [virtual]

logs a debugging line "to_print" with a time-stamp in front.

this mirrors its output to the console when it logs to the log file (depending on whether the program-wide logger has been swapped out to change that behavior).

why why why? not a good idea to automatically add this. if (temp_log.length()) temp_log.insert(0, utility::timestamp(true, true));

Reimplemented from application_shell.

Definition at line 160 of file wx_tiny_shell.cpp.

References debugger::log().

outcome wx_tiny_shell::print ( const istring to_print  ) 

Definition at line 154 of file wx_tiny_shell.cpp.

References debugger::print().

debugger & wx_tiny_shell::debug (  )  const

Definition at line 123 of file wx_tiny_shell.cpp.

wx_debugging_console_panel & wx_tiny_shell::panel (  ) 

Definition at line 125 of file wx_tiny_shell.cpp.

void wx_tiny_shell::OnCloseWindow ( wxCloseEvent &  event  )  [protected]

void wx_tiny_shell::OnDebugEvent ( wxCommandEvent &  event  )  [protected]

Definition at line 149 of file wx_tiny_shell.cpp.

References wx_debugging_console_panel::display_debug_message().

void wx_tiny_shell::OnQuit ( wxCommandEvent &  event  )  [protected]


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