Show
Ignore:
Timestamp:
03/11/10 17:46:01 (5 years ago)
Author:
robert
Message:

Clean up of initialization of statics/use of getenv

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgUtil/RenderBin

    r10275 r11202  
    170170}; 
    171171 
    172 /** Proxy class for automatic registration of renderbins with the RenderBin prototypelist.*/ 
    173 class RegisterRenderBinProxy 
    174 { 
    175     public: 
    176         RegisterRenderBinProxy(const std::string& binName,RenderBin* proto) 
    177         { 
    178             _rb = proto; 
    179             RenderBin::addRenderBinPrototype(binName,_rb.get()); 
    180         } 
    181  
    182         ~RegisterRenderBinProxy() 
    183         { 
    184             RenderBin::removeRenderBinPrototype(_rb.get()); 
    185         } 
    186          
    187     protected: 
    188         osg::ref_ptr<RenderBin> _rb; 
    189 }; 
    190  
    191  
    192172} 
    193173