#include <SJobMod.h>
Inherits SModifier.
Inherited by SAtomarJobMod, SBroadcastRequMod, SMalleableJobMod, SParallelJobMod, and SShopJobMod.
Inheritance diagram for SJobMod:
Public Methods | |
SJobMod (SJob &job) | |
virtual bool | load (std::istream &in) |
virtual void | save (std::ostream &out) const |
void | setDueTime (double time) |
void | setProcTime (double proctime) |
void | setProcTime () |
void | setStartTime (double time, int operation=0) |
void | setTopology (STopology *pTop) |
void | setIndex (int idx) |
void | setWeight (double w) |
void | setExpProcTime (double exp) |
void | setProcTimeDist (SProbabilityDist *dist) |
void | setReleaseTime (double reltime) |
virtual void | sample () |
Protected Methods | |
SFlexLexer & | getLexer (std::istream &in) |
|
|
|
Get a reference to the global lexical-analyzer, in order to parse an input stream. There is only one lexer for all modifiers in the tasksystem to avoid wasting space. When the input stream is switched, the current line number is set to 1.
|
|
Load job from stream
Implements SModifier. Reimplemented in SAtomarJobMod, SBroadcastRequMod, SMalleableJobMod, SParallelJobMod, and SShopJobMod. |
|
|
Save job to stream
Implements SModifier. Reimplemented in SAtomarJobMod, SBroadcastRequMod, SMalleableJobMod, SParallelJobMod, and SShopJobMod. |
|
Set due date |
|
No descriptions |
|
Set index. CAUTION: Be shure what you do !! |
|
|
|
Set relative processing time. If the proc time is modified the remaining processing time is reset to the full value. |
|
|
|
No descriptions |
|
Set time when the job gets running for the first time |
|
Set topology of job |
|
Set weight (priority) |