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

STSysVisEvent Class Reference

#include <STSysVisEvent.h>

Inherits SEvent.

Inheritance diagram for STSysVisEvent:

Inheritance graph
[legend]
List of all members.

Public Types

enum  Id { JOB, EDGE, NODEMOVED, BENDSCHANGED }
enum  Type {
  ILLEGAL, SCHEDEVENT, VISEVENT, EDITEVENT,
  PREFEVENT, ALGEVENT
}

Public Methods

 STSysVisEvent (Id id, const UserData &data)
Id getId () const
const UserDatagetChangedObj () const
virtual Type getType () const
virtual void write (std::ostream &rOs) const

Detailed Description

Event which is interesting to visualization classes. These events are designed to carry as few information as possible. It is intended that the visualization classes fetch the simulation by themselves. Exceptions from this rule should only be made if heavy performance problems are encountered.


Member Enumeration Documentation

enum STSysVisEvent::Id
 

Defined Ids : JOB, EDGE, NODEMOVED, BENDSCHANGED

Enumeration values:
JOB 
EDGE 
NODEMOVED 
BENDSCHANGED 

enum SEvent::Type [inherited]
 

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

Enumeration values:
ILLEGAL 
SCHEDEVENT 
VISEVENT 
EDITEVENT 
PREFEVENT 
ALGEVENT 


Constructor & Destructor Documentation

STSysVisEvent::STSysVisEvent Id    id,
const UserData   data
[inline]
 

Constructor

Parameters:
id  event Id
data  user data


Member Function Documentation

const UserData& STSysVisEvent::getChangedObj   const [inline]
 

Get read-only access to the user data

Id STSysVisEvent::getId   const [inline]
 

Return Id of event

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

Get type of event

Returns:
VISEVENT

Reimplemented from SEvent.

virtual void SEvent::write std::ostream &    rOs const [inline, virtual, inherited]
 

Write the information that an event carrys to an output stream in a formatted way

Parameters:
rOs  output stream

Reimplemented in SRecEvent, STSysEditEvent, and STSysSchedEvent.


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