MGF Server  2.1
Multigaze framework server
 All Classes Functions
IGDEntry.h
1 #pragma once
2 
3 #include <string>
4 #include <sstream>
5 
6 #include "gdtypes.h"
7 
8 template<typename T>
9 class IGDEntry
10 {
11 public:
12  IGDEntry(T e):mData(e) { }
13  virtual ~IGDEntry() { }
14 
15 public:
16  virtual gdElementType type() = 0;
17  virtual string toString() = 0;
18 
19  virtual long number(){ return mData.number; }
20  virtual long time(){ return mData.time; }
21 
22 protected:
23  T mData;
24 };