Public Member Functions | Public Attributes
diag_error.ErrorDelay Class Reference

List of all members.

Public Member Functions

def __init__
def all
def peek
def process

Public Attributes

 begin_time
 delay
 queue
 reorder

Detailed Description

FIFO of error messages.  Errors are delayed by <delay> seconds.
If reorder is True, will sort Errors using timestamps.
If reorder is not True, expects input to be perfectly ordered.

Definition at line 71 of file diag_error.py.


Constructor & Destructor Documentation

def diag_error.ErrorDelay.__init__ (   self,
  delay,
  reorder = False 
)

Definition at line 76 of file diag_error.py.


Member Function Documentation

def diag_error.ErrorDelay.all (   self)
Return all values and in queue 

Definition at line 104 of file diag_error.py.

Returns first error in queue 

Definition at line 108 of file diag_error.py.

def diag_error.ErrorDelay.process (   self,
  input_list 
)
Takes input list of error messages and returns output list of delayed messages 

Definition at line 82 of file diag_error.py.


Member Data Documentation

Definition at line 76 of file diag_error.py.

Definition at line 76 of file diag_error.py.

Definition at line 76 of file diag_error.py.

Definition at line 76 of file diag_error.py.


The documentation for this class was generated from the following file:


mtrace_tools
Author(s): Derek
autogenerated on Sat Dec 28 2013 17:58:08