#include <thread_pool_for_testing.h>
Definition at line 32 of file thread_pool_for_testing.h.
◆ ThreadPoolForTesting()
cartographer::common::testing::ThreadPoolForTesting::ThreadPoolForTesting |
( |
| ) |
|
◆ ~ThreadPoolForTesting()
cartographer::common::testing::ThreadPoolForTesting::~ThreadPoolForTesting |
( |
| ) |
|
◆ DoWork()
void cartographer::common::testing::ThreadPoolForTesting::DoWork |
( |
| ) |
|
|
private |
◆ GUARDED_BY() [1/5]
bool running_ cartographer::common::testing::ThreadPoolForTesting::GUARDED_BY |
( |
mutex_ |
| ) |
|
|
private |
◆ GUARDED_BY() [2/5]
bool idle_ cartographer::common::testing::ThreadPoolForTesting::GUARDED_BY |
( |
mutex_ |
| ) |
|
|
private |
◆ GUARDED_BY() [3/5]
std::deque<std::shared_ptr<Task> > task_queue_ cartographer::common::testing::ThreadPoolForTesting::GUARDED_BY |
( |
mutex_ |
| ) |
|
|
private |
◆ GUARDED_BY() [4/5]
◆ GUARDED_BY() [5/5]
std::thread thread_ cartographer::common::testing::ThreadPoolForTesting::GUARDED_BY |
( |
mutex_ |
| ) |
|
|
private |
◆ NotifyDependenciesCompleted()
void cartographer::common::testing::ThreadPoolForTesting::NotifyDependenciesCompleted |
( |
Task * |
task | ) |
|
|
overrideprivatevirtual |
◆ Schedule()
std::weak_ptr< Task > cartographer::common::testing::ThreadPoolForTesting::Schedule |
( |
std::unique_ptr< Task > |
task | ) |
|
|
overridevirtual |
◆ WaitUntilIdle()
void cartographer::common::testing::ThreadPoolForTesting::WaitUntilIdle |
( |
| ) |
|
◆ Task
◆ mutex_
Mutex cartographer::common::testing::ThreadPoolForTesting::mutex_ |
|
private |
The documentation for this class was generated from the following files: