|
Core Library
1.7.0.0
Library containing core utilities and tools for threading, networking, logging, INI and CSV file management etc.
|
Class to manage joining multiple threads held as objects in an STL container. More...
#include <JoinThreads.h>
Public Types | |
| using | container_type = C< std::thread, std::allocator< std::thread > > |
| typedef for container type | |
Public Member Functions | |
| JoinThreads (container_type &threads) | |
| Initialisation constructor. More... | |
| JoinThreads (const JoinThreads &)=delete | |
| Copy constructor deleted. | |
| JoinThreads & | operator= (const JoinThreads &)=delete |
| Copy assignment operator deleted. | |
| JoinThreads (JoinThreads &&)=delete | |
| Move constructor deleted. | |
| JoinThreads & | operator= (JoinThreads &&)=delete |
| Move assignment operator deleted. | |
| ~JoinThreads () | |
| Destructor- joins the threads. | |
Private Attributes | |
| container_type & | m_threads |
| Container of threads. | |
Class to manage joining multiple threads held as objects in an STL container.
You can specify the container type in the template argument.
|
inlineexplicit |
Initialisation constructor.
| [in] | threads | - Containr of std::threads. |