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

Class Specific | |
| CreateThreadF | _fCreateThread |
| *static UInt32 | _uiThreadCount = 0 |
Public Member Functions | |
Constructor | |
| * | MPThreadType (const Char8 *szName, const Char8 *szParentName, CreateThreadF fCreateThread, InitThreadingF fInitThreading) |
Destructor | |
| *virtual | ~MPThreadType (void) |
Construction | |
| *BaseThread * | 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 | |
| MPThreadType (const MPThreadType &source) | |
| prohibit default function (move to 'public' if needed) | |
| void | operator= (const MPThreadType &source) |
| prohibit default function (move to 'public' if needed) | |
Definition at line 122 of file OSGMPBase.h.
|
|
Reimplemented from osg::MPType. Definition at line 156 of file OSGMPBase.h. |
|
||||||||||||||||||||
|
Definition at line 84 of file OSGMPBase.cpp. References osg::ThreadManager::registerThreadType(), and osg::ThreadManager::the(). 00087 : 00088 Inherited (szName, szParentName), 00089 _fCreateThread(fCreateThread ) 00090 { 00091 ThreadManager::the()->registerThreadType(this); 00092 00093 if(fInitThreading != NULL) 00094 fInitThreading(); 00095 }
|
|
|
Definition at line 98 of file OSGMPBase.cpp.
|
|
|
|
|
|
Definition at line 103 of file OSGMPBase.cpp. References _fCreateThread, and _uiThreadCount. 00104 { 00105 Char8 *szTmp; 00106 UInt32 uiNewId = _uiThreadCount++; 00107 00108 if(szName == NULL) 00109 { 00110 szTmp = new Char8[16]; 00111 sprintf(szTmp, "OSGThread_%u", uiNewId); 00112 } 00113 else 00114 { 00115 szTmp = const_cast<Char8 *>(szName); 00116 } 00117 00118 if(_fCreateThread != NULL) 00119 return _fCreateThread(szTmp, uiNewId); 00120 else 00121 return NULL; 00122 }
|
|
|
|
|
|
|
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 81 of file OSGMPBase.cpp. Referenced by create(). |
|
|
Definition at line 163 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