#include <OSGMPBase.h>

Class Specific | |
| static MPType | _type |
| Char8 * | _szName |
Public Member Functions | |
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 MemoryObject | Inherited |
Protected Member Functions | |
Constructor | |
| MPBase (const Char8 *szName) | |
Destructor | |
| virtual | ~MPBase (void) |
Private Member Functions | |
| MPBase (const MPBase &source) | |
| prohibit default function (move to 'public' if needed) | |
| void | operator= (const MPBase &source) |
| prohibit default function (move to 'public' if needed) | |
Definition at line 372 of file OSGMPBase.h.
typedef MemoryObject osg::MPBase::Inherited [protected] |
Reimplemented in osg::BarrierCommonBase, osg::PThreadBarrierBase, osg::Barrier, osg::BaseThreadCommonBase, osg::BasePThreadBase, osg::BaseThread, osg::LockCommonBase, osg::PThreadLockBase, osg::Lock, osg::LockPool, osg::ThreadCommonBase, osg::PThreadBase, osg::Thread, and osg::ExternalThread.
Definition at line 399 of file OSGMPBase.h.
| MPBase::MPBase | ( | const Char8 * | szName | ) | [protected] |
Definition at line 289 of file OSGMPBase.cpp.
References _szName, and osg::stringDup().
00289 : 00290 Inherited( ), 00291 00292 _szName (NULL) 00293 { 00294 stringDup(szName, _szName); 00295 }
| MPBase::~MPBase | ( | void | ) | [protected, virtual] |
Definition at line 298 of file OSGMPBase.cpp.
References _szName.
00299 { 00300 delete [] _szName; 00301 }
| osg::MPBase::MPBase | ( | const MPBase & | source | ) | [private] |
| const MPType & MPBase::getStaticType | ( | void | ) | [static] |
| UInt32 MPBase::getStaticTypeId | ( | void | ) | [static] |
| MPType & MPBase::getType | ( | void | ) | [virtual] |
Definition at line 265 of file OSGMPBase.cpp.
References _type.
Referenced by getTypeId().
00266 { 00267 return _type; 00268 }
| const MPType & MPBase::getType | ( | void | ) | const [virtual] |
| UInt32 MPBase::getTypeId | ( | void | ) |
| const Char8 * MPBase::getCName | ( | void | ) | const |
Definition at line 283 of file OSGMPBase.cpp.
References _szName.
00284 { 00285 return _szName; 00286 }
| void osg::MPBase::operator= | ( | const MPBase & | source | ) | [private] |
| 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 }
MPType MPBase::_type [static, protected] |
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 getStaticType(), and getType().
Char8* osg::MPBase::_szName [protected] |
Definition at line 406 of file OSGMPBase.h.
Referenced by getCName(), osg::LockPool::init(), MPBase(), osg::BasePThreadBase::print(), and ~MPBase().
1.5.5