WatchItem Class Reference

Watch item class that keeps track of status panel items. More...

List of all members.

Public Member Functions

def __init__
 WatchItem constructor.
def evaluate
 Evaluate the expression by calling the accessor method.
def getLabel
 Retrieve the label.
def getAlarmExpr
 Retrieve the alarm expression.
def getStatusItem
 Retrieve the status listview item that is associated with this watch item.
def setStatusItem
 Set the status item.
def isInView
 Check if the status item for this watch item has already been instantiated.
def setInView
 Set the watch item as being in view.
def setNotInView
 Set the watch item as not being in view.
def setAccessor
 Set the accessor for this watch item.
def isStale
 Check if the watch item is stale or not.


Detailed Description

Watch item class that keeps track of status panel items.

Definition at line 145 of file rcStatusMonitor.py.


Member Function Documentation

def __init__   self,
  accessor,
  key,
  label,
  alarmExpr,
  isStale = None
 

WatchItem constructor.

Parameters:
accessor Accessor method
key Item key
label Item label
alarmExpr Alarm expression
isStale Optional isStale method

Definition at line 147 of file rcStatusMonitor.py.

def evaluate   self  ) 
 

Evaluate the expression by calling the accessor method.

Returns:
Accessor method return value or "N/A" if the return value is None

Definition at line 164 of file rcStatusMonitor.py.

def getAlarmExpr   self  ) 
 

Retrieve the alarm expression.

Returns:
Alarm expression value

Definition at line 188 of file rcStatusMonitor.py.

def getLabel   self  ) 
 

Retrieve the label.

Returns:
Watch item label

Definition at line 181 of file rcStatusMonitor.py.

def getStatusItem   self  ) 
 

Retrieve the status listview item that is associated with this watch item.

Returns:
StatusItem instance

Definition at line 195 of file rcStatusMonitor.py.

def isInView   self  ) 
 

Check if the status item for this watch item has already been instantiated.

Returns:
True if the status item for this watch item has been created, False otherwise.

Definition at line 210 of file rcStatusMonitor.py.

def isStale   self  ) 
 

Check if the watch item is stale or not.

Returns:
Boolean indicating whether the item is stale or not.

Definition at line 241 of file rcStatusMonitor.py.

def setAccessor   self,
  accessor,
  key
 

Set the accessor for this watch item.

Parameters:
accessor Accessor method
key Key that uniquely identifies the item

Definition at line 232 of file rcStatusMonitor.py.

def setInView   self  ) 
 

Set the watch item as being in view.

Definition at line 219 of file rcStatusMonitor.py.

def setNotInView   self  ) 
 

Set the watch item as not being in view.

Definition at line 225 of file rcStatusMonitor.py.

def setStatusItem   self,
  si
 

Set the status item.

Parameters:
si StatusItem instance

Definition at line 203 of file rcStatusMonitor.py.


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