iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::ThreadJoiner< Container, Args > Struct Template Reference

#include <nrt/Core/Design/details/ThreadHelpers.H>

template<template< typename, typename...> class Container, class... Args>
struct nrt::ThreadJoiner< Container, Args >

Convenience RAII wrapper around a container of threads to call join() on all of them.

Definition at line 101 of file ThreadHelpers.H.

Public Member Functions

 ThreadJoiner (Container< std::thread, Args...> &threads)
 

Public Attributes

Container< std::thread, Args...> & itsThreads
 

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