Minecraft Community Edition 0.1.0
Loading...
Searching...
No Matches
Thread.hpp File Reference

High-level Thread wrapper and callable adapters used by the project. More...

#include "QEventBus.hpp"

Go to the source code of this file.

Classes

struct  mce::ThreadFunc
 Abstract type-erased callable interface used as a thread entry point. More...
struct  mce::ThreadFunctor< F >
 Adapter that wraps a generic functor/lambda. More...
struct  mce::ThreadMemberFunctor< C >
 Adapter that wraps a member function without extra arguments. More...
struct  mce::ThreadMemberFunctorWithArgs< C, Args >
 Adapter that wraps a member function with arbitrary arguments. More...
class  mce::Thread
 Lightweight high-level thread wrapper. More...

Detailed Description

High-level Thread wrapper and callable adapters used by the project.

Contains type-erased callable adapters (ThreadFunc and derivatives) and the Thread class which holds a platform-specific implementation pointer (ThreadImpl) and a QEventBus reference for posting lifecycle events.