PhysX SDK 3.2 API Reference: pxtask::ScopedCudaLock Class Reference

PhysX SDK 3.2 API

pxtask::ScopedCudaLock Class Reference

Convenience class for holding CUDA lock within a scope. More...

#include <PxCudaContextManager.h>

Collaboration diagram for pxtask::ScopedCudaLock:

List of all members.


Public Member Functions

 ScopedCudaLock (CudaContextManager &ctx)
 ScopedCudaLock constructor.
 ~ScopedCudaLock ()
 ScopedCudaLock destructor.

Protected Attributes

CudaContextManagermCtx
 CUDA context manager pointer (initialized in the the constructor).

Detailed Description

Convenience class for holding CUDA lock within a scope.

Constructor & Destructor Documentation

pxtask::ScopedCudaLock::ScopedCudaLock ( CudaContextManager ctx  )  [inline]

ScopedCudaLock constructor.

pxtask::ScopedCudaLock::~ScopedCudaLock (  )  [inline]

ScopedCudaLock destructor.


Member Data Documentation

CUDA context manager pointer (initialized in the the constructor).


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



Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com