Definition at line 22 of file CdgProcess.tcl.
Public Member Functions | |
CdgProcess (TclList args) | |
getJobState () | |
getPassedJobStates () | |
getPid () | |
interrupt () | |
isAlive () | |
kill () | |
nice (TclNumber prio=10) | |
signal (TclNumber signo) | |
start (TclString command="") | |
stop () | |
tell (TclList args) | |
term () | |
wait () | |
~CdgProcess () | |
Public Attributes | |
TclNumber | bufferSize = 81920 |
TclString | cdgp = "" |
TclString | consumerCommand = "" |
TclString | initFile = "" |
TclString | job = "" |
TclString | logFile = "" |
TclString | printCommand = "" |
TclNumber | showProgress = 0 |
TclNumber | sync = 0 |
TclNumber | useCopy = 0 |
TclString | xmlFile = "" |
Protected Member Functions | |
_print (TclString text) |
|
constructor. This constructor builds a cdgp wrapper object. If you don't specify a cdgp binary yourself (with -cdgp "/here/it/is/cdgp"), we assume the binary to be in |
|
destructor. Before we leave we remove the private copy of the cdgp binary iff |
|
_print Definition at line 198 of file Process.tcl. |
|
getJobState Definition at line 326 of file Process.tcl. |
|
getPassedJobStates Definition at line 336 of file Process.tcl. |
|
getPid Definition at line 128 of file Process.tcl. References Process::start(). |
|
interrupt Definition at line 260 of file Process.tcl. References Process::term(). |
|
isAlive Definition at line 220 of file Process.tcl. |
|
kill Definition at line 274 of file Process.tcl. References Process::signal(). Referenced by Process::term(). |
|
nice Definition at line 315 of file Process.tcl. |
|
signal Definition at line 281 of file Process.tcl. Referenced by Process::kill(). |
|
start the cdgp process. This forks the cdgp in the background, which is actually done in Process::start().
Reimplemented from Process. Definition at line 95 of file CdgProcess.tcl. References start(). Referenced by start(). |
|
stop the cdgp process. This method stops a started cdgp process and gzips the xmllogfile. Afterwards Process::stop() is called to finalize everything. There the job scheduled to be consumed. Reimplemented from Process. Definition at line 129 of file CdgProcess.tcl. References stop(). Referenced by stop(). |
|
tell Definition at line 292 of file Process.tcl. |
|
term Definition at line 267 of file Process.tcl. References Process::kill(). Referenced by Process::interrupt(). |
|
wait Definition at line 209 of file Process.tcl. |
|
binary location. This variable stores the absolute path to the cdgp binary that we wrap arround. Definition at line 41 of file CdgProcess.tcl. |
|
if you like to call cdgp with an init file (-i commandline option), put that filename in here. Definition at line 32 of file CdgProcess.tcl. |
|
callback for Process::showProgress showProgress Definition at line 347 of file Process.tcl. |
|
binary copy usage. This flag indicates whether to use a private copy of the cdgp binary in a temp directory or not. Definition at line 37 of file CdgProcess.tcl. |
|
the file where to store the xml output of the logfile Definition at line 28 of file CdgProcess.tcl. |