Base class for jobs that can be submitted to a JobServer. More...
#include <Util/JobServer.H>
Public Member Functions | |
virtual void | run ()=0 |
virtual const char * | jobType () const =0 |
virtual int | priority () const |
Default implementation returns 0 (lower value = higher priority). | |
bool | wasDropped () const |
Check if the job was dropped by the job server. | |
void | drop () |
Mark the job as dropped (should be called by the job server as needed). |
Base class for jobs that can be submitted to a JobServer.
Definition at line 51 of file JobServer.H.
void JobServer::Job::drop | ( | ) | [inline] |
Mark the job as dropped (should be called by the job server as needed).
Definition at line 69 of file JobServer.H.
int JobServer::Job::priority | ( | ) | const [virtual] |
Default implementation returns 0 (lower value = higher priority).
Reimplemented in DisplayController, and StimListener.
Definition at line 54 of file JobServer.C.
bool JobServer::Job::wasDropped | ( | ) | const [inline] |
Check if the job was dropped by the job server.
Definition at line 66 of file JobServer.H.