MeshLib
 
Loading...
Searching...
No Matches
MR::BitSetParallel Namespace Reference

Functions

template<typename IndexType >
auto blockRange (const IdRange< IndexType > &bitRange)
 
template<typename BS >
auto blockRange (const BS &bs)
 
template<typename BS >
auto bitRange (const BS &bs)
 
template<typename IndexType >
auto bitSubRange (const IdRange< IndexType > &bitRange, const tbb::blocked_range< size_t > &range, const tbb::blocked_range< size_t > &subRange)
 
template<typename IndexType , typename CM , typename F >
void ForAllRanged (const IdRange< IndexType > &bitRange, const CM &callMaker, F &&f)
 
template<typename BS , typename CM , typename F >
void ForAllRanged (const BS &bs, const CM &callMaker, F &&f)
 
template<typename IndexType , typename CM , typename F >
bool ForAllRanged (const IdRange< IndexType > &bitRange, const CM &callMaker, F &&f, ProgressCallback progressCb, size_t reportProgressEveryBit=1024)
 
template<typename BS , typename CM , typename F >
bool ForAllRanged (const BS &bs, const CM &callMaker, F &&f, ProgressCallback progressCb, size_t reportProgressEveryBit=1024)
 

Function Documentation

◆ bitRange()

template<typename BS >
auto MR::BitSetParallel::bitRange ( const BS & bs)
inline

◆ bitSubRange()

template<typename IndexType >
auto MR::BitSetParallel::bitSubRange ( const IdRange< IndexType > & bitRange,
const tbb::blocked_range< size_t > & range,
const tbb::blocked_range< size_t > & subRange )

◆ blockRange() [1/2]

template<typename BS >
auto MR::BitSetParallel::blockRange ( const BS & bs)
inline

◆ blockRange() [2/2]

template<typename IndexType >
auto MR::BitSetParallel::blockRange ( const IdRange< IndexType > & bitRange)
inline

◆ ForAllRanged() [1/4]

template<typename BS , typename CM , typename F >
void MR::BitSetParallel::ForAllRanged ( const BS & bs,
const CM & callMaker,
F && f )
inline

◆ ForAllRanged() [2/4]

template<typename BS , typename CM , typename F >
bool MR::BitSetParallel::ForAllRanged ( const BS & bs,
const CM & callMaker,
F && f,
ProgressCallback progressCb,
size_t reportProgressEveryBit = 1024 )
inline

◆ ForAllRanged() [3/4]

template<typename IndexType , typename CM , typename F >
void MR::BitSetParallel::ForAllRanged ( const IdRange< IndexType > & bitRange,
const CM & callMaker,
F && f )

◆ ForAllRanged() [4/4]

template<typename IndexType , typename CM , typename F >
bool MR::BitSetParallel::ForAllRanged ( const IdRange< IndexType > & bitRange,
const CM & callMaker,
F && f,
ProgressCallback progressCb,
size_t reportProgressEveryBit = 1024 )