Inheritance diagram for osg::OperationsThread:

Public Member Functions | |
| OperationsThread () | |
| void | setParent (Object *parent) |
| Object * | getParent () |
| const Object * | getParent () const |
| void | add (Operation *operation, bool waitForCompletion=false) |
| Add operation to end of OperationQueue, this will be executed by the graphics thread once this operation gets to the head of the queue. | |
| void | remove (Operation *operation) |
| Remove operation from OperationQueue. | |
| void | remove (const std::string &name) |
| Remove named operation from OperationQueue. | |
| void | removeAllOperations () |
| Remove all operations from OperationQueue. | |
| osg::ref_ptr< Operation > | getCurrentOperation () |
| Get the operation currently being run. | |
| virtual void | run () |
| Run does the graphics thread run loop. | |
| void | setDone (bool done) |
| bool | getDone () const |
| virtual int | cancel () |
| Cancel this graphics thread. | |
Protected Types | |
| typedef std::list< ref_ptr< Operation > > | OperationQueue |
Protected Member Functions | |
| virtual | ~OperationsThread () |
Protected Attributes | |
| observer_ptr< Object > | _parent |
| bool | _done |
| OpenThreads::Mutex | _operationsMutex |
| osg::ref_ptr< osg::RefBlock > | _operationsBlock |
| OperationQueue | _operations |
| osg::ref_ptr< Operation > | _currentOperation |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Add operation to end of OperationQueue, this will be executed by the graphics thread once this operation gets to the head of the queue.
|
|
|
Cancel this graphics thread.
|
|
|
Get the operation currently being run.
|
|
|
|
|
|
|
|
|
|
|
|
Remove named operation from OperationQueue.
|
|
|
Remove operation from OperationQueue.
|
|
|
Remove all operations from OperationQueue.
|
|
|
Run does the graphics thread run loop.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|