Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | Private Attributes | List of all members
PosixCriticalSection Class Reference
Inheritance diagram for PosixCriticalSection:
Inheritance graph
[legend]
Collaboration diagram for PosixCriticalSection:
Collaboration graph
[legend]

Public Member Functions

 PosixCriticalSection ()
 
virtual ~PosixCriticalSection ()
 
virtual unsigned int getSharedParam (int i)
 
virtual void setSharedParam (int i, unsigned int p)
 
virtual void lock ()
 
virtual void unlock ()
 
- Public Member Functions inherited from btCriticalSection
 btCriticalSection ()
 
virtual ~btCriticalSection ()
 

Public Attributes

unsigned int mCommonBuff [32]
 
- Public Attributes inherited from btCriticalSection
unsigned int mCommonBuff [32]
 

Private Attributes

pthread_mutex_t m_mutex
 

Detailed Description

Definition at line 259 of file PosixThreadSupport.cpp.

Constructor & Destructor Documentation

PosixCriticalSection::PosixCriticalSection ( )
inline

Definition at line 264 of file PosixThreadSupport.cpp.

virtual PosixCriticalSection::~PosixCriticalSection ( )
inlinevirtual

Definition at line 268 of file PosixThreadSupport.cpp.

Member Function Documentation

virtual unsigned int PosixCriticalSection::getSharedParam ( int  i)
inlinevirtual

Implements btCriticalSection.

Definition at line 275 of file PosixThreadSupport.cpp.

virtual void PosixCriticalSection::lock ( )
inlinevirtual

Implements btCriticalSection.

Definition at line 284 of file PosixThreadSupport.cpp.

virtual void PosixCriticalSection::setSharedParam ( int  i,
unsigned int  p 
)
inlinevirtual

Implements btCriticalSection.

Definition at line 279 of file PosixThreadSupport.cpp.

virtual void PosixCriticalSection::unlock ( )
inlinevirtual

Implements btCriticalSection.

Definition at line 288 of file PosixThreadSupport.cpp.

Member Data Documentation

pthread_mutex_t PosixCriticalSection::m_mutex
private

Definition at line 261 of file PosixThreadSupport.cpp.

unsigned int PosixCriticalSection::mCommonBuff[32]

Definition at line 273 of file PosixThreadSupport.cpp.


The documentation for this class was generated from the following file: