00001 #ifndef _SIGNALFRAMEDATA_H 00002 #define _SIGNALFRAMEDATA_H 00003 00004 #include "IFrameData.h" 00005 #include <string> 00006 00008 00012 class SignalFrameData : public IFrameData 00013 { 00014 public: 00018 enum eSignal { 00019 SIG_START_GESTURE, 00020 SIG_STOP_GESTURE 00021 // more to come 00022 }; 00023 00027 SignalFrameData(eSignal s) : m_signal(s) {} 00028 00032 virtual std::string getType() { return "Signal"; } 00036 const eSignal getSignal() const { return m_signal; } 00040 void setSignal(eSignal s) { m_signal = s; } 00041 00042 private: 00043 eSignal m_signal; 00044 }; 00045 00046 #endif