Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

RunControlMain Class Reference

Inheritance diagram for RunControlMain:

Inheritance graph
[legend]
Collaboration diagram for RunControlMain:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __init__ (common, parent=None, name="RunControl", fl=0)
 disconnected ()
 timedout ()
 connectClicked ()
 isConnected ()
 Return the connection state.
 schemaChanged ()
 applyPermissions (operator)
 setEnabledTabPage (panelLabel, enable)
 setOperator (operator)
 setParticleType (particleType)
 setOrientation (orientation)
 getName ()
 initApp ()
 Method usually invoked by the GUI to load a new application.
 loadApp (applName)
 Method that can be invoked from code to load a new application.
 loadModule (module)
 Method that can be invoked from code to load a new module.
 ResetClicked ()
 StopClicked ()
 RunClicked ()
 PauseClicked ()
 doReset ()
 doSuiteReset ()
 doStop ()
 doStopRun ()
 doRun ()
 doPause ()
 doEmit (obj, signal=SIGNAL("clicked()"), args=())
 normalCursor ()
 waitCursor ()
 handleEndRunDlg ()
 getEndRunComments ()
 handleComments (fromState, toState)
 showHidePythonShell ()
 verifySoftware ()
 elogWebsite ()
 warnFreeSpace (warn_level)
 warnDirectoryExist (directory)
 aboutRunControl ()
 fileLogout ()
 closeEvent (e)
 login ()
 getHardwareVersions (lat=None, xbrd=None)
 clearHardwareVersionsCache ()
 getFSM ()
 getApp ()
 isGUIthread ()
 customEvent (e)
 createGUI (obj, args, kwargs)
 execGUImethodNR (func, args, kwargs)
 execGUImethod (func, args, kwargs)
 getSecurityMan ()

Detailed Description

Class for providing a run control framework

Definition at line 49 of file RunControlMain.py.


Member Function Documentation

createGUI obj  ,
args  ,
kwargs 
 

Method used for instantiating a GUI from a non-GUI subthread

customEvent  ) 
 

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.

doEmit obj  ,
signal  = SIGNAL("clicked()"),
args  = ()
 

Emit a signal, possibly from a subthread. By default the signal is 'clicked()' with no arguments.

doPause  ) 
 

Emit a Pause button click under program control. Can be done from a subthread.

doReset  ) 
 

Emit a Reset button click under program control. Can be done from a subthread.

doRun  ) 
 

Emit a Run button click under program control. Can be done from a subthread.

doStop  ) 
 

Emit a Stop button click under program control. Can be done from a subthread.

doStopRun  ) 
 

Depricated version of doStop().

doSuiteReset  ) 
 

Notify rcSuite that there was an exception in the suite script This gives rcSuite a chance to do its own doReset on the running script.

execGUImethod func  ,
args  ,
kwargs 
 

Method used for executing a GUI function from a non-GUI thread. Use this method when a response is expected from the function and when it is appropriate to wait for it (no deadlock arises)

execGUImethodNR func  ,
args  ,
kwargs 
 

Method used for executing a GUI function from a non-GUI thread. Use this method when no (useful) response is expected or when waiting for one could cause a deadlock. Any response from the function is lost.

isConnected  ) 
 

Return the connection state.

Used by the WatchItem class in rcStatusMonitor.

Returns:
Connection state

isGUIthread  ) 
 

Returns True if this method is being called from the GUI thread.

loadApp applName   ) 
 

Method that can be invoked from code to load a new application.

Parameters:
applName Name of an application to load

loadModule module   ) 
 

Method that can be invoked from code to load a new module.

Parameters:
module Pointer to module to load

setEnabledTabPage panelLabel  ,
enable 
 

Find the tabPage belonging to panel identified by panelLabel


The documentation for this class was generated from the following file:
Generated on Fri Jul 21 13:28:01 2006 for LATTE R04-12-00 by doxygen 1.4.3