ProgressThread Class Reference

#include <c4d_gui.h>

Inheritance diagram for ProgressThread:

Detailed Description

@markInternal

Public Member Functions

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

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 ( void  )
virtual

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

Implements C4DThread.

◆ GetThreadName()

virtual const Char* GetThreadName ( void  )
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