Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

STSysEditEvent Class Reference

#include <STSysEditEvent.h>

Inherits SEvent.

Inheritance diagram for STSysEditEvent:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

Event that informs about changes in the tasksystem (jobs, machines, precedence relation etc).


Member Enumeration Documentation

enum STSysEditEvent::Id
 

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)

Enumeration values:
ADDINGJOB 
DELETINGJOB 
JOBSADDED 
JOBSDELETED 
CHANGEDMACHINETOPO 
DEPADDED 
DEPDELETED 

enum SEvent::Type [inherited]
 

Types of events : ILLEGAL, SCHEDEVENT, VISEVENT, EDITEVENT, PREFEVENT

Enumeration values:
ILLEGAL 
SCHEDEVENT 
VISEVENT 
EDITEVENT 
PREFEVENT 
ALGEVENT 


Constructor & Destructor Documentation

STSysEditEvent::STSysEditEvent Id    id,
int    jobA = -1,
int    jobB = -1
[inline]
 

Constructor

Parameters:
id  event id
jobA  job index (-1 if non-interesting)
jobB  job index (-1 if non-interesting)


Member Function Documentation

Id STSysEditEvent::getId   const [inline]
 

Get id of event

Returns:
event id

int STSysEditEvent::getJob   const [inline]
 

Get index of job

Returns:
job index

int STSysEditEvent::getJobA   const [inline]
 

With DEPADDED/DEPDELETED: get index of source job

Returns:
index of source job

int STSysEditEvent::getJobB   const [inline]
 

With DEPADDED/DEPDELETED: get index of target job

Returns:
index of target job

virtual Type STSysEditEvent::getType   const [inline, virtual]
 

Get type of this event

Returns:
EDITEVENT

Reimplemented from SEvent.

void STSysEditEvent::write std::ostream &    rOs const [virtual]
 

Write event to stream

Parameters:
rOs  output stream

Reimplemented from SEvent.


The documentation for this class was generated from the following files:
Generated on Thu May 22 16:50:55 2003 for Sketch-it! by doxygen1.2.18