#include <OSGMPBase.h>

Class Specific | |
| static UInt32 | _uiThreadCount = 0 |
| CreateThreadF | _fCreateThread |
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.
typedef MPType osg::MPThreadType::Inherited [protected] |
| MPThreadType::MPThreadType | ( | const Char8 * | szName, | |
| const Char8 * | szParentName, | |||
| CreateThreadF | fCreateThread, | |||
| InitThreadingF | fInitThreading | |||
| ) |
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 }
| MPThreadType::~MPThreadType | ( | void | ) | [virtual] |
| osg::MPThreadType::MPThreadType | ( | const MPThreadType & | source | ) | [private] |
| BaseThread * MPThreadType::create | ( | const Char8 * | szName | ) |
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 }
| void osg::MPThreadType::operator= | ( | const MPThreadType & | source | ) | [private] |
| UInt32 TypeBase::getId | ( | void | ) | const [inherited] |
Definition at line 80 of file OSGTypeBase.cpp.
References osg::TypeBase::_uiTypeId.
Referenced by osg::FieldFactory::addType(), osg::Action::callEnter(), osg::Action::callLeave(), osg::FieldContainerType::dump(), osg::XWindowBase::getClassTypeId(), osg::WindowBase::getClassTypeId(), osg::WIN32WindowBase::getClassTypeId(), osg::ViewportBase::getClassTypeId(), osg::VertexProgramChunkBase::getClassTypeId(), osg::TwoSidedLightingChunkBase::getClassTypeId(), osg::TransformChunkBase::getClassTypeId(), osg::TransformBase::getClassTypeId(), osg::TileCameraDecoratorBase::getClassTypeId(), osg::TextureTransformChunkBase::getClassTypeId(), osg::TextureGrabForegroundBase::getClassTypeId(), osg::TextureGrabBackgroundBase::getClassTypeId(), osg::TextureChunkBase::getClassTypeId(), osg::TextureBackgroundBase::getClassTypeId(), osg::TexGenChunkBase::getClassTypeId(), osg::SwitchMaterialBase::getClassTypeId(), osg::SwitchBase::getClassTypeId(), osg::SurfaceBase::getClassTypeId(), osg::StringAttributeMapBase::getClassTypeId(), osg::StereoCameraDecoratorBase::getClassTypeId(), osg::StereoBufferViewportBase::getClassTypeId(), osg::StencilChunkBase::getClassTypeId(), osg::StatisticsForegroundBase::getClassTypeId(), osg::StateSortingGroupBase::getClassTypeId(), osg::StateChunkBase::getClassTypeId(), osg::StateBase::getClassTypeId(), osg::SpotLightBase::getClassTypeId(), osg::SortFirstWindowBase::getClassTypeId(), osg::SolidBackgroundBase::getClassTypeId(), osg::SlicesBase::getClassTypeId(), osg::SkyBackgroundBase::getClassTypeId(), osg::SimpleTexturedMaterialBase::getClassTypeId(), osg::SimpleStatisticsForegroundBase::getClassTypeId(), osg::SimpleMaterialBase::getClassTypeId(), osg::SHLParameterChunkBase::getClassTypeId(), osg::SHLChunkBase::getClassTypeId(), osg::ShearedStereoCameraDecoratorBase::getClassTypeId(), osg::ShaderParameterVec4fBase::getClassTypeId(), osg::ShaderParameterVec3fBase::getClassTypeId(), osg::ShaderParameterVec2fBase::getClassTypeId(), osg::ShaderParameterStringBase::getClassTypeId(), osg::ShaderParameterRealBase::getClassTypeId(), osg::ShaderParameterMVec4fBase::getClassTypeId(), osg::ShaderParameterMVec3fBase::getClassTypeId(), osg::ShaderParameterMVec2fBase::getClassTypeId(), osg::ShaderParameterMRealBase::getClassTypeId(), osg::ShaderParameterMMatrixBase::getClassTypeId(), osg::ShaderParameterMIntBase::getClassTypeId(), osg::ShaderParameterMatrixBase::getClassTypeId(), osg::ShaderParameterIntBase::getClassTypeId(), osg::ShaderParameterChunkBase::getClassTypeId(), osg::ShaderParameterBoolBase::getClassTypeId(), osg::ShaderParameterBase::getClassTypeId(), osg::ShaderChunkBase::getClassTypeId(), osg::ScreenGroupBase::getClassTypeId(), osg::SClipPlaneChunkBase::getClassTypeId(), osg::ResolutionDisplayFilterBase::getClassTypeId(), osg::RenderOptionsBase::getClassTypeId(), osg::RegisterCombinersChunkBase::getClassTypeId(), osg::QTWindowBase::getClassTypeId(), osg::ProxyGroupBase::getClassTypeId(), osg::ProjectionCameraDecoratorBase::getClassTypeId(), osg::ProgramChunkBase::getClassTypeId(), osg::PolygonForegroundBase::getClassTypeId(), osg::PolygonChunkBase::getClassTypeId(), osg::PolygonBackgroundBase::getClassTypeId(), osg::PointLightBase::getClassTypeId(), osg::PointChunkBase::getClassTypeId(), osg::PhongMaterialBase::getClassTypeId(), osg::PerspectiveCameraBase::getClassTypeId(), osg::PassiveWindowBase::getClassTypeId(), osg::PassiveViewportBase::getClassTypeId(), osg::PassiveBackgroundBase::getClassTypeId(), osg::ParticlesBase::getClassTypeId(), osg::OrthographicCameraBase::getClassTypeId(), osg::OffCenterPerspectiveCameraBase::getClassTypeId(), osg::MultiPassMaterialBase::getClassTypeId(), osg::MultiDisplayWindowBase::getClassTypeId(), osg::MatrixCameraDecoratorBase::getClassTypeId(), osg::MatrixCameraBase::getClassTypeId(), osg::MaterialPoolBase::getClassTypeId(), osg::MaterialGroupBase::getClassTypeId(), osg::MaterialDrawableBase::getClassTypeId(), osg::MaterialChunkBase::getClassTypeId(), osg::MaterialBase::getClassTypeId(), osg::LogicOpChunkBase::getClassTypeId(), osg::LineChunkBase::getClassTypeId(), osg::LightModelChunkBase::getClassTypeId(), osg::LightEnvBase::getClassTypeId(), osg::LightChunkBase::getClassTypeId(), osg::LightBase::getClassTypeId(), osg::InverseTransformBase::getClassTypeId(), osg::InlineBase::getClassTypeId(), osg::ImageForegroundBase::getClassTypeId(), osg::ImageComposerBase::getClassTypeId(), osg::ImageBase::getClassTypeId(), osg::ImageBackgroundBase::getClassTypeId(), osg::GroupBase::getClassTypeId(), osg::GraphicStatisticsForegroundBase::getClassTypeId(), osg::GradientBackgroundBase::getClassTypeId(), osg::GrabForegroundBase::getClassTypeId(), osg::GLUTWindowBase::getClassTypeId(), osg::GeometryBase::getClassTypeId(), osg::FresnelMaterialBase::getClassTypeId(), osg::FragmentProgramChunkBase::getClassTypeId(), osg::ForegroundBase::getClassTypeId(), osg::FileGrabForegroundBase::getClassTypeId(), osg::FieldContainer::getClassTypeId(), osg::FCPtrAttributeMapBase::getClassTypeId(), osg::FBOViewportBase::getClassTypeId(), osg::FatBorderChunkBase::getClassTypeId(), osg::DVRVolumeTextureBase::getClassTypeId(), osg::DVRVolumeBase::getClassTypeId(), osg::DVRSimpleShaderBase::getClassTypeId(), osg::DVRSimpleLUTShaderBase::getClassTypeId(), osg::DVRShaderBase::getClassTypeId(), osg::DVRMtexLUTShaderBase::getClassTypeId(), osg::DVRLookupTableBase::getClassTypeId(), osg::DVRIsoSurfaceBase::getClassTypeId(), osg::DVRIsoShaderBase::getClassTypeId(), osg::DVRGeometryBase::getClassTypeId(), osg::DVRClipObjectsBase::getClassTypeId(), osg::DVRClipGeometryBase::getClassTypeId(), osg::DVRAppearanceBase::getClassTypeId(), osg::DrawableBase::getClassTypeId(), osg::DistortionDisplayFilterBase::getClassTypeId(), osg::DistanceLODBase::getClassTypeId(), osg::DisplayFilterForegroundBase::getClassTypeId(), osg::DisplayFilterBase::getClassTypeId(), osg::DisplayCalibrationBase::getClassTypeId(), osg::DirectionalLightBase::getClassTypeId(), osg::DepthClearBackgroundBase::getClassTypeId(), osg::DepthChunkBase::getClassTypeId(), osg::CubeTextureChunkBase::getClassTypeId(), osg::ComponentTransformBase::getClassTypeId(), osg::ColorMaskChunkBase::getClassTypeId(), osg::ColorDisplayFilterBase::getClassTypeId(), osg::ColorBufferViewportBase::getClassTypeId(), osg::ClusterWindowBase::getClassTypeId(), osg::ClipPlaneChunkBase::getClassTypeId(), osg::ClipPlaneBase::getClassTypeId(), osg::ChunkMaterialBase::getClassTypeId(), osg::CameraDecoratorBase::getClassTypeId(), osg::CameraBase::getClassTypeId(), osg::BlendChunkBase::getClassTypeId(), osg::BillboardBase::getClassTypeId(), osg::BackgroundBase::getClassTypeId(), osg::VRMLFile::getFieldType(), osg::SingleFunctorStore::getFunctor(), osg::MultiFunctorStore::getFunctor(), osg::FieldType::getScanTypeId(), osg::MPBase::getTypeId(), osg::FieldDescription::getTypeId(), osg::FieldContainer::getTypeId(), osg::FieldContainerFactory::initializePendingTypes(), osg::VRMLNodeDesc::prototypeAddField(), osg::SingleFunctorStore::regFunctor(), osg::MultiFunctorStore::regFunctor(), osg::RemoteAspect::registerChanged(), osg::RemoteAspect::registerCreated(), osg::RemoteAspect::registerDestroyed(), osg::RenderAction::registerEnterDefault(), osg::IntersectAction::registerEnterDefault(), osg::DrawAction::registerEnterDefault(), osg::Action::registerEnterDefault(), osg::Action::registerEnterFunction(), osg::RenderAction::registerLeaveDefault(), osg::IntersectAction::registerLeaveDefault(), osg::DrawAction::registerLeaveDefault(), osg::Action::registerLeaveDefault(), osg::Action::registerLeaveFunction(), osg::FieldContainerFactory::registerType(), osg::RemoteAspect::RemoteAspect(), osg::MultiFunctorStore::unregFunctor(), and osg::FieldContainerFactory::unregisterType().
00081 { 00082 return _uiTypeId; 00083 }
| const IDString & TypeBase::getName | ( | void | ) | const [inherited] |
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 }
| const Char8 * TypeBase::getCName | ( | void | ) | const [inherited] |
Definition at line 92 of file OSGTypeBase.cpp.
References osg::TypeBase::_szName, and osg::IDString::str().
Referenced by osg::SharePtrGraphOp::addAttachmentParent(), osg::StandardStringConversionState::beginField(), osg::SharePtrGraphOp::clearAttachmentParent(), osg::SharePtrGraphOp::compareFCs(), osg::QFieldLabelFactory::createLabel(), osg::deepClone(), osg::BINWriter::doIndexFC(), osg::VRMLNodeDesc::dump(), osg::FieldContainerType::dump(), osg::FieldType::FieldType(), osg::FieldFactory::getFieldTypeName(), osg::getParentsField(), osg::FieldContainer::getTypeName(), osg::FieldContainerType::initFields(), osg::FieldContainerType::initialize(), osg::FieldContainerFactory::initializePendingTypes(), osg::SharePtrGraphOp::isEqual(), isEqual(), osg::isMFFieldContainerPtr(), osg::isSFFieldContainerPtr(), osg::OSGLoader::mapExtIntFieldType(), osg::RemoteAspect::receiveSync(), osg::TypeFactory::registerType(), osg::FieldContainerFactory::unregisterType(), osg::MultiDisplayWindow::updateViewport(), osg::OSGWriter::visitField(), osg::FieldContainerFactory::writeFCD(), osg::OSGWriter::writeField(), osg::FieldContainerFactory::writeSingleTypeFCD(), and osg::TypeFactory::writeTypeDot().
| const IDString & TypeBase::getParentName | ( | void | ) | const [inherited] |
Definition at line 98 of file OSGTypeBase.cpp.
References osg::TypeBase::_szParentName.
00099 { 00100 return _szParentName; 00101 }
| const Char8 * TypeBase::getCParentName | ( | void | ) | const [inherited] |
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 }
| UInt32 TypeBase::getNameSpace | ( | void | ) | const [inherited] |
| bool TypeBase::isDerivedFrom | ( | const TypeBase & | other | ) | const [virtual, inherited] |
Reimplemented in osg::FieldContainerType.
Definition at line 119 of file OSGTypeBase.cpp.
Referenced by osg::FieldContainerType::isDerivedFrom().
| bool TypeBase::operator== | ( | const TypeBase & | other | ) | const [inherited] |
| bool TypeBase::operator!= | ( | const TypeBase & | other | ) | const [inherited] |
UInt32 MPThreadType::_uiThreadCount = 0 [static, protected] |
CreateThreadF osg::MPThreadType::_fCreateThread [protected] |
UInt32 osg::TypeBase::_uiTypeId [protected, inherited] |
Definition at line 114 of file OSGTypeBase.h.
Referenced by osg::TypeBase::getId(), osg::FieldContainerType::isDerivedFrom(), osg::TypeBase::operator==(), and osg::TypeBase::TypeBase().
UInt32 osg::TypeBase::_uiTypeRootId [protected, inherited] |
Definition at line 115 of file OSGTypeBase.h.
TypeBase* osg::TypeBase::_pParent [protected, inherited] |
IDString osg::TypeBase::_szName [protected, inherited] |
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().
IDString osg::TypeBase::_szParentName [protected, inherited] |
Reimplemented in osg::FieldContainerType.
Definition at line 120 of file OSGTypeBase.h.
Referenced by osg::TypeBase::getCParentName(), and osg::TypeBase::getParentName().
1.5.5