Handles starting&stopping of jobs on client machines.
More...
List of all members.
Public Types |
| enum | Mode { Work,
Pause,
Stop
} |
Public Member Functions |
| | JobIOMgr (int firstport=19345, int niceval=19) |
| virtual | ~JobIOMgr () |
| const char * | peekMsg () |
| void | fetchMsg (BufferString &bs) |
| bool | startProg (const char *, IOPar &, const FilePath &, const JobInfo &, const char *) |
| void | setNiceNess (int n) |
| void | reqModeForJob (const JobInfo &, Mode) |
| void | removeJob (const char *, int) |
| ObjQueue< StatusInfo > & | statusQueue () |
Protected Member Functions |
| bool | mkIOParFile (FilePath &, const FilePath &basefnm, const HostData &, const IOPar &) |
| void | mkCommand (CommandString &, const HostData &, const char *progname, const FilePath &basefp, const FilePath &iopfp, const JobInfo &, const char *rshcomm) |
Protected Attributes |
| JobIOHandler & | iohdlr_ |
| BufferString | msg_ |
| int | niceval_ |
Detailed Description
Handles starting&stopping of jobs on client machines.
sets up a separate thread to maintain contact with client.
Member Enumeration Documentation
Constructor & Destructor Documentation
| JobIOMgr::JobIOMgr |
( |
int |
firstport = 19345, |
|
|
int |
niceval = 19 | |
|
) |
| | |
| virtual JobIOMgr::~JobIOMgr |
( |
|
) |
[virtual] |
Member Function Documentation
| void JobIOMgr::mkCommand |
( |
CommandString & |
, |
|
|
const HostData & |
, |
|
|
const char * |
progname, |
|
|
const FilePath & |
basefp, |
|
|
const FilePath & |
iopfp, |
|
|
const JobInfo & |
, |
|
|
const char * |
rshcomm | |
|
) |
| | [protected] |
| const char* JobIOMgr::peekMsg |
( |
|
) |
[inline] |
| void JobIOMgr::removeJob |
( |
const char * |
, |
|
|
int |
| |
|
) |
| | |
| void JobIOMgr::reqModeForJob |
( |
const JobInfo & |
, |
|
|
Mode |
| |
|
) |
| | |
| void JobIOMgr::setNiceNess |
( |
int |
n |
) |
[inline] |
| bool JobIOMgr::startProg |
( |
const char * |
, |
|
|
IOPar & |
, |
|
|
const FilePath & |
, |
|
|
const JobInfo & |
, |
|
|
const char * |
| |
|
) |
| | |
Member Data Documentation