00001 00002 #ifndef SCT_SCANSTATUSMANAGER_H 00003 #define SCT_SCANSTATUSMANAGER_H 00004 00005 #include <list> 00006 #include "Sct_SctApi/SctApi.hh" 00007 #include "boost/thread.hpp" 00008 00009 namespace Sct { 00010 00011 class ScanStatusManager { 00012 public: 00013 typedef Sct_SctApi::CrateIPC_var CC; 00014 public: 00015 void monitorThisScanner(CC & cc); 00016 public: 00017 void removeCompleteScanners(); 00018 public: 00019 bool scannersHaveFinished(); 00020 private: 00021 typedef std::list<CC> CCS; 00022 CCS m_ccs; 00023 boost::recursive_mutex m_mutex; 00024 }; 00025 00026 }; 00027 00028 #endif