LDM interface to optimize memory management of tiles .
More...
#include <LDM/tiles/SoBufferAsyncInterface.h>
Public Member Functions | |
| virtual bool | isInMemory ()=0 |
| virtual void | requestRefetch (SoBufferAsyncNotifierInterface *asyncNotifier, const double weight)=0 |
| virtual | ~SoBufferAsyncInterface () |
LDM interface to optimize memory management of tiles .
Specialized buffer object classes may implement this interface to provide additional information about the contents of the buffer.
SoBufferObject SoCpuBufferCompressed SoCpuBufferUniform
| virtual SoBufferAsyncInterface::~SoBufferAsyncInterface | ( | ) | [inline, virtual] |
Destructor.
| virtual bool SoBufferAsyncInterface::isInMemory | ( | ) | [pure virtual] |
Return TRUE if the data attached to this buffer are not currently available.
Implemented in SoCpuBufferAsyncBasicProperty.
| virtual void SoBufferAsyncInterface::requestRefetch | ( | SoBufferAsyncNotifierInterface * | asyncNotifier, | |
| const double | weight | |||
| ) | [pure virtual] |
Ask to initiate an ansynchronous load of the data if not already in memory.
Application must call asyncNotifier->refetchNotify() In order to let LDM know that some new data are available.
Implemented in SoCpuBufferAsyncBasicProperty.