|
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 pointers 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 | |
| JoinThreadsP (container_type &threads) | |
| Initialisation constructor. More... | |
| JoinThreadsP (const JoinThreadsP &)=delete | |
| Copy constructor deleted. | |
| JoinThreadsP & | operator= (const JoinThreadsP &)=delete |
| Copy assignment operator deleted. | |
| JoinThreadsP (JoinThreadsP &&)=delete | |
| Move constructor deleted. | |
| JoinThreadsP & | operator= (JoinThreadsP &&)=delete |
| Move assignment operator deleted. | |
| ~JoinThreadsP () | |
| Destructor- joins the threads. | |
Private Attributes | |
| container_type & | m_threads |
| Container of threads. | |
Class to manage joining multiple threads held as pointers in an STL container.
You can specify the container type in the template argument.
|
inlineexplicit |
Initialisation constructor.
| [in] | threads | - Containr of std::threads. |