#include <OperationThread>
◆ Operations
◆ OperationThreads
◆ OperationQueue()
osg::OperationQueue::OperationQueue |
( |
| ) |
|
◆ ~OperationQueue()
virtual osg::OperationQueue::~OperationQueue |
( |
| ) |
|
|
protectedvirtual |
◆ add()
void osg::OperationQueue::add |
( |
Operation * |
operation | ) |
|
Add operation to end of OperationQueue, this will be executed by the operation thread once this operation gets to the head of the queue.
◆ addOperationThread()
◆ empty()
bool osg::OperationQueue::empty |
( |
| ) |
|
Return true if the operation queue is empty.
◆ getNextOperation()
Get the next operation from the operation queue. Return null ref_ptr<> if no operations are left in queue.
◆ getNumOperationsInQueue()
unsigned int osg::OperationQueue::getNumOperationsInQueue |
( |
| ) |
|
Return the num of pending operations that are sitting in the OperationQueue.
◆ getOperationThreads()
◆ releaseAllOperations()
void osg::OperationQueue::releaseAllOperations |
( |
| ) |
|
Call release on all operations.
◆ releaseOperationsBlock()
void osg::OperationQueue::releaseOperationsBlock |
( |
| ) |
|
Release operations block that is used to block threads that are waiting on an empty operations queue.
◆ remove() [1/2]
void osg::OperationQueue::remove |
( |
const std::string & |
name | ) |
|
◆ remove() [2/2]
void osg::OperationQueue::remove |
( |
Operation * |
operation | ) |
|
◆ removeAllOperations()
void osg::OperationQueue::removeAllOperations |
( |
| ) |
|
◆ removeOperationThread()
void osg::OperationQueue::removeOperationThread |
( |
OperationThread * |
thread | ) |
|
|
protected |
◆ runOperations()
void osg::OperationQueue::runOperations |
( |
Object * |
callingObject = 0 | ) |
|
◆ OperationThread
◆ _currentOperationIterator
Operations::iterator osg::OperationQueue::_currentOperationIterator |
|
protected |
◆ _operations
◆ _operationsBlock
◆ _operationsMutex
◆ _operationThreads
The documentation for this class was generated from the following file: