CFx SDK Documentation  2023 SP0
Classes | Macros | Typedefs | Enumerations | Functions
RxThreadPoolService.h File Reference
#include "TD_PackPush.h"
#include "RxModule.h"
#include "ThreadsCounter.h"
#include "OdArray.h"
#include "StaticRxObject.h"
#include <algorithm>
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

class  OdApcThread
 
class  OdApcAtom
 
class  OdApcObjectPool
 
class  OdApcQueue
 
class  OdApcDataReadWriteDispatcher
 
class  OdApcEvent
 
class  OdApcGateway
 
class  OdApcLoopedGateway
 
class  OdRxThreadPoolService
 
class  OdApcQueueHelper
 
class  OdApcQueueHelperArray
 
class  OdAsyncForEachBase
 
class  OdAsyncForEach< It, Fn >
 
struct  OdApcObjectPoolHelperDummyInitFn< TObject >
 
class  OdApcObjectPoolHelper< TObject, TInitFn >
 

Macros

#define _ODRXTHREADPOOLSERVICE_INCLUDED_   /* { Secret } **/
 

Typedefs

typedef ptrdiff_t OdApcParamType
 
typedef void(* OdApcEntryPointVoidParam) (OdApcParamType parameter)
 
typedef void(* OdApcEntryPointRxObjParam) (OdRxObject *parameter)
 
typedef OdSmartPtr< OdApcThreadOdApcThreadPtr
 
typedef OdSmartPtr< OdApcAtomOdApcAtomPtr
 
typedef OdSmartPtr< OdApcObjectPoolOdApcObjectPoolPtr
 
typedef OdSmartPtr< OdApcQueueOdApcQueuePtr
 
typedef OdSmartPtr< OdApcDataReadWriteDispatcherOdApcDataReadWriteDispatcherPtr
 
typedef OdSmartPtr< OdApcEventOdApcEventPtr
 
typedef OdSmartPtr< OdApcGatewayOdApcGatewayPtr
 
typedef OdSmartPtr< OdApcLoopedGatewayOdApcLoopedGatewayPtr
 
typedef OdSmartPtr< OdRxThreadPoolServiceOdRxThreadPoolServicePtr
 

Enumerations

enum  OdApcMtQueueFlags {
  kMtQueueNoFlags = 0 , kMtQueueForceNewThreads = (1 << 0) , kMtQueueAllowExecByMain = (1 << 1) , kMtQueueForceTopLevel = (1 << 2) ,
  kMtQueueLastFlag = kMtQueueForceTopLevel
}
 

Functions

template<class It , class Fn >
void od_async_for_each (OdApcQueue *pQueue, It first, It last, Fn fn)
 

Macro Definition Documentation

◆ _ODRXTHREADPOOLSERVICE_INCLUDED_

#define _ODRXTHREADPOOLSERVICE_INCLUDED_   /* { Secret } **/

Definition at line 25 of file RxThreadPoolService.h.

Typedef Documentation

◆ OdApcAtomPtr

This template class is a specialization of the OdSmartPtr class template for OdRxApcQueue object pointers.

Definition at line 103 of file RxThreadPoolService.h.

◆ OdApcDataReadWriteDispatcherPtr

This template class is a specialization of the OdSmartPtr class template for OdApcDataReadWriteDispatcher object pointers.

Definition at line 235 of file RxThreadPoolService.h.

◆ OdApcEntryPointRxObjParam

typedef void(* OdApcEntryPointRxObjParam) (OdRxObject *parameter)

Definition at line 42 of file RxThreadPoolService.h.

◆ OdApcEntryPointVoidParam

typedef void(* OdApcEntryPointVoidParam) (OdApcParamType parameter)

Definition at line 40 of file RxThreadPoolService.h.

◆ OdApcEventPtr

This template class is a specialization of the OdSmartPtr class template for OdApcEvent object pointers.

Definition at line 269 of file RxThreadPoolService.h.

◆ OdApcGatewayPtr

This template class is a specialization of the OdSmartPtr class template for OdApcGateway object pointers.

Definition at line 307 of file RxThreadPoolService.h.

◆ OdApcLoopedGatewayPtr

This template class is a specialization of the OdSmartPtr class template for OdApcLoopedGateway object pointers.

Definition at line 349 of file RxThreadPoolService.h.

◆ OdApcObjectPoolPtr

Definition at line 129 of file RxThreadPoolService.h.

◆ OdApcParamType

typedef ptrdiff_t OdApcParamType

Definition at line 38 of file RxThreadPoolService.h.

◆ OdApcQueuePtr

This template class is a specialization of the OdSmartPtr class template for OdApcQueue object pointers.

Definition at line 181 of file RxThreadPoolService.h.

◆ OdApcThreadPtr

This template class is a specialization of the OdSmartPtr class template for OdApcThread object pointers.

Definition at line 79 of file RxThreadPoolService.h.

◆ OdRxThreadPoolServicePtr

Definition at line 495 of file RxThreadPoolService.h.

Enumeration Type Documentation

◆ OdApcMtQueueFlags

Represents set of flags for new APC MtQueue construction. Corresponding C++ library: TD_Db <group OdRx_Classes>

Enumerator
kMtQueueNoFlags 
kMtQueueForceNewThreads 
kMtQueueAllowExecByMain 
kMtQueueForceTopLevel 
kMtQueueLastFlag 

Definition at line 357 of file RxThreadPoolService.h.

Function Documentation

◆ od_async_for_each()

template<class It , class Fn >
void od_async_for_each ( OdApcQueue pQueue,
It  first,
It  last,
Fn  fn 
)

Definition at line 751 of file RxThreadPoolService.h.