CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdApcThread Class Referenceabstract

#include <RxThreadPoolService.h>

Inheritance diagram for OdApcThread:
OdRxObject

Public Member Functions

virtual void asyncProcCall (OdApcEntryPointVoidParam ep, OdApcParamType parameter)=0
 
virtual void asyncProcCall (OdApcEntryPointRxObjParam ep, OdRxObject *parameter)=0
 
virtual void wait ()=0
 
virtual unsigned int getId () const =0
 
- 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
 

Additional Inherited Members

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

Detailed Description

This interface represents APC thread object. Corresponding C++ library: TD_Db <group OdApc_Classes>

Definition at line 49 of file RxThreadPoolService.h.

Member Function Documentation

◆ asyncProcCall() [1/2]

virtual void OdApcThread::asyncProcCall ( OdApcEntryPointRxObjParam  ep,
OdRxObject parameter 
)
pure virtual

Execute atomic portion of code encapsulated as OdApcEntryPointRxObjParam and returns immediately.

Parameters
ep[in] Function pointer to execute.
parameter[in] Argument which will be passed into executed function.

◆ asyncProcCall() [2/2]

virtual void OdApcThread::asyncProcCall ( OdApcEntryPointVoidParam  ep,
OdApcParamType  parameter 
)
pure virtual

Execute atomic portion of code encapsulated as OdApcEntryPointVoidParam and returns immediately.

Parameters
ep[in] Function pointer to execute.
parameter[in] Argument which will be passed into executed function.

◆ getId()

virtual unsigned int OdApcThread::getId ( ) const
pure virtual

Returns thread's unique system identifier.

◆ wait()

virtual void OdApcThread::wait ( )
pure virtual

Waits for completion of function execution in the current thread.


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