#include <mlPageRequestProcessor.h>

Public Member Functions | |
| void | addRequestCursor (PageRequestCursor *cursor) |
Adds a cursor that should be processed via its cursor (the ownership stays with the caller). | |
| MLErrorCode | processAll () |
| Processes all requests until the cursors have traversed the whole tree and the queue is empty. | |
| MLErrorCode | process (double timeBudget) |
| Process the requests for the given timeBudget given in seconds. | |
| bool | needsProcessing () |
| Returns if the tile request needs some more processing. | |
| MLErrorCode | processNextRequest (bool &moreWork) |
| Processes the next calculate page request. | |
| virtual void | append (PageRequest *request) |
| Implements PageRequestQueueInterface interface. | |
| void | removeCancelledRequests () |
| Removes all requests that are canceled and no longer needed. | |
It can be stopped and resumed at any time, on the granularity of processNextRequest()
Definition at line 45 of file mlPageRequestProcessor.h.
| void ml::PageRequestProcessor::addRequestCursor | ( | PageRequestCursor * | cursor | ) | [inline] |
Adds a cursor that should be processed via its cursor (the ownership stays with the caller).
Definition at line 49 of file mlPageRequestProcessor.h.
| virtual void ml::PageRequestProcessor::append | ( | PageRequest * | request | ) | [virtual] |
| bool ml::PageRequestProcessor::needsProcessing | ( | ) |
Returns if the tile request needs some more processing.
| MLErrorCode ml::PageRequestProcessor::process | ( | double | timeBudget | ) |
Process the requests for the given timeBudget given in seconds.
| MLErrorCode ml::PageRequestProcessor::processAll | ( | ) |
Processes all requests until the cursors have traversed the whole tree and the queue is empty.
| MLErrorCode ml::PageRequestProcessor::processNextRequest | ( | bool & | moreWork | ) |
Processes the next calculate page request.
| void ml::PageRequestProcessor::removeCancelledRequests | ( | ) |
Removes all requests that are canceled and no longer needed.
1.5.8