CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdApcObjectPoolHelper< TObject, TInitFn > Class Template Reference

#include <RxThreadPoolService.h>

Inheritance diagram for OdApcObjectPoolHelper< TObject, TInitFn >:
OdSmartPtr< T >

Public Member Functions

 OdApcObjectPoolHelper ()
 
 ~OdApcObjectPoolHelper ()
 
void init (OdRxThreadPoolService *pTP, int n=0, const TInitFn *pInitFn=0)
 
TObject * take ()
 
OdUInt32 size () const
 
TObject & at (OdUInt32 i) const
 
 operator OdApcObjectPool * ()
 
 operator const OdApcObjectPool * () const
 
- Public Member Functions inherited from OdSmartPtr< T >
 OdSmartPtr ()
 
 OdSmartPtr (const T *pObject, OdRxObjMod)
 
 OdSmartPtr (const T *pObject)
 
 OdSmartPtr (const OdRxObject *pObject)
 
 OdSmartPtr (OdRxObject *pObject, OdRxObjMod)
 
 OdSmartPtr (const OdSmartPtr &pObject)
 
 OdSmartPtr (const OdRxObjectPtr &pObject)
 
 OdSmartPtr (const OdBaseObjectPtr &pObject)
 
void attach (const T *pObject)
 
void attach (OdRxObject *pObject)
 
 ~OdSmartPtr ()
 
void release ()
 
T * detach ()
 
OdSmartPtroperator= (const OdSmartPtr &pObject)
 
OdSmartPtroperator= (const OdBaseObjectPtr &pObject)
 
OdSmartPtroperator= (const T *pObject)
 
const T * get () const
 
T * get ()
 
T * operator-> ()
 
const T * operator-> () const
 
 operator T* ()
 
 operator const T * () const
 
bool operator== (const void *pObject) const
 
bool operator== (const OdSmartPtr &pObject) const
 
bool operator!= (const void *pObject) const
 
bool operator!= (const OdSmartPtr &pObject) const
 

Additional Inherited Members

- Protected Member Functions inherited from OdSmartPtr< T >
void internalAddRef ()
 
void assign (const T *pObject)
 
void internalQueryX (const OdRxObject *pObject)
 
void assign (const OdRxObject *pObject)
 
bool operator! () const
 
 operator bool () const
 
 operator bool ()
 

Detailed Description

template<class TObject, class TInitFn = OdApcObjectPoolHelperDummyInitFn<TObject>>
class OdApcObjectPoolHelper< TObject, TInitFn >

<group OdApc_Classes>

Definition at line 769 of file RxThreadPoolService.h.

Constructor & Destructor Documentation

◆ OdApcObjectPoolHelper()

template<class TObject , class TInitFn = OdApcObjectPoolHelperDummyInitFn<TObject>>
OdApcObjectPoolHelper< TObject, TInitFn >::OdApcObjectPoolHelper ( )
inline

Definition at line 773 of file RxThreadPoolService.h.

◆ ~OdApcObjectPoolHelper()

template<class TObject , class TInitFn = OdApcObjectPoolHelperDummyInitFn<TObject>>
OdApcObjectPoolHelper< TObject, TInitFn >::~OdApcObjectPoolHelper ( )
inline

Definition at line 774 of file RxThreadPoolService.h.

Member Function Documentation

◆ at()

template<class TObject , class TInitFn = OdApcObjectPoolHelperDummyInitFn<TObject>>
TObject& OdApcObjectPoolHelper< TObject, TInitFn >::at ( OdUInt32  i) const
inline

Definition at line 811 of file RxThreadPoolService.h.

◆ init()

template<class TObject , class TInitFn = OdApcObjectPoolHelperDummyInitFn<TObject>>
void OdApcObjectPoolHelper< TObject, TInitFn >::init ( OdRxThreadPoolService pTP,
int  n = 0,
const TInitFn *  pInitFn = 0 
)
inline

Definition at line 775 of file RxThreadPoolService.h.

◆ operator const OdApcObjectPool *()

template<class TObject , class TInitFn = OdApcObjectPoolHelperDummyInitFn<TObject>>
OdApcObjectPoolHelper< TObject, TInitFn >::operator const OdApcObjectPool * ( ) const
inline

Definition at line 819 of file RxThreadPoolService.h.

◆ operator OdApcObjectPool *()

template<class TObject , class TInitFn = OdApcObjectPoolHelperDummyInitFn<TObject>>
OdApcObjectPoolHelper< TObject, TInitFn >::operator OdApcObjectPool * ( )
inline

Definition at line 818 of file RxThreadPoolService.h.

◆ size()

template<class TObject , class TInitFn = OdApcObjectPoolHelperDummyInitFn<TObject>>
OdUInt32 OdApcObjectPoolHelper< TObject, TInitFn >::size ( ) const
inline

Definition at line 807 of file RxThreadPoolService.h.

◆ take()

template<class TObject , class TInitFn = OdApcObjectPoolHelperDummyInitFn<TObject>>
TObject* OdApcObjectPoolHelper< TObject, TInitFn >::take ( )
inline

Definition at line 800 of file RxThreadPoolService.h.


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