Functions | |
| template<class T> | |
| void | osg::setRefP (T *&pObject, T *&pNewObject) |
| template<class T> | |
| void | osg::addRefP (T *&pObject) |
| template<class T> | |
| void | osg::subRefP (T *&pObject) |
| template<class T> | |
| void | osg::clearRefP (T *&pObject) |
| template<class T> | |
| void | osg::clearRefPVector (std::vector< T * > &vVector) |
| template<class T> | |
| void | osg::clearRefPVectorP (std::vector< T * > *pVector) |
|
||||||||||||||||
|
Definition at line 1650 of file OSGBaseFunctions.inl. Referenced by osg::ThreadCommonBase::setChangeList(). 01651 { 01652 if(pObject != NULL) 01653 pObject->subRef(); 01654 01655 pObject = pNewObject; 01656 01657 if(pObject != NULL) 01658 pObject->addRef(); 01659 }
|
|
||||||||||
|
Definition at line 1665 of file OSGBaseFunctions.inl. Referenced by osg::ClusterWindow::getNetwork(), osg::FieldContainerPtrBase::initialize(), osg::FieldContainerFactory::initialize(), osg::SimpleStatisticsForeground::initText(), and osg::GraphicStatisticsForeground::initText().
|
|
||||||||||
|
||||||||||
|
Definition at line 1685 of file OSGBaseFunctions.inl.
|
|
||||||||||
|
Definition at line 1697 of file OSGBaseFunctions.inl. 01698 { 01699 for(UInt32 i = 0; i < vVector.size(); i++) 01700 vVector[i]->subRef(); 01701 01702 vVector.erase(vVector.begin(), vVector.end()); 01703 }
|
|
||||||||||
|
Definition at line 1709 of file OSGBaseFunctions.inl. 01710 { 01711 if(pVector != NULL) 01712 { 01713 for(UInt32 uiIndex = 0; uiIndex < pVector->size(); uiIndex++) 01714 (*pVector)[uiIndex]->subRef(); 01715 01716 pVector->erase(pVector->begin(), pVector->end()); 01717 } 01718 }
|
1.4.3