+#include <PxIO.h>
+
+


Public Member Functions | |
| virtual uint32_t | getLength () const =0 |
| return the length of the input data | |
| virtual void | seek (uint32_t offset)=0 |
| seek to the given offset from the start of the data. | |
| virtual uint32_t | tell () const =0 |
| return the current offset from the start of the data | |
| virtual | ~PxInputData () |
+The user needs to supply a PxInputData implementation to a number of methods to allow the SDK to read data.
| virtual PxInputData::~PxInputData | +( | ++ | ) | + [inline, virtual] |
+
+ +
+
| virtual uint32_t PxInputData::getLength | +( | ++ | ) | + const [pure virtual] |
+
+return the length of the input data +
+
Implemented in PxDefaultMemoryInputData, and PxDefaultFileInputData.
+ +| virtual void PxInputData::seek | +( | +uint32_t | +offset | +) | + [pure virtual] |
+
+seek to the given offset from the start of the data. +
+
| [in] | offset | the offset to seek to. If greater than the length of the data, this call is equivalent to seek(length); |
Implemented in PxDefaultMemoryInputData, and PxDefaultFileInputData.
+ +| virtual uint32_t PxInputData::tell | +( | ++ | ) | + const [pure virtual] |
+
+return the current offset from the start of the data +
+
Implemented in PxDefaultMemoryInputData, and PxDefaultFileInputData.
+ ++