packetMonitorImpl Class Reference

Inheritance diagram for packetMonitorImpl:

Inheritance graph
[legend]
Collaboration diagram for packetMonitorImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

def __init__
def FSWContextMenuShow
def CMDContextMenuShow
def contextMenuShow
def copyToClipboard
def copyRowToClipboard
def obtainMnemonics
def decomPacket
def callBackFSWMon
def appendFSWPacket
def displayFSWPacket
def callBackCMDMon
def appendCMDPacket
def displayCMDPacket
def preventSaturation
def passRowValues
def customEvent
def quit
def showFSWEntries
def showCMDEntries
def showEntries
def accessPrefs
def fileOpen
def refreshFSWMon
def refreshCMDMon
def pauseFSWMon
def pauseCMDMon
def pauseCCSDSMon
def filterByAPID
def filePrint
def printFSWMon
def printCMDMon
def printMon
def closeGUI
def fileExit
def closeEvent
def keyPressEvent

Public Attributes

 contextMenu
 clip

Private Attributes

 __confParser
 __prefsGUI
 __guiBridge
 __items
 __FSWPacketList
 __CMDPacketList
 __mnemList
 __client

Detailed Description

Definition at line 158 of file packetMonitorImpl.py.


Member Function Documentation

def __init__   self,
  cvtHost,
  cvtPort,
  tlmdb,
  parent = None,
  name = None,
  fl = 0
 

Definition at line 159 of file packetMonitorImpl.py.

def accessPrefs   self  ) 
 

Excutes Preferences Dialog.

Definition at line 408 of file packetMonitorImpl.py.

def appendCMDPacket   self,
  dataDict
 

If pause CMD Response Monitor Button is on, 
append packet data to list.

Definition at line 321 of file packetMonitorImpl.py.

def appendFSWPacket   self,
  dataDict
 

If pause FSW Message Monitor Button is on,
append packet data to list.

Definition at line 289 of file packetMonitorImpl.py.

def callBackCMDMon   self,
  dataDict
 

Handle decom callback for CMD Response Packet.

Definition at line 312 of file packetMonitorImpl.py.

def callBackFSWMon   self,
  dataDict
 

Handle decom callback for FSW Response Packet.

Definition at line 281 of file packetMonitorImpl.py.

def closeEvent   self,
  e
 

Manages close events, saving current window size.

Definition at line 526 of file packetMonitorImpl.py.

def closeGUI   self  ) 
 

Closes GUI from Done Button.

Definition at line 516 of file packetMonitorImpl.py.

def CMDContextMenuShow   self,
  item,
  point,
  col
 

Show context menu for CMD Message Monitor.
\param item   Current item.
\param point  Current cursor position.
\param col    Current col position.

Definition at line 222 of file packetMonitorImpl.py.

def contextMenuShow   self,
  view,
  item,
  point,
  col
 

Pass current information to context menu and 
execute it.
\param view   Current view: FSW Message or CMD Response
              Monitor.
\param item   Current item.
\param point  Current cursor position.
\param col    Current col position.

Definition at line 230 of file packetMonitorImpl.py.

def copyRowToClipboard   self  ) 
 

Pass selected row text to clipboard.

Definition at line 253 of file packetMonitorImpl.py.

def copyToClipboard   self  ) 
 

Pass selected item text to clipboard.

Definition at line 248 of file packetMonitorImpl.py.

def customEvent   self,
  e
 

This method overrides the QObject base class's.  There is generally
no reason to call this method directly.  It is called by the Qt
infrastructure whenever the custom event is posted, e.g. by the following
three methods of this class: createGUI, execGUImethodNR and execGUImethod.

Definition at line 371 of file packetMonitorImpl.py.

def decomPacket   self,
  packet
 

Not used at the moment.

Definition at line 271 of file packetMonitorImpl.py.

def displayCMDPacket   self,
  dataDict
 

If pause CMD Response Monitor Button is off, 
display packet data in monitor.

Definition at line 327 of file packetMonitorImpl.py.

def displayFSWPacket   self,
  dataDict
 

If pause FSW Message Monitor Button is off, 
display packet data in monitor.

Definition at line 295 of file packetMonitorImpl.py.

def fileExit   self  ) 
 

Closes GUI from File Exit action.

Reimplemented from packetMonitor.

Definition at line 521 of file packetMonitorImpl.py.

def fileOpen   self  ) 
 

Loads data from a file. TBD

Reimplemented from packetMonitor.

Definition at line 413 of file packetMonitorImpl.py.

def filePrint   self  ) 
 

Prints to printer all monitors.

Reimplemented from packetMonitor.

Definition at line 489 of file packetMonitorImpl.py.

def filterByAPID   self  ) 
 

Definition at line 479 of file packetMonitorImpl.py.

def FSWContextMenuShow   self,
  item,
  point,
  col
 

Definition at line 218 of file packetMonitorImpl.py.

def keyPressEvent   self,
  ke
 

Manages special key press events.

Definition at line 532 of file packetMonitorImpl.py.

def obtainMnemonics   self  ) 
 

Obtain Mnemonic appid dictionary.

Definition at line 258 of file packetMonitorImpl.py.

def passRowValues   self  ) 
 

Obtains Montior's maximum number of rows and number of rows deleted
when this limit is reached from the user's preferences config file.

Definition at line 363 of file packetMonitorImpl.py.

def pauseCCSDSMon   self  ) 
 

Handles stored FSW Message Packets upon FSW Pause button click event.

Definition at line 467 of file packetMonitorImpl.py.

def pauseCMDMon   self  ) 
 

Handles stored CMD Response Packets upon CMD Pause button click event.

Definition at line 455 of file packetMonitorImpl.py.

def pauseFSWMon   self  ) 
 

Handles stored FSW Message Packets upon FSW Pause button click event.

Definition at line 443 of file packetMonitorImpl.py.

def preventSaturation   self,
  view,
  pauseButton
 

This function prevents the saturation of the FSWMsg and CMDResp list views.
When the list view reaches MAX_ENTRIES, it will delete DELETE_ENTRIES list
view items starting at the bottom. Since this is done at the bottom of the 
list, the thread needs not to be paused.

\param view    List View: FSWMsg view or CMDResp view.

Definition at line 341 of file packetMonitorImpl.py.

def printCMDMon   self  ) 
 

Pauses and Prints to printer CMD Response Monitor.

Definition at line 502 of file packetMonitorImpl.py.

def printFSWMon   self  ) 
 

Pauses and Prints to printer FSW Message Monitor.

Definition at line 495 of file packetMonitorImpl.py.

def printMon   self,
  view,
  viewName
 

Prints to printer selected Monitor.

Definition at line 509 of file packetMonitorImpl.py.

def quit   self  ) 
 

This method shuts down the gui bridge so that no update event is called
once the QApp has quit. It is called in the __main__ portion of the 
script.

Definition at line 379 of file packetMonitorImpl.py.

def refreshCMDMon   self  ) 
 

Clears rows in CMD Response Monitor.

Definition at line 438 of file packetMonitorImpl.py.

def refreshFSWMon   self  ) 
 

Clears rows in FSW Message Monitor.

Definition at line 433 of file packetMonitorImpl.py.

def showCMDEntries   self  ) 
 

Displays in the status bar current number of packets 
displayed in the CMD Message Monitor.

Definition at line 392 of file packetMonitorImpl.py.

def showEntries   self,
  view,
  viewName
 

Displays in the status bar current number of packets 
displayed in the selected monitor.

\param view           Selected Monitor: FSW Message or CMD Response.
\param viewName       Monitor caption.

Definition at line 398 of file packetMonitorImpl.py.

def showFSWEntries   self  ) 
 

Displays in the status bar current number of packets 
displayed in the FSW Message Monitor.

Definition at line 386 of file packetMonitorImpl.py.


Member Data Documentation

__client [private]
 

Definition at line 182 of file packetMonitorImpl.py.

__CMDPacketList [private]
 

Definition at line 175 of file packetMonitorImpl.py.

__confParser [private]
 

Definition at line 163 of file packetMonitorImpl.py.

__FSWPacketList [private]
 

Definition at line 174 of file packetMonitorImpl.py.

__guiBridge [private]
 

Definition at line 167 of file packetMonitorImpl.py.

__items [private]
 

Definition at line 168 of file packetMonitorImpl.py.

__mnemList [private]
 

Definition at line 179 of file packetMonitorImpl.py.

__prefsGUI [private]
 

Definition at line 164 of file packetMonitorImpl.py.

clip
 

Definition at line 188 of file packetMonitorImpl.py.

contextMenu
 

Definition at line 185 of file packetMonitorImpl.py.


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