PxOutputStream Class Referenceabstract

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

#include <PxIO.h>

Inheritance diagram for PxOutputStream:

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. More...
 
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

◆ ~PxOutputStream()

virtual PxOutputStream::~PxOutputStream ( )
inlinevirtual

Member Function Documentation

◆ write()

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]srcthe destination address from which the data will be written
[in]countthe number of bytes to be written
Returns
the number of bytes written to the stream by this call.

Implemented in PxDefaultFileOutputStream, and PxDefaultMemoryOutputStream.


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