Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
CWorkerThread Class Reference

Thread that runs functions, one at a time. More...

#include <src/common/thread/worker_thread.h>

Public Types

using ThreadFunctionPtr = std::function< void()>
 

Public Member Functions

 CWorkerThread (std::string name="")
 
void Start (ThreadFunctionPtr func)
 
 CWorkerThread (const CWorkerThread &)=delete
 
CWorkerThreadoperator= (const CWorkerThread &)=delete
 

Detailed Description

Thread that runs functions, one at a time.


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