Public Member Functions | Protected Member Functions | Private Member Functions | Friends
cartographer::common::ThreadPoolInterface Class Reference

#include <thread_pool.h>

Inheritance diagram for cartographer::common::ThreadPoolInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

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

Private Member Functions

virtual void NotifyDependenciesCompleted (Task *task)=0

Friends

class Task

Detailed Description

Definition at line 35 of file thread_pool.h.


Constructor & Destructor Documentation

Definition at line 37 of file thread_pool.h.

Definition at line 38 of file thread_pool.h.


Member Function Documentation

Definition at line 33 of file thread_pool.cc.

virtual void cartographer::common::ThreadPoolInterface::NotifyDependenciesCompleted ( Task task) [private, pure virtual]
virtual std::weak_ptr<Task> cartographer::common::ThreadPoolInterface::Schedule ( std::unique_ptr< Task task) [pure virtual]

Definition at line 35 of file thread_pool.cc.


Friends And Related Function Documentation

friend class Task [friend]

Reimplemented in cartographer::common::testing::ThreadPoolForTesting.

Definition at line 46 of file thread_pool.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Thu May 9 2019 02:27:36