Changeset 10890

Show
Ignore:
Timestamp:
12/14/09 14:42:00 (4 years ago)
Author:
robert
Message:

Renamed osg::GraphicsContext::OperationQueue? typedef to GraphicsOperationQueue? to avoid naming conflict with osg::OperationQueue?

Location:
OpenSceneGraph/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/GraphicsContext

    r10747 r10890  
    257257        void runOperations(); 
    258258 
    259         typedef std::list< ref_ptr<Operation> > OperationQueue; 
     259        typedef std::list< ref_ptr<Operation> > GraphicsOperationQueue; 
    260260         
    261261        /** Get the operations queue, not you must use the OperationsMutex when accessing the queue.*/ 
    262         OperationQueue& getOperationsQueue() { return _operations; } 
     262        GraphicsOperationQueue& getOperationsQueue() { return _operations; } 
    263263 
    264264        /** Get the operations queue mutex.*/ 
     
    472472        OpenThreads::Mutex                  _operationsMutex; 
    473473        osg::ref_ptr<osg::RefBlock>         _operationsBlock; 
    474         OperationQueue                      _operations; 
     474        GraphicsOperationQueue              _operations; 
    475475        osg::ref_ptr<Operation>             _currentOperation; 
    476476 
  • OpenSceneGraph/trunk/src/osg/GraphicsContext.cpp

    r10833 r10890  
    680680    OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_operationsMutex); 
    681681 
    682     for(OperationQueue::iterator itr = _operations.begin(); 
     682    for(GraphicsOperationQueue::iterator itr = _operations.begin(); 
    683683        itr!=_operations.end();) 
    684684    { 
     
    701701 
    702702    // find the remove all operations with specified name 
    703     for(OperationQueue::iterator itr = _operations.begin(); 
     703    for(GraphicsOperationQueue::iterator itr = _operations.begin(); 
    704704        itr!=_operations.end();) 
    705705    { 
     
    751751    } 
    752752 
    753     for(OperationQueue::iterator itr = _operations.begin(); 
     753    for(GraphicsOperationQueue::iterator itr = _operations.begin(); 
    754754        itr != _operations.end(); 
    755755        ) 
  • OpenSceneGraph/trunk/src/osgWrappers/osg/GraphicsContext.cpp

    r10767 r10890  
    3434TYPE_NAME_ALIAS(std::vector< osg::GraphicsContext * >, osg::GraphicsContext::GraphicsContexts) 
    3535 
    36 TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Operation > >, osg::GraphicsContext::OperationQueue) 
     36TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Operation > >, osg::GraphicsContext::GraphicsOperationQueue) 
    3737 
    3838TYPE_NAME_ALIAS(std::list< osg::Camera * >, osg::GraphicsContext::Cameras) 
     
    114114                  "Run the operations. ", 
    115115                  ""); 
    116         I_Method0(osg::GraphicsContext::OperationQueue &, getOperationsQueue, 
    117                   Properties::NON_VIRTUAL, 
    118                   __OperationQueue_R1__getOperationsQueue, 
     116        I_Method0(osg::GraphicsContext::GraphicsOperationQueue &, getOperationsQueue, 
     117                  Properties::NON_VIRTUAL, 
     118                  __GraphicsOperationQueue_R1__getOperationsQueue, 
    119119                  "Get the operations queue, not you must use the OperationsMutex when accessing the queue. ", 
    120120                  ""); 
     
    396396                         __OpenThreads_Mutex_P1__getOperationsMutex,  
    397397                         0); 
    398         I_SimpleProperty(osg::GraphicsContext::OperationQueue &, OperationsQueue,  
    399                          __OperationQueue_R1__getOperationsQueue,  
     398        I_SimpleProperty(osg::GraphicsContext::GraphicsOperationQueue &, OperationsQueue,  
     399                         __GraphicsOperationQueue_R1__getOperationsQueue,  
    400400                         0); 
    401401        I_SimpleProperty(osg::GraphicsContext::ResizedCallback *, ResizedCallback,