ProgressThread Class Reference

#include <c4d_gui.h>

Inheritance diagram for ProgressThread:

Detailed Description

Internal.

Public Member Functions

virtual void Main ()
 
virtual const CharGetThreadName ()
 
Bool Start (ProgressDialog *pdlg)
 
void End ()
 
- Public Member Functions inherited from C4DThread
 C4DThread ()
 
virtual ~C4DThread ()
 
BaseThreadGet () const
 
Bool Start (THREADMODE mode=THREADMODE::ASYNC, THREADPRIORITYEX priority=THREADPRIORITYEX::NORMAL)
 
void End (Bool wait=true)
 
Bool IsRunning ()
 
Bool TestBreak ()
 
void Wait (Bool checkevents=false)
 
virtual Bool TestDBreak ()
 

Private Member Functions

ProgressDialogAcquireAndLock ()
 
void AcquireAndClearLock ()
 
void MarkAsInClose (ProgressDialog *pdlg)
 
void ReleaseLock (ProgressDialog *pdlg)
 

Private Attributes

maxon::AtomicPtr< ProgressDialogdlg
 

Member Function Documentation

◆ Main()

virtual void Main ( )
virtual

Override with the thread main code. Deprecated. Use maxon::ThreadInterface::operator ()().

Implements C4DThread.

◆ GetThreadName()

virtual const Char* GetThreadName ( )
virtual

Override to return the name of the thread. Deprecated. Use maxon::ThreadInterface.

Returns
The thread name. The thread owns the pointed character buffer.

Implements C4DThread.

◆ Start()

Bool Start ( ProgressDialog pdlg)

◆ End()

void End ( )

◆ AcquireAndLock()

ProgressDialog* AcquireAndLock ( )
private

◆ AcquireAndClearLock()

void AcquireAndClearLock ( )
private

◆ MarkAsInClose()

void MarkAsInClose ( ProgressDialog pdlg)
private

◆ ReleaseLock()

void ReleaseLock ( ProgressDialog pdlg)
private

Member Data Documentation

◆ dlg