Added support for an update OperationQueue to Viewer and CompositeViewer to allow asyncrnous adding of operations to be added

to the view to be done during syncronous updateTraversal().

This feature can be used for doing things like merging subgraphs that have been loaded
in a background thread.
This commit is contained in:
Robert Osfield
2007-08-11 10:28:14 +00:00
parent 0e475106dc
commit e5a365afee
9 changed files with 348 additions and 3 deletions

View File

@@ -109,6 +109,9 @@ class OSG_EXPORT OperationQueue : public Referenced
/** Remove all operations from OperationQueue.*/
void removeAllOperations();
/** Run the operations. */
void runOperations(Object* callingObject=0);
/** Call release on all operations. */
void releaseAllOperations();