Typed collection of Threads.
More...
#include <geogram/basic/process.h>
template<class THREAD>
class GEO::TypedThreadGroup< THREAD >
Typed collection of Threads.
TypedThreadGroup is a ThreadGroup that provides a typed accessor with operator[]().
- Template Parameters
-
THREAD | the type of Threads in the collection |
Definition at line 165 of file process.h.
◆ TypedThreadGroup()
Creates an empty group of Threads.
Thread elements can be added with the std::vector operation push_back()
Definition at line 172 of file process.h.
◆ operator[]()
Gets a thread element by index.
- Parameters
-
[in] | i | index of the element |
- Returns
- a pointer to the
THREAD
at position i
in the thread group
Definition at line 181 of file process.h.
The documentation for this class was generated from the following file: