6 #include <boost\shared_ptr.hpp> 
   23         virtual gdElementType type(){ 
return GDT_BLINK; }
 
   24         virtual long duration(){ 
return mData.duration; }
 
   25         virtual short eye(){ 
return mData.eye; }
 
   27         virtual string toString()
 
   31                 stream << time() << 
"\t";
 
   32                 stream << number() << 
"\t";
 
   35                 stream << duration() << 
"\t";
 
   36                 stream << eye() << 
"\t";
 
   38                 stream << type() << 
"\t";
 
   45 typedef boost::shared_ptr<GDBlink> GDBlinkPtr;
 
   57         virtual gdElementType type(){ 
return GDT_FIXATION; }
 
   58         virtual long duration(){ 
return mData.duration; }
 
   59         virtual short eye(){ 
return mData.eye; }
 
   60         virtual long x(){ 
return mData.x; }
 
   61         virtual long y(){ 
return mData.y; }
 
   63         virtual string toString()
 
   67                 stream << time() << 
"\t";
 
   68                 stream << number() << 
"\t";
 
   69                 stream << x() << 
"\t";
 
   70                 stream << y() << 
"\t";
 
   71                 stream << duration() << 
"\t";
 
   72                 stream << eye() << 
"\t";
 
   74                 stream << type() << 
"\t";
 
   81 typedef boost::shared_ptr<GDFixation> GDFixationPtr;
 
   93         virtual gdElementType type(){ 
return GDT_FIXATION; }
 
   94         virtual long pupil(){ 
return mData.pupil; }
 
   95         virtual short eye(){ 
return mData.eye; }
 
   96         virtual long x(){ 
return mData.x; }
 
   97         virtual long y(){ 
return mData.y; }
 
   99         virtual string toString()
 
  103                 stream << time() << 
"\t";
 
  104                 stream << number() << 
"\t";
 
  105                 stream << x() << 
"\t";
 
  106                 stream << y() << 
"\t";
 
  107                 stream << -1 << 
"\t";
 
  108                 stream << eye() << 
"\t";
 
  109                 stream << pupil() << 
"\t";
 
  110                 stream << type() << 
"\t";
 
  117 typedef boost::shared_ptr<GDSingleSample> GDSingleSamplePtr;