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

SEvent Class Reference

#include <SEvent.h>

Inherited by SAlgEvent, SPrefEvent, SRecEvent, STSysEditEvent, STSysSchedEvent, and STSysVisEvent.

Inheritance diagram for SEvent:

Inheritance graph
[legend]
List of all members.

Public Types

enum  Type {
  ILLEGAL, SCHEDEVENT, VISEVENT, EDITEVENT,
  PREFEVENT, ALGEVENT
}

Public Methods

virtual Type getType () const
virtual void write (std::ostream &rOs) const

Detailed Description

Base class for all kinds of events which use the observer mechanism. This class is not yet used as such (since it does not carry any information about the sender and the type of the event). Only subclasses are in actual use.


Member Enumeration Documentation

enum SEvent::Type
 

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

Enumeration values:
ILLEGAL 
SCHEDEVENT 
VISEVENT 
EDITEVENT 
PREFEVENT 
ALGEVENT 


Member Function Documentation

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

Get the type of an event

Returns:
type of event

Reimplemented in SAlgEvent, SPrefEvent, STSysEditEvent, STSysSchedEvent, and STSysVisEvent.

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

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:44 2003 for Sketch-it! by doxygen1.2.18