• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

src/N900/ButtonListener.h

00001 #ifndef FCAM_N900_BUTTON_LISTENER_H
00002 #define FCAM_N900_BUTTON_LISTENER_H
00003 
00004 #include <pthread.h>
00005 
00006 #include "FCam/Event.h"
00007 
00008 namespace FCam { 
00009     namespace N900 {
00010 
00011         class ButtonListener : public EventGenerator {
00012           public:
00013             // ButtonListener is a singleton
00014             static ButtonListener *instance();
00015 
00016           private:
00017             ButtonListener();
00018             ~ButtonListener();            
00019 
00020             void run();
00021  
00022             pthread_t thread;
00023 
00024             friend void *button_listener_thread_(void *arg);
00025 
00026             bool stop;
00027         };
00028 
00029     }
00030 }
00031 
00032 #endif

Generated on Fri Sep 24 2010 15:53:00 for FCam by  doxygen 1.7.1