Trippin Cyril
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | List of all members
trippingcyril::thread::ThreadManager Class Reference

A thread manager to easily be able to get the Thread object of your current thread. More...

#include <Thread.h>

Public Member Functions

ThreadgetCurrentThread () const
 
size_t threadCount () const
 

Static Public Member Functions

static ThreadManagerGet ()
 

Detailed Description

A thread manager to easily be able to get the Thread object of your current thread.

Member Function Documentation

static ThreadManager* trippingcyril::thread::ThreadManager::Get ( )
static
Returns
The singleton instance of this class
Thread* trippingcyril::thread::ThreadManager::getCurrentThread ( ) const
Returns
The Thread* object of this current thread, NULL on error (main thread)
size_t trippingcyril::thread::ThreadManager::threadCount ( ) const
Returns
The amount of threads managed by this ThreadManager

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