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

#include <RxThreadPoolService.h>

Inheritance diagram for OdApcGateway:
OdRxObject

Public Member Functions

virtual void lockByMain (OdUInt32 numThreads)=0
 
virtual void waitByMain ()=0
 
virtual void unlockByMain ()=0
 
virtual void passBySecondary ()=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 framework check point. Corresponding C++ library: TD_Db <group OdApc_Classes>

Definition at line 277 of file RxThreadPoolService.h.

Member Function Documentation

◆ lockByMain()

virtual void OdApcGateway::lockByMain ( OdUInt32  numThreads)
pure virtual

Controlled thread locks while passing through check point. When specified number of controlled threads enters sync point, event is triggered. See OdApcSyncPoint::wait().

◆ passBySecondary()

virtual void OdApcGateway::passBySecondary ( )
pure virtual

Controlled thread enters sync point by calling this method. Controlled thread is blocked inside this method until controlling thread calls unlock().

◆ unlockByMain()

virtual void OdApcGateway::unlockByMain ( )
pure virtual

Controlled thread unlocks while passing through sync point.

◆ waitByMain()

virtual void OdApcGateway::waitByMain ( )
pure virtual

Controlled thread waits until number of threads specified by last call to lock() enters sync point.


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