Apollo  6.0
Open source self driving car software
Public Types | Public Member Functions | Static Public Member Functions | List of all members
apollo::drivers::robosense::ThreadPool Class Reference

#include <utility.h>

Collaboration diagram for apollo::drivers::robosense::ThreadPool:
Collaboration graph

Public Types

typedef std::shared_ptr< ThreadPoolPtr
 

Public Member Functions

 ThreadPool (ThreadPool &)=delete
 
ThreadPooloperator= (const ThreadPool &)=delete
 
 ~ThreadPool ()
 
int idlCount ()
 
template<class F , class... Args>
auto commit (F &&f, Args &&... args) -> std::future< decltype(f(args...))>
 

Static Public Member Functions

static Ptr getInstance ()
 

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ ThreadPool()

apollo::drivers::robosense::ThreadPool::ThreadPool ( ThreadPool )
delete

◆ ~ThreadPool()

apollo::drivers::robosense::ThreadPool::~ThreadPool ( )

Member Function Documentation

◆ commit()

template<class F , class... Args>
auto apollo::drivers::robosense::ThreadPool::commit ( F &&  f,
Args &&...  args 
) -> std::future<decltype(f(args...))>
inline

◆ getInstance()

static Ptr apollo::drivers::robosense::ThreadPool::getInstance ( )
static

◆ idlCount()

int apollo::drivers::robosense::ThreadPool::idlCount ( )

◆ operator=()

ThreadPool& apollo::drivers::robosense::ThreadPool::operator= ( const ThreadPool )
delete

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