Open CASCADE Technology  7.2.0
Data Structures | Public Member Functions

BOPCol_ContextFunctor< TypeSolver, TypeSolverVector, TypeContext, TN > Class Template Reference

#include <BOPCol_Parallel.hxx>

Public Member Functions

 BOPCol_ContextFunctor (TypeSolverVector &theVector)
 Constructor. More...
 
void SetContext (TypeContext &theContext)
 Binds main thread context. More...
 
TypeContext & GetThreadContext () const
 Returns current thread context. More...
 
void operator() (const Standard_Integer theIndex) const
 Defines functor interface. More...
 

Constructor & Destructor Documentation

◆ BOPCol_ContextFunctor()

template<class TypeSolver , class TypeSolverVector , class TypeContext , typename TN >
BOPCol_ContextFunctor< TypeSolver, TypeSolverVector, TypeContext, TN >::BOPCol_ContextFunctor ( TypeSolverVector &  theVector)
inlineexplicit

Constructor.

Member Function Documentation

◆ GetThreadContext()

template<class TypeSolver , class TypeSolverVector , class TypeContext , typename TN >
TypeContext& BOPCol_ContextFunctor< TypeSolver, TypeSolverVector, TypeContext, TN >::GetThreadContext ( ) const
inline

Returns current thread context.

◆ operator()()

template<class TypeSolver , class TypeSolverVector , class TypeContext , typename TN >
void BOPCol_ContextFunctor< TypeSolver, TypeSolverVector, TypeContext, TN >::operator() ( const Standard_Integer  theIndex) const
inline

Defines functor interface.

◆ SetContext()

template<class TypeSolver , class TypeSolverVector , class TypeContext , typename TN >
void BOPCol_ContextFunctor< TypeSolver, TypeSolverVector, TypeContext, TN >::SetContext ( TypeContext &  theContext)
inline

Binds main thread context.


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