ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
colmap::JobQueue< T > Class Template Reference

#include <threading.h>

Inheritance diagram for colmap::JobQueue< T >:

Classes

class  Job
 

Public Member Functions

 JobQueue ()
 
 JobQueue (const size_t max_num_jobs)
 
 ~JobQueue ()
 
size_t Size ()
 
bool Push (const T &data)
 
Job Pop ()
 
void Wait ()
 
void Stop ()
 
void Clear ()
 

Detailed Description

template<typename T>
class colmap::JobQueue< T >

Definition at line 237 of file threading.h.

Constructor & Destructor Documentation

◆ JobQueue() [1/2]

template<typename T >
colmap::JobQueue< T >::JobQueue

Definition at line 322 of file threading.h.

◆ JobQueue() [2/2]

template<typename T >
colmap::JobQueue< T >::JobQueue ( const size_t  max_num_jobs)
explicit

Definition at line 325 of file threading.h.

◆ ~JobQueue()

template<typename T >
colmap::JobQueue< T >::~JobQueue

Definition at line 329 of file threading.h.

Member Function Documentation

◆ Clear()

template<typename T >
void colmap::JobQueue< T >::Clear

Definition at line 389 of file threading.h.

References std::swap().

Referenced by BOOST_AUTO_TEST_CASE().

◆ Pop()

template<typename T >
JobQueue< T >::Job colmap::JobQueue< T >::Pop

Definition at line 355 of file threading.h.

References data.

Referenced by BOOST_AUTO_TEST_CASE().

◆ Push()

template<typename T >
bool colmap::JobQueue< T >::Push ( const T &  data)

Definition at line 340 of file threading.h.

References data.

Referenced by BOOST_AUTO_TEST_CASE().

◆ Size()

template<typename T >
size_t colmap::JobQueue< T >::Size

Definition at line 334 of file threading.h.

Referenced by BOOST_AUTO_TEST_CASE().

◆ Stop()

template<typename T >
void colmap::JobQueue< T >::Stop

Definition at line 382 of file threading.h.

Referenced by BOOST_AUTO_TEST_CASE().

◆ Wait()

template<typename T >
void colmap::JobQueue< T >::Wait

Definition at line 374 of file threading.h.

Referenced by BOOST_AUTO_TEST_CASE().


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