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

Public Member Functions

 PosixBarrier ()
 
virtual ~PosixBarrier ()
 
virtual void sync ()
 
virtual void setMaxCount (int numThreads)
 
virtual int getMaxCount ()
 
- Public Member Functions inherited from btBarrier
 btBarrier ()
 
virtual ~btBarrier ()
 

Private Attributes

pthread_mutex_t m_mutex
 
pthread_cond_t m_cond
 
int m_numThreads
 
int m_called
 

Detailed Description

Definition at line 330 of file PosixThreadSupport.cpp.

Constructor & Destructor Documentation

PosixBarrier::PosixBarrier ( )
inline

Definition at line 339 of file PosixThreadSupport.cpp.

virtual PosixBarrier::~PosixBarrier ( )
inlinevirtual

Definition at line 343 of file PosixThreadSupport.cpp.

Member Function Documentation

virtual int PosixBarrier::getMaxCount ( )
inlinevirtual

Implements btBarrier.

Definition at line 377 of file PosixThreadSupport.cpp.

virtual void PosixBarrier::setMaxCount ( int  numThreads)
inlinevirtual

Implements btBarrier.

Definition at line 365 of file PosixThreadSupport.cpp.

virtual void PosixBarrier::sync ( )
inlinevirtual

Implements btBarrier.

Definition at line 352 of file PosixThreadSupport.cpp.

Member Data Documentation

int PosixBarrier::m_called
private

Definition at line 336 of file PosixThreadSupport.cpp.

pthread_cond_t PosixBarrier::m_cond
private

Definition at line 333 of file PosixThreadSupport.cpp.

pthread_mutex_t PosixBarrier::m_mutex
private

Definition at line 332 of file PosixThreadSupport.cpp.

int PosixBarrier::m_numThreads
private

Definition at line 335 of file PosixThreadSupport.cpp.


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