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

#include <RxThreadPoolService.h>

Inheritance diagram for OdApcObjectPool:
OdRxObject

Public Member Functions

virtual void reserve (OdUInt32 n)=0
 
virtual OdRxObjectPtr take ()=0
 
virtual void put (OdRxObject *pObj)=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 object pool. Corresponding C++ library: TD_Db <group OdApc_Classes>

Definition at line 111 of file RxThreadPoolService.h.

Member Function Documentation

◆ put()

virtual void OdApcObjectPool::put ( OdRxObject pObj)
pure virtual

Put object into object pool.

◆ reserve()

virtual void OdApcObjectPool::reserve ( OdUInt32  n)
pure virtual

Reserve specified number of objects in object pool.

◆ take()

virtual OdRxObjectPtr OdApcObjectPool::take ( )
pure virtual

Take object from object pool.


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