#include <OSGMPBase.h>
Inheritance diagram for osg::MPLockType:

Class Specific | |
| CreateLockF | _fCreateLock |
| *static UInt32 | _uiLockCount = 0 |
Public Member Functions | |
Constructor | |
| * | MPLockType (const Char8 *szName, const Char8 *szParentName, CreateLockF fCreateLock) |
Destructor | |
| *virtual | ~MPLockType (void) |
Construction | |
| *Lock * | create (const Char8 *szName) |
Id | |
| *UInt32 | getId (void) const |
| const IDString & | getName (void) const |
| const Char8 * | getCName (void) const |
| const IDString & | getParentName (void) const |
| const Char8 * | getCParentName (void) const |
| UInt32 | getNameSpace (void) const |
Operators | |
| *virtual bool | isDerivedFrom (const TypeBase &other) const |
Comparison | |
| *bool | operator== (const TypeBase &other) const |
| bool | operator!= (const TypeBase &other) const |
Protected Types | |
| typedef MPType | Inherited |
Protected Attributes | |
Members | |
| *UInt32 | _uiTypeId |
| UInt32 | _uiTypeRootId |
| TypeBase * | _pParent |
| IDString | _szName |
| IDString | _szParentName |
Private Member Functions | |
| MPLockType (const MPLockType &source) | |
| prohibit default function (move to 'public' if needed) | |
| void | operator= (const MPLockType &source) |
| prohibit default function (move to 'public' if needed) | |
Definition at line 249 of file OSGMPBase.h.
|
|
Reimplemented from osg::MPType. Definition at line 281 of file OSGMPBase.h. |
|
||||||||||||||||
|
Definition at line 175 of file OSGMPBase.cpp. References osg::ThreadManager::registerLockType(), and osg::ThreadManager::the(). 00177 : 00178 Inherited(szName, szParentName), 00179 _fCreateLock(fCreateLock ) 00180 { 00181 ThreadManager::the()->registerLockType(this); 00182 }
|
|
|
Definition at line 185 of file OSGMPBase.cpp.
|
|
|
|
|
|
Definition at line 190 of file OSGMPBase.cpp. References _fCreateLock, and _uiLockCount. 00191 { 00192 UInt32 uiNewId = _uiLockCount++; 00193 00194 if(_fCreateLock != NULL) 00195 return _fCreateLock(szName, uiNewId); 00196 else 00197 return NULL; 00198 }
|
|
|
|
|
|
|
Definition at line 86 of file OSGTypeBase.cpp. References osg::TypeBase::_szName. Referenced by osg::SharePtrGraphOp::compareFCs(), osg::deepClone(), osg::NodeCore::dump(), osg::Geometry::dump(), osg::Attachment::dump(), osg::VRMLFile::getFieldType(), osg::VRMLNodeDesc::prototypeAddField(), and osg::TypeFactory::registerType(). 00087 { 00088 return _szName; 00089 }
|
|
|
|
Definition at line 98 of file OSGTypeBase.cpp. References osg::TypeBase::_szParentName. 00099 { 00100 return _szParentName; 00101 }
|
|
|
Definition at line 104 of file OSGTypeBase.cpp. References osg::TypeBase::_szParentName, and osg::IDString::str(). Referenced by osg::TypeFactory::writeTypeDot(). 00105 { 00106 return _szParentName.str(); 00107 }
|
|
|
Definition at line 110 of file OSGTypeBase.cpp. Referenced by osg::TypeFactory::registerType().
|
|
|
Reimplemented in osg::FieldContainerType. Definition at line 119 of file OSGTypeBase.cpp. Referenced by osg::FieldContainerType::isDerivedFrom().
|
|
|
Definition at line 127 of file OSGTypeBase.cpp. References osg::TypeBase::_uiTypeId.
|
|
|
Definition at line 133 of file OSGTypeBase.cpp.
|
|
|
Definition at line 172 of file OSGMPBase.cpp. Referenced by create(). |
|
|
Definition at line 288 of file OSGMPBase.h. Referenced by create(). |
|
|
Definition at line 114 of file OSGTypeBase.h. Referenced by osg::TypeBase::getId(), osg::FieldContainerType::isDerivedFrom(), osg::TypeBase::operator==(), and osg::TypeBase::TypeBase(). |
|
|
Definition at line 115 of file OSGTypeBase.h. |
|
|
Reimplemented in osg::FieldContainerType. Definition at line 117 of file OSGTypeBase.h. |
|
|
Definition at line 119 of file OSGTypeBase.h. Referenced by osg::FieldContainerType::addDescription(), osg::TypeBase::getCName(), osg::TypeBase::getName(), osg::FieldContainerType::initFields(), osg::FieldContainerType::initialize(), and osg::FieldContainerType::registerType(). |
|
|
Reimplemented in osg::FieldContainerType. Definition at line 120 of file OSGTypeBase.h. Referenced by osg::TypeBase::getCParentName(), and osg::TypeBase::getParentName(). |
1.4.3