CFx SDK Documentation  2020SP3
Public Member Functions | Protected Member Functions | List of all members
OdAsyncForEachBase Class Referenceabstract

#include <RxThreadPoolService.h>

Inheritance diagram for OdAsyncForEachBase:
OdApcAtom OdRxObject

Public Member Functions

void for_each (OdApcQueue *pQueue, OdUInt32 nThreads=0)
 
- Public Member Functions inherited from OdApcAtom
virtual void apcEntryPoint (OdRxObject *pMessage)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Member Functions

virtual OdMutexmutexForNext ()=0
 
virtual voidnext (OdUInt32 threadIndex, OdUInt32 &itemIndex)=0
 
virtual void doAction (OdUInt32 threadIndex, OdUInt32 itemIndex, void *pItem)=0
 
virtual void apcEntryPoint (OdApcParamType threadIndex)
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Corresponding C++ library: TD_Db <group OdApc_Classes>

Definition at line 665 of file RxThreadPoolService.h.

Member Function Documentation

◆ apcEntryPoint()

virtual void OdAsyncForEachBase::apcEntryPoint ( OdApcParamType  pMessage)
inlineprotectedvirtual

Entry point for parallel thread.

Reimplemented from OdApcAtom.

Definition at line 677 of file RxThreadPoolService.h.

◆ doAction()

virtual void OdAsyncForEachBase::doAction ( OdUInt32  threadIndex,
OdUInt32  itemIndex,
void pItem 
)
protectedpure virtual

◆ for_each()

void OdAsyncForEachBase::for_each ( OdApcQueue pQueue,
OdUInt32  nThreads = 0 
)
inline

Definition at line 685 of file RxThreadPoolService.h.

◆ mutexForNext()

virtual OdMutex* OdAsyncForEachBase::mutexForNext ( )
protectedpure virtual

◆ next()

virtual void* OdAsyncForEachBase::next ( OdUInt32  threadIndex,
OdUInt32 itemIndex 
)
protectedpure virtual

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