Mercurial > hg > svcore
comparison transform/TransformFactory.h @ 479:f933062a7f80
* Make scale bar more accurate (if no more helpful) in log scaled colour 3d plot
author | Chris Cannam |
---|---|
date | Wed, 12 Nov 2008 16:39:29 +0000 |
parents | e0784311a103 |
children | a82645e788fc |
comparison
equal
deleted
inserted
replaced
478:1405f4a2caf3 | 479:f933062a7f80 |
---|---|
216 public: | 216 public: |
217 UninstalledTransformsPopulateThread(TransformFactory *factory) : | 217 UninstalledTransformsPopulateThread(TransformFactory *factory) : |
218 m_factory(factory) { | 218 m_factory(factory) { |
219 } | 219 } |
220 virtual void run() { | 220 virtual void run() { |
221 m_factory->m_populatingSlowly = true; | |
221 sleep(2); | 222 sleep(2); |
222 m_factory->populateUninstalledTransforms(); | 223 m_factory->populateUninstalledTransforms(); |
223 } | 224 } |
224 TransformFactory *m_factory; | 225 TransformFactory *m_factory; |
225 }; | 226 }; |
226 | 227 |
227 UninstalledTransformsPopulateThread *m_thread; | 228 UninstalledTransformsPopulateThread *m_thread; |
229 bool m_populatingSlowly; | |
228 | 230 |
229 static TransformFactory *m_instance; | 231 static TransformFactory *m_instance; |
230 }; | 232 }; |
231 | 233 |
232 | 234 |