Dali 3D User Interface Engine
List of all members | Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
Dali::Thread Class Referenceabstract

#include <thread.h>

Inheritance diagram for Dali::Thread:
Inheritance graph
[legend]
Collaboration diagram for Dali::Thread:
Collaboration graph
[legend]

Classes

struct  ThreadImpl
 

Public Member Functions

void Start ()
 Creates a new thread and make it executable. More...
 
void Join ()
 Wait for thread termination. More...
 

Protected Member Functions

 Thread ()
 Constructor. More...
 
virtual ~Thread ()
 Destructor, virtual as this is used as base class. More...
 
virtual void Run ()=0
 The routine that the thread will execute once it is started. More...
 

Private Member Functions

 Thread (const Thread &)
 
const Threadoperator= (const Thread &)
 

Static Private Member Functions

static void * InternalThreadEntryFunc (void *This)
 Helper for the thread calling the entry function. More...
 

Private Attributes

ThreadImplmImpl
 

Detailed Description

Definition at line 34 of file thread.h.

Constructor & Destructor Documentation

Dali::Thread::Thread ( )
protected

Constructor.

Definition at line 35 of file thread.cpp.

References Dali::Thread::ThreadImpl::isCreated, and mImpl.

Dali::Thread::~Thread ( )
protectedvirtual

Destructor, virtual as this is used as base class.

Definition at line 41 of file thread.cpp.

References mImpl.

Dali::Thread::Thread ( const Thread )
private

Member Function Documentation

void * Dali::Thread::InternalThreadEntryFunc ( void *  This)
staticprivate

Helper for the thread calling the entry function.

Parameters
[in]ThisA pointer to the current RenderThread object

Definition at line 64 of file thread.cpp.

Referenced by Start().

Here is the caller graph for this function:

void Dali::Thread::Join ( )

Wait for thread termination.

Definition at line 55 of file thread.cpp.

References Dali::Thread::ThreadImpl::isCreated, mImpl, and Dali::Thread::ThreadImpl::thread.

Referenced by Dali::Toolkit::Internal::ImageAtlas::~ImageAtlas().

Here is the caller graph for this function:

const Thread& Dali::Thread::operator= ( const Thread )
private
virtual void Dali::Thread::Run ( )
protectedpure virtual
void Dali::Thread::Start ( )

Creates a new thread and make it executable.

Definition at line 46 of file thread.cpp.

References DALI_ASSERT_ALWAYS, DALI_ASSERT_DEBUG, InternalThreadEntryFunc(), Dali::Thread::ThreadImpl::isCreated, mImpl, and Dali::Thread::ThreadImpl::thread.

Referenced by Dali::Toolkit::Internal::ImageAtlas::Upload().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

ThreadImpl* Dali::Thread::mImpl
private

Definition at line 80 of file thread.h.

Referenced by Join(), Start(), Thread(), and ~Thread().


The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali