ProgressThread Class Reference

#include <c4d_gui.h>

Inheritance diagram for ProgressThread:

详细描述

Internal .

公共成员函数

virtual void  Main (void)
virtual const Char GetThreadName (void)
Bool   开始 ( ProgressDialog *pdlg)
void  End ()
-  Public Member Functions inherited from C4DThread
  C4DThread ()
virtual  ~C4DThread (void)
BaseThread Get (void) const
Bool   开始 ( 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)

私有成员函数

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

Private Attributes

maxon::AtomicPtr < ProgressDialog dlg

成员函数文档编制

◆  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 。使用 maxon::ThreadInterface .

返回
The thread name. The thread owns the pointed character buffer.

Implements C4DThread .

◆  Start()

Bool 开始 ( 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

maxon::AtomicPtr < ProgressDialog > dlg
private