MSGLogGUIImpl Class Reference

Message Logger GUI. More...

List of all members.

Public Member Functions

def __init__
 MSGLogGUIImpl constructor.
def preventSaturation
 Make sure we don't exceed MAX_ENTRIES.
def showEntries
 Show number of entries in status bar.
def preventCheck
 Ask user for acknowledgment for critical and fatal log entries.
def appendLogData
 Append the log to the buffer.
def switchToRunningLog
 Switch from a file based or static view to running log view.
def abortListenerThread
 Abort the listener thread before loading a file.
def startListenerThread
 Start the listener thread.
def runTCP
 Start the main listen loop.
def clearLevels
 Clear filter levels.
def levelCritical
 Filter by critical level.
def levelFatal
 Filter by fatal level.
def levelError
 Filter by error level.
def levelWarn
 Filter by warning level.
def levelInfo
 Filter by info level.
def levelDebug
 Filter by debug level.
def levelNotset
 Filter by notset level.
def levelNoFilter
 Clear filter.
def setListViewItem
 Parse and convert the message log data to a listview item.
def handleAlert
 handleAlert
def addLogDataToView
 Add the log to the listview.
def load
 Load a message log file into the logger.
def filePrint
 Print the message log to the printer.
def Help
 Help.
def fileNew
 fileNew
def fileOpen
 Bring up a file open dialog for log file selection.
def fileSave
 Save log file.
def fileSaveAs
 Save log file under a name.
def fileExit
 Close the GUI.
def closeEvent
 Handle exit.
def __shutdown
 Shutdown the listener thread.
def setSecure
 Set the secure flag.
def contextMenuShow
 Bring up the context menu on right mouse click.
def copyToClipboard
 Copy the item value to the clipboard.
def copyRowToClipboard
 Copy the item value to the clipboard.


Detailed Description

Message Logger GUI.

Definition at line 367 of file MSGLogGUIImpl.py.


Member Function Documentation

def __init__   self,
  port = logging.handlers.DEFAULT_TCP_LOGGING_PORT,
  updateInterval = 100,
  parent = None,
  name = None,
  fl = 0
 

MSGLogGUIImpl constructor.

Parameters:
port Logging port
updateInterval The interval the the GUI will check for new log entries
parent Parent GUI
name Name
fl Flags

Definition at line 369 of file MSGLogGUIImpl.py.

def __shutdown   self  ) 
 

Shutdown the listener thread.

Definition at line 1003 of file MSGLogGUIImpl.py.

def abortListenerThread   self  ) 
 

Abort the listener thread before loading a file.

Definition at line 531 of file MSGLogGUIImpl.py.

def addLogDataToView   self  ) 
 

Add the log to the listview.

Definition at line 794 of file MSGLogGUIImpl.py.

def appendLogData   self,
  data
 

Append the log to the buffer.

Parameters:
data Log data

Definition at line 498 of file MSGLogGUIImpl.py.

def clearLevels   self  ) 
 

Clear filter levels.

Definition at line 566 of file MSGLogGUIImpl.py.

def closeEvent   self,
  e
 

Handle exit.

Definition at line 978 of file MSGLogGUIImpl.py.

def contextMenuShow   self,
  item,
  point,
  column
 

Bring up the context menu on right mouse click.

Parameters:
item Listview item
point Position where the mouse was clicked
column Listview column

Definition at line 1016 of file MSGLogGUIImpl.py.

def copyRowToClipboard   self  ) 
 

Copy the item value to the clipboard.

Definition at line 1033 of file MSGLogGUIImpl.py.

def copyToClipboard   self  ) 
 

Copy the item value to the clipboard.

Definition at line 1026 of file MSGLogGUIImpl.py.

def fileExit   self  ) 
 

Close the GUI.

Definition at line 972 of file MSGLogGUIImpl.py.

def fileNew   self  ) 
 

fileNew

Definition at line 935 of file MSGLogGUIImpl.py.

def fileOpen   self  ) 
 

Bring up a file open dialog for log file selection.

Definition at line 941 of file MSGLogGUIImpl.py.

def filePrint   self  ) 
 

Print the message log to the printer.

Definition at line 860 of file MSGLogGUIImpl.py.

def fileSave   self  ) 
 

Save log file.

Definition at line 953 of file MSGLogGUIImpl.py.

def fileSaveAs   self  ) 
 

Save log file under a name.

Definition at line 963 of file MSGLogGUIImpl.py.

def handleAlert   self,
  s
 

handleAlert

Parameters:
s 

Definition at line 786 of file MSGLogGUIImpl.py.

def Help   self  ) 
 

Help.

Definition at line 929 of file MSGLogGUIImpl.py.

def levelCritical   self  ) 
 

Filter by critical level.

Definition at line 579 of file MSGLogGUIImpl.py.

def levelDebug   self  ) 
 

Filter by debug level.

Definition at line 640 of file MSGLogGUIImpl.py.

def levelError   self  ) 
 

Filter by error level.

Definition at line 604 of file MSGLogGUIImpl.py.

def levelFatal   self  ) 
 

Filter by fatal level.

Definition at line 592 of file MSGLogGUIImpl.py.

def levelInfo   self  ) 
 

Filter by info level.

Definition at line 628 of file MSGLogGUIImpl.py.

def levelNoFilter   self  ) 
 

Clear filter.

Definition at line 664 of file MSGLogGUIImpl.py.

def levelNotset   self  ) 
 

Filter by notset level.

Definition at line 652 of file MSGLogGUIImpl.py.

def levelWarn   self  ) 
 

Filter by warning level.

Definition at line 616 of file MSGLogGUIImpl.py.

def load   self  ) 
 

Load a message log file into the logger.

Definition at line 818 of file MSGLogGUIImpl.py.

def preventCheck   self  ) 
 

Ask user for acknowledgment for critical and fatal log entries.

Definition at line 485 of file MSGLogGUIImpl.py.

def preventSaturation   self  ) 
 

Make sure we don't exceed MAX_ENTRIES.

Definition at line 457 of file MSGLogGUIImpl.py.

def runTCP   self,
  tcpserver
 

Start the main listen loop.

Parameters:
tcpserver MSGLogSocketReceiver instance

Definition at line 554 of file MSGLogGUIImpl.py.

def setListViewItem   self,
  data
 

Parse and convert the message log data to a listview item.

Parameters:
data Message log data

Definition at line 677 of file MSGLogGUIImpl.py.

def setSecure   self,
  secure
 

Set the secure flag.

Parameters:
secure Secure flag

Definition at line 1009 of file MSGLogGUIImpl.py.

def showEntries   self  ) 
 

Show number of entries in status bar.

Definition at line 479 of file MSGLogGUIImpl.py.

def startListenerThread   self  ) 
 

Start the listener thread.

Definition at line 540 of file MSGLogGUIImpl.py.

def switchToRunningLog   self  ) 
 

Switch from a file based or static view to running log view.

Definition at line 517 of file MSGLogGUIImpl.py.


The documentation for this class was generated from the following file:
Generated on Thu Apr 27 20:53:58 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO