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

Wrapper for using SDL_thread with std::function. More...

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

Public Types

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

Public Member Functions

 CThread (ThreadFunctionPtr func, std::string name="")
 
void Start ()
 
void Join ()
 
 CThread (const CThread &)=delete
 
CThreadoperator= (const CThread &)=delete
 

Detailed Description

Wrapper for using SDL_thread with std::function.


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