#include <JobEntry.h>
Collaboration diagram for JobEntry:Public Member Functions | |
| JobEntry () | |
| JobEntry (int priority, JobType type, Chunk *chunk) | |
| JobEntry (const JobEntry &e) | |
| JobEntry & | operator= (const JobEntry &e) |
| ~JobEntry () | |
| int | getPriority () const |
| JobType | getType () const |
| Chunk * | getChunk () const |
Static Public Attributes | |
| static const JobEntry | InvalidJob |
Structure that contains information about a chunk job.
It will hold a reference of the chunk.
Definition at line 34 of file JobEntry.h.
| JobEntry | ( | ) |
Constructs an invalid job.
Use InvalidJob whenever possible.
Definition at line 10 of file JobEntry.cpp.
Constructs a new job.
| priority | The higher the job priority the earlier it will be processed by the job workers. |
Definition at line 17 of file JobEntry.cpp.
Here is the call graph for this function:| ~JobEntry | ( | ) |
| int getPriority | ( | ) | const |
Definition at line 58 of file JobEntry.cpp.
| JobType getType | ( | ) | const |
Definition at line 63 of file JobEntry.cpp.
| Chunk * getChunk | ( | ) | const |
Definition at line 68 of file JobEntry.cpp.
|
static |
For better code documentation, this should be used instead of the empty constructor whenever possible.
Definition at line 43 of file JobEntry.h.