A packet in an EventLine.
More...
#include <eventdata.h>
Public Member Functions |
| EventData (void) |
| constructor;
|
| EventData (World *w, quint64 dt) |
| constructor; sets how long this data should stay in the lines
|
quint64 | discardTime (void) const |
| the time when this should be discarded
|
| Component (void) |
| constructor;
|
Amorph & | payload (void) |
| associated data
|
virtual ID | identificator (void) const |
| associated ID, if any
|
virtual Factory * | factory (void) const |
| associated factory, if any
|
virtual bool | save (QSettings &s) const =0 |
| save to a QSettings object
|
virtual bool | load (QSettings &s)=0 |
| load from a QSettings object
|
Static Public Member Functions |
static EventData * | fromStg (EventLine *line, QSettings &stg) |
| constructor method; creates and loads an event line from QSettings
|
Protected Member Functions |
virtual | ~EventData (void) |
| destructor;
|
void | setDiscardTime (quint64 t) |
| set the time when this should be discarded
|
void | setDuration (World *w, quint64 dt) |
| set how long this data should stay in the lines
|
virtual | ~Component (void) |
| destructor;
|
virtual void | inserted (void) |
| the instance is informed that the parent attached it
|
Detailed Description
A packet in an EventLine.
The documentation for this class was generated from the following files: