Class ThreadPoolInterface

Inheritance Relationships

Derived Types

Class Documentation

class ThreadPoolInterface

Subclassed by cartographer::common::ThreadPool, cartographer::common::testing::ThreadPoolForTesting

Public Functions

inline ThreadPoolInterface()
inline virtual ~ThreadPoolInterface()
virtual std::weak_ptr<Task> Schedule(std::unique_ptr<Task> task) = 0

Protected Functions

void Execute(Task *task)
void SetThreadPool(Task *task)