PhysX SDK 3.2 API Reference: PxOutputStream Class Reference

PhysX SDK 3.2 API

PxOutputStream Class Reference
[Common]

Output stream class for I/O. More...

#include <PxIO.h>

Inheritance diagram for PxOutputStream:

List of all members.


Public Member Functions

virtual PxU32 write (const void *src, PxU32 count)=0
 write to the stream. The number of bytes written may be less than the number sent.
virtual ~PxOutputStream ()

Detailed Description

Output stream class for I/O.

The user needs to supply a PxOutputStream implementation to a number of methods to allow the SDK to write data.


Constructor & Destructor Documentation

virtual PxOutputStream::~PxOutputStream (  )  [inline, virtual]


Member Function Documentation

virtual PxU32 PxOutputStream::write ( const void *  src,
PxU32  count 
) [pure virtual]

write to the stream. The number of bytes written may be less than the number sent.

Parameters:
[in] src the destination address from which the data will be written
[in] count the number of bytes to be written
Returns:
the number of bytes written to the stream by this call.

Implemented in physx::PxDefaultMemoryOutputStream, and physx::PxDefaultFileOutputStream.


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