#include <SRecEvent.h>
Inherits SEvent.
Inheritance diagram for SRecEvent:
Public Types | |
enum | Type { ILLEGAL, SCHEDEVENT, VISEVENT, EDITEVENT, PREFEVENT, ALGEVENT } |
Public Methods | |
SRecEvent (const SEvent &ev, const STaskSystem &ts) | |
SRecEvent (const SEvent &ev) | |
virtual | ~SRecEvent () |
virtual void | write (std::ostream &os) const |
double | getTimeStamp () const |
void | setTimeStamp (double time) |
const SEvent & | getEvent () const |
virtual Type | getType () const |
|
Types of events : ILLEGAL, SCHEDEVENT, VISEVENT, EDITEVENT, PREFEVENT |
|
Constructor. Currently used by SPlayerLog::update() to record an event.
|
|
Constructor. Currently used by SPlayer to load and re-play a player-file.
|
|
|
|
Get the enveloped event (without additional information)
|
|
Get the time stamp of an event. This is the time when the event was originally created by the tasksystem.
|
|
Get the type of an event
Reimplemented in SAlgEvent, SPrefEvent, STSysEditEvent, STSysSchedEvent, and STSysVisEvent. |
|
Set the time stamp of an event.
|
|
Write the event and additional information (time stamp) to stream
Reimplemented from SEvent. |