#include <STSysEditEvent.h>
Inherits SEvent.
Inheritance diagram for STSysEditEvent:
Public Types | |
enum | Id { ADDINGJOB, DELETINGJOB, JOBSADDED, JOBSDELETED, CHANGEDMACHINETOPO, DEPADDED, DEPDELETED } |
enum | Type { ILLEGAL, SCHEDEVENT, VISEVENT, EDITEVENT, PREFEVENT, ALGEVENT } |
Public Methods | |
STSysEditEvent (Id id, int jobA=-1, int jobB=-1) | |
virtual Type | getType () const |
Id | getId () const |
int | getJob () const |
int | getJobA () const |
int | getJobB () const |
virtual void | write (std::ostream &rOs) const |
|
Defined Ids: ADDINGJOB (new job has an index now), DELETINGJOB (job will be deleted right now), JOBSADDED (one or more jobs have beed added and precedence relation and environment are informed), CHANGEDMACHINETOPO, DEPADDED (a new dependency between two jobs has been added), DEPDELETED ( dependency has been deleted) |
|
Types of events : ILLEGAL, SCHEDEVENT, VISEVENT, EDITEVENT, PREFEVENT |
|
Constructor
|
|
Get id of event
|
|
Get index of job
|
|
With DEPADDED/DEPDELETED: get index of source job
|
|
With DEPADDED/DEPDELETED: get index of target job
|
|
Get type of this event
Reimplemented from SEvent. |
|
Write event to stream
Reimplemented from SEvent. |