april  1.0.0
...
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
april::EventData Class Reference

A packet in an EventLine. More...

#include <eventdata.h>

+ Inheritance diagram for april::EventData:

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
- Public Member Functions inherited from april::Component
 Component (void)
 constructor;
Amorph & payload (void)
 associated data
virtual ID identificator (void) const
 associated ID, if any
virtual Factoryfactory (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 EventDatafromStg (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
- Protected Member Functions inherited from april::Component
virtual ~Component (void)
 destructor;
virtual void inserted (void)
 the instance is informed that the parent attached it

Friends

class EventLine

Detailed Description

A packet in an EventLine.


The documentation for this class was generated from the following files: