facebook360_dep
Facebook360 Depth Estimation Pipeline
Public Member Functions | Static Public Member Functions | List of all members
fb360_dep::ThreadPool Struct Reference

#include <ThreadPool.h>

Public Member Functions

 ThreadPool (const int maxThreadsFlag)
 
 ThreadPool ()
 
int getMaxThreads ()
 
template<class Fn , class... Args>
void spawn (Fn &&fn, Args &&... args)
 
void join ()
 

Static Public Member Functions

static int getThreadCountFromFlag (const int maxThreadsFlag)
 

Constructor & Destructor Documentation

◆ ThreadPool() [1/2]

fb360_dep::ThreadPool::ThreadPool ( const int  maxThreadsFlag)
inline

◆ ThreadPool() [2/2]

fb360_dep::ThreadPool::ThreadPool ( )
inline

Member Function Documentation

◆ getMaxThreads()

int fb360_dep::ThreadPool::getMaxThreads ( )
inline

◆ getThreadCountFromFlag()

static int fb360_dep::ThreadPool::getThreadCountFromFlag ( const int  maxThreadsFlag)
inlinestatic

◆ join()

void fb360_dep::ThreadPool::join ( )
inline

◆ spawn()

template<class Fn , class... Args>
void fb360_dep::ThreadPool::spawn ( Fn &&  fn,
Args &&...  args 
)
inline

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