#include <OSGBaseThread.h>

Class Specific | |
| Char8 * | _szName |
| static MPType | _type |
Public Types | |
| typedef void(* | ThreadFuncF )(void *pThreadArg) |
Public Member Functions | |
| bool | isInitialized (void) |
Get | |
| virtual MPType & | getType (void) |
| virtual const MPType & | getType (void) const |
| UInt32 | getTypeId (void) |
| const Char8 * | getCName (void) const |
Reference Counting | |
| void | addRef (void) |
| void | subRef (void) |
| Int32 | getRefCount (void) |
Static Public Member Functions | |
Class Get | |
| static const MPType & | getStaticType (void) |
| static UInt32 | getStaticTypeId (void) |
Protected Types | |
| typedef MPBase | Inherited |
Protected Member Functions | |
Constructors | |
| BaseThreadCommonBase (const Char8 *szName, UInt32 uiId) | |
Destructors | |
| virtual | ~BaseThreadCommonBase (void) |
Protected Attributes | |
| UInt32 | _uiThreadId |
| bool | _bInitialized |
Private Member Functions | |
| BaseThreadCommonBase (const BaseThreadCommonBase &source) | |
| prohibit default function (move to 'public' if needed) | |
| void | operator= (const BaseThreadCommonBase &source) |
| prohibit default function (move to 'public' if needed) | |
Friends | |
| class | ThreadManager |
Definition at line 84 of file OSGBaseThread.h.
| typedef void(* osg::BaseThreadCommonBase::ThreadFuncF)(void *pThreadArg) |
typedef MPBase osg::BaseThreadCommonBase::Inherited [protected] |
Reimplemented from osg::MPBase.
Reimplemented in osg::BasePThreadBase, osg::BaseThread, osg::ThreadCommonBase, osg::PThreadBase, osg::Thread, and osg::ExternalThread.
Definition at line 98 of file OSGBaseThread.h.
Definition at line 81 of file OSGBaseThread.cpp.
00082 : 00083 00084 Inherited (szName), 00085 _uiThreadId (uiId ), 00086 _bInitialized(false ) 00087 { 00088 }
| BaseThreadCommonBase::~BaseThreadCommonBase | ( | void | ) | [protected, virtual] |
| osg::BaseThreadCommonBase::BaseThreadCommonBase | ( | const BaseThreadCommonBase & | source | ) | [private] |
| bool BaseThreadCommonBase::isInitialized | ( | void | ) |
Definition at line 73 of file OSGBaseThread.cpp.
References _bInitialized.
00074 { 00075 return _bInitialized; 00076 }
| void osg::BaseThreadCommonBase::operator= | ( | const BaseThreadCommonBase & | source | ) | [private] |
| const MPType & MPBase::getStaticType | ( | void | ) | [static, inherited] |
Definition at line 253 of file OSGMPBase.cpp.
References osg::MPBase::_type.
00254 { 00255 return _type; 00256 }
| UInt32 MPBase::getStaticTypeId | ( | void | ) | [static, inherited] |
| MPType & MPBase::getType | ( | void | ) | [virtual, inherited] |
Definition at line 265 of file OSGMPBase.cpp.
References osg::MPBase::_type.
Referenced by osg::MPBase::getTypeId().
00266 { 00267 return _type; 00268 }
| const MPType & MPBase::getType | ( | void | ) | const [virtual, inherited] |
Definition at line 271 of file OSGMPBase.cpp.
References osg::MPBase::_type.
00272 { 00273 return _type; 00274 }
| UInt32 MPBase::getTypeId | ( | void | ) | [inherited] |
Definition at line 277 of file OSGMPBase.cpp.
References osg::TypeBase::getId(), and osg::MPBase::getType().
| const Char8 * MPBase::getCName | ( | void | ) | const [inherited] |
Definition at line 283 of file OSGMPBase.cpp.
References osg::MPBase::_szName.
00284 { 00285 return _szName; 00286 }
| void MemoryObject::addRef | ( | void | ) | [inherited] |
Definition at line 64 of file OSGMemoryObject.cpp.
References osg::MemoryObject::_refCount.
Referenced by osg::SharedObjectHandler::getSharedObject(), and osg::SharedObjectHandler::initialize().
00065 { 00066 _refCount++; 00067 }
| void MemoryObject::subRef | ( | void | ) | [inherited] |
| Int32 MemoryObject::getRefCount | ( | void | ) | [inherited] |
Definition at line 77 of file OSGMemoryObject.cpp.
References osg::MemoryObject::_refCount.
00078 { 00079 return _refCount; 00080 }
friend class ThreadManager [friend] |
Reimplemented in osg::BasePThreadBase, osg::BaseThread, osg::ThreadCommonBase, osg::PThreadBase, osg::Thread, and osg::ExternalThread.
Definition at line 121 of file OSGBaseThread.h.
UInt32 osg::BaseThreadCommonBase::_uiThreadId [protected] |
bool osg::BaseThreadCommonBase::_bInitialized [protected] |
Definition at line 101 of file OSGBaseThread.h.
Referenced by osg::PThreadBase::init(), osg::BasePThreadBase::init(), osg::ExternalThread::initialize(), isInitialized(), and osg::BasePThreadBase::runFunction().
MPType MPBase::_type [static, protected, inherited] |
Reimplemented in osg::Barrier, osg::BaseThread, osg::Lock, osg::LockPool, osg::Thread, and osg::ExternalThread.
Definition at line 405 of file OSGMPBase.h.
Referenced by osg::MPBase::getStaticType(), and osg::MPBase::getType().
Char8* osg::MPBase::_szName [protected, inherited] |
Definition at line 406 of file OSGMPBase.h.
Referenced by osg::MPBase::getCName(), osg::LockPool::init(), osg::MPBase::MPBase(), osg::BasePThreadBase::print(), and osg::MPBase::~MPBase().
1.5.5