Mercurial > hg > svcore
comparison transform/TransformFactory.h @ 574:2d551c765d51
* thread tidying fix, etc
author | Chris Cannam |
---|---|
date | Mon, 16 Mar 2009 13:56:11 +0000 |
parents | 1b8c748fd7ea |
children | 06579b8ffb7b |
comparison
equal
deleted
inserted
replaced
573:bdc9bb371a9f | 574:2d551c765d51 |
---|---|
37 public: | 37 public: |
38 TransformFactory(); | 38 TransformFactory(); |
39 virtual ~TransformFactory(); | 39 virtual ~TransformFactory(); |
40 | 40 |
41 static TransformFactory *getInstance(); | 41 static TransformFactory *getInstance(); |
42 static void deleteInstance(); // only when exiting | |
42 | 43 |
43 /** | 44 /** |
44 * TransformFactory has a background thread that can populate | 45 * TransformFactory has a background thread that can populate |
45 * uninstalled transforms from network RDF resources. It is not | 46 * uninstalled transforms from network RDF resources. It is not |
46 * started by default, but it's a good idea to start it when the | 47 * started by default, but it's a good idea to start it when the |
222 virtual void run(); | 223 virtual void run(); |
223 TransformFactory *m_factory; | 224 TransformFactory *m_factory; |
224 }; | 225 }; |
225 | 226 |
226 UninstalledTransformsPopulateThread *m_thread; | 227 UninstalledTransformsPopulateThread *m_thread; |
228 bool m_exiting; | |
227 bool m_populatingSlowly; | 229 bool m_populatingSlowly; |
228 | 230 |
229 static TransformFactory *m_instance; | 231 static TransformFactory *m_instance; |
230 }; | 232 }; |
231 | 233 |