Began proof-of-concept memory module.
[aesalon.git] / modules / memory / src / artisan / DataStore.h
blob55bced09f407edf1cbd37c73b65b2dcad8fd489d
1 #ifndef AesalonArtisan_cpuTime_DataStore_H
2 #define AesalonArtisan_cpuTime_DataStore_H
4 #include <QPair>
5 #include <QList>
6 #include <QListIterator>
8 #include "artisan/DataStore.h"
9 #include "artisan/gviewport/Data.h"
11 class DataStore : public Artisan::DataStore, public Artisan::GViewport::Data {
12 private:
13 QList<QPair<double, double> > m_dataList;
14 double m_firstTime;
15 double m_lastCpuTime;
16 double m_lastTime;
17 public:
18 DataStore();
19 virtual ~DataStore();
21 virtual void process(Comm::Packet *packet);
23 QListIterator<QPair<double, double> > iterator() { return QListIterator<QPair<double, double> >(m_dataList); }
26 #endif