Added new areThreadsRunning() method to Viewer and CompositeViewer.

Added removeView(View*) method to CompositeViewer

Added stopping/starting of threads in addView/removeView
This commit is contained in:
Robert Osfield
2007-05-11 19:25:44 +00:00
parent acb2ed177c
commit 1cb4dfbcb5
3 changed files with 40 additions and 0 deletions

View File

@@ -151,6 +151,9 @@ class OSGVIEWER_EXPORT Viewer : public osgViewer::View
/** Set up the threading and processor affinity as per the viewers threading model.*/
void setUpThreading();
/** Return true if viewer threads are running. */
bool areThreadsRunning() const { return _threadsRunning; }
/** Stop any threads begin run by viewer.*/
void stopThreading();