#include <MapUpdater.h>
Definition at line 31 of file MapUpdater.h.
◆ MapUpdater()
| MapUpdater::MapUpdater |
( |
| ) |
|
|
inline |
◆ ~MapUpdater()
| MapUpdater::~MapUpdater |
( |
| ) |
|
|
inline |
◆ activate()
| void MapUpdater::activate |
( |
size_t |
num_threads | ) |
|
◆ activated()
| bool MapUpdater::activated |
( |
| ) |
const |
◆ deactivate()
| void MapUpdater::deactivate |
( |
| ) |
|
◆ schedule_update()
| void MapUpdater::schedule_update |
( |
Map & |
map, |
|
|
uint32 |
diff |
|
) |
| |
◆ update_finished()
| void MapUpdater::update_finished |
( |
| ) |
|
|
private |
◆ wait()
| void MapUpdater::wait |
( |
| ) |
|
◆ WorkerThread()
| void MapUpdater::WorkerThread |
( |
| ) |
|
|
private |
◆ MapUpdateRequest
◆ _cancelationToken
| std::atomic<bool> MapUpdater::_cancelationToken |
|
private |
◆ _condition
| std::condition_variable MapUpdater::_condition |
|
private |
◆ _lock
| std::mutex MapUpdater::_lock |
|
private |
◆ _queue
◆ _workerThreads
| std::vector<std::thread> MapUpdater::_workerThreads |
|
private |
◆ pending_requests
| size_t MapUpdater::pending_requests |
|
private |
The documentation for this class was generated from the following files: