Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Private Attributes
btNullPairCache Class Reference

btNullPairCache skips add/removal of overlapping pairs. Userful for benchmarking and testing. More...

#include <btOverlappingPairCache.h>

Inheritance diagram for btNullPairCache:
Inheritance graph
[legend]
Collaboration diagram for btNullPairCache:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual btBroadphasePair * getOverlappingPairArrayPtr ()
const btBroadphasePair * getOverlappingPairArrayPtr () const
btBroadphasePairArraygetOverlappingPairArray ()
virtual void cleanOverlappingPair (btBroadphasePair &pair, btDispatcher *dispatcher)
virtual int getNumOverlappingPairs () const
virtual void cleanProxyFromPairs (btBroadphaseProxy *proxy, btDispatcher *dispatcher)
virtual void setOverlapFilterCallback (btOverlapFilterCallback *callback)
virtual void processAllOverlappingPairs (btOverlapCallback *, btDispatcher *dispatcher)
virtual btBroadphasePair * findPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1)
virtual bool hasDeferredRemoval ()
virtual btBroadphasePair * addOverlappingPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1)
virtual void * removeOverlappingPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, btDispatcher *dispatcher)
virtual void removeOverlappingPairsContainingProxy (btBroadphaseProxy *proxy0, btDispatcher *dispatcher)

Private Attributes

btBroadphasePairArray m_overlappingPairArray

Detailed Description

btNullPairCache skips add/removal of overlapping pairs. Userful for benchmarking and testing.

Definition at line 361 of file btOverlappingPairCache.h.


Member Function Documentation

virtual btBroadphasePair* btNullPairCache::addOverlappingPair ( btBroadphaseProxy *  proxy0,
btBroadphaseProxy *  proxy1 
) [inline, virtual]

Implements btOverlappingPairCallback.

Definition at line 414 of file btOverlappingPairCache.h.

       {
              return 0;
       }
virtual void btNullPairCache::cleanOverlappingPair ( btBroadphasePair &  pair,
btDispatcher dispatcher 
) [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 381 of file btOverlappingPairCache.h.

       {

       }
virtual void btNullPairCache::cleanProxyFromPairs ( btBroadphaseProxy *  proxy,
btDispatcher dispatcher 
) [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 391 of file btOverlappingPairCache.h.

       {

       }
virtual btBroadphasePair* btNullPairCache::findPair ( btBroadphaseProxy *  proxy0,
btBroadphaseProxy *  proxy1 
) [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 404 of file btOverlappingPairCache.h.

       {
              return 0;
       }
virtual int btNullPairCache::getNumOverlappingPairs ( ) const [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 386 of file btOverlappingPairCache.h.

       {
              return 0;
       }

Implements btOverlappingPairCache.

Definition at line 376 of file btOverlappingPairCache.h.

virtual btBroadphasePair* btNullPairCache::getOverlappingPairArrayPtr ( ) [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 368 of file btOverlappingPairCache.h.

       {
              return &m_overlappingPairArray[0];
       }
const btBroadphasePair* btNullPairCache::getOverlappingPairArrayPtr ( ) const [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 372 of file btOverlappingPairCache.h.

       {
              return &m_overlappingPairArray[0];
       }
virtual bool btNullPairCache::hasDeferredRemoval ( ) [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 409 of file btOverlappingPairCache.h.

       {
              return true;
       }
virtual void btNullPairCache::processAllOverlappingPairs ( btOverlapCallback ,
btDispatcher dispatcher 
) [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 400 of file btOverlappingPairCache.h.

       {
       }
virtual void* btNullPairCache::removeOverlappingPair ( btBroadphaseProxy *  proxy0,
btBroadphaseProxy *  proxy1,
btDispatcher dispatcher 
) [inline, virtual]

Implements btOverlappingPairCallback.

Definition at line 419 of file btOverlappingPairCache.h.

       {
              return 0;
       }
virtual void btNullPairCache::removeOverlappingPairsContainingProxy ( btBroadphaseProxy *  proxy0,
btDispatcher dispatcher 
) [inline, virtual]

Implements btOverlappingPairCallback.

Definition at line 424 of file btOverlappingPairCache.h.

       {
       }
virtual void btNullPairCache::setOverlapFilterCallback ( btOverlapFilterCallback callback) [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 396 of file btOverlappingPairCache.h.

       {
       }

Member Data Documentation

Definition at line 364 of file btOverlappingPairCache.h.


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