Package tacval :: Package managers :: Module run_manager :: Class RunManager
[hide private]
[frames] | no frames]

Class RunManager

source code

                    enthought.traits.api.HasTraits --+    
                                                     |    
base_extraction_line_manager.BaseExtractionLineManager --+
                                                         |
                                                        RunManager

Manager to facilitate automation thru Runscript and interapplication communication thru sockets

Class Hierarchy for RunManager
Class Hierarchy for RunManager

Instance Methods [hide private]
 
__init__(self, *args, **kw) source code
 
setup(self, start_server=True) source code
 
_execute_fired(self) source code
str
socket_command(self, command)
execute a command sent by a socket
source code
boolean
kill(self)
Returns: True to confirm kill, False to cancel
source code
 
execute_run(self)
execute a runscript
source code
tuple
do(self, command, arg, cond=None)
execute a command
source code
TableEditor
_run_table_editor_factory(self)
table editor factory for the run table
source code
TableEditor
_event_table_editor_factory(self)
table editor factory for the event table
source code
View
traits_view(self)
default View
source code
Class Variables [hide private]
  runlist = List
  eventlist = List
  selected = Any
  execute = Button
    Inherited from base_extraction_line_manager.BaseExtractionLineManager
  extraction_line = Any
Method Details [hide private]

__init__(self, *args, **kw)
(Constructor)

source code 
Overrides: base_extraction_line_manager.BaseExtractionLineManager.__init__

setup(self, start_server=True)

source code 
Parameters:
  • start_server (boolean) - start the server to handle socket commands

socket_command(self, command)

source code 

execute a command sent by a socket

Parameters:
  • command (str) - a command
Returns: str
the result of the command

kill(self)

source code 
Returns: boolean
True to confirm kill, False to cancel
Overrides: base_extraction_line_manager.BaseExtractionLineManager.kill
(inherited documentation)

execute_run(self)

source code 

execute a runscript

  1. get the path to the runscript and open it
  2. create a new Runscript
  3. start the runscript

do(self, command, arg, cond=None)

source code 

execute a command

Parameters:
  • command (str) - a command string
  • arg (str) - argument for the command
  • cond (Condition) - a Condition for synchronization
Returns: tuple
value returned by the extraction line manager when asked to do command

_run_table_editor_factory(self)

source code 

table editor factory for the run table

Returns: TableEditor
a table editor

_event_table_editor_factory(self)

source code 

table editor factory for the event table

Returns: TableEditor
a table editor

traits_view(self)

source code 

default View

Returns: View
the default view for this class