alaCarte Maps
Renderer for OpenStreetMap tiles
RequestManager::RunningQueue Class Reference

This file is part of alaCarte. More...

Public Member Functions

bool start (Job *job, const shared_ptr< MetaIdentifier > &mid)
 
bool start (Job *job, const shared_ptr< TileIdentifier > &ti, const shared_ptr< HttpRequest > &r)
 
void finished (Job *job)
 

Private Attributes

boost::mutex runningMutex
 
std::list< Job * > jobs
 

Detailed Description

This file is part of alaCarte.

alaCarte is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

alaCarte is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with alaCarte. If not, see http://www.gnu.org/licenses/.

Copyright alaCarte 2012-2013 Simon Dreher, Florian Jacob, Tobias Kahlert, Patrick Niklaus, Bernhard Scheirle, Lisa Winter Maintainer: Bernhard Scheirle

Definition at line 32 of file request_manager.cpp.

Member Function Documentation

void RequestManager::RunningQueue::finished ( Job job)
inline

Definition at line 67 of file request_manager.cpp.

bool RequestManager::RunningQueue::start ( Job job,
const shared_ptr< MetaIdentifier > &  mid 
)
inline

Definition at line 39 of file request_manager.cpp.

bool RequestManager::RunningQueue::start ( Job job,
const shared_ptr< TileIdentifier > &  ti,
const shared_ptr< HttpRequest > &  r 
)
inline
Returns
true if the job needs to be executed

Definition at line 52 of file request_manager.cpp.

Member Data Documentation

std::list<Job*> RequestManager::RunningQueue::jobs
private

Definition at line 36 of file request_manager.cpp.

boost::mutex RequestManager::RunningQueue::runningMutex
private

Definition at line 35 of file request_manager.cpp.


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