PxOutputStream Class Reference
[Common]

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

#include <PxIO.h>

Inheritance diagram for PxOutputStream:

Inheritance graph
PxDefaultFileOutputStreamPxDefaultMemoryOutputStream
[legend]

List of all members.

Public Member Functions

virtual uint32_t write (const void *src, uint32_t 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 uint32_t PxOutputStream::write ( const void *  src,
uint32_t  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 PxDefaultMemoryOutputStream, and PxDefaultFileOutputStream.


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


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