JobServer::Job Class Reference

Base class for jobs that can be submitted to a JobServer. More...

#include <Util/JobServer.H>

Inheritance diagram for JobServer::Job:
Inheritance graph
[legend]

List of all members.

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).

Detailed Description

Base class for jobs that can be submitted to a JobServer.

Definition at line 51 of file JobServer.H.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:24 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3