00001 #ifndef OT_CONFIGURATION_THREAD_HH 00002 #define OT_CONFIGURATION_THREAD_HH 00003 00004 namespace ot{ 00005 00006 class ConfigurationThread{ 00007 00008 public: 00009 virtual ~ConfigurationThread(){}; 00010 00011 virtual void start()=0; 00012 virtual void closeThread()=0; 00013 virtual void configTask(){}; 00014 00015 static void thread_func(void *data){ 00016 ((ConfigurationThread *)data)->configTask(); 00017 printf( "THREAD_FUNC:: thread finished\n"); 00018 } 00019 00020 }; 00021 00022 } //namespace ot 00023 #endif //OT_CONFIGURATION_THREAD_HH
1.4.6