Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::LambdaMDRangeFunctor< RankValue, LambdaType > Class Template Reference

Functor over an iteration interval instantiated via a lambda function. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/base/arccore/base/RangeFunctor.h>

Inheritance diagram for Arcane::LambdaMDRangeFunctor< RankValue, LambdaType >:
Collaboration diagram for Arcane::LambdaMDRangeFunctor< RankValue, LambdaType >:

Public Member Functions

 LambdaMDRangeFunctor (const LambdaType &lambda_function)
void executeFunctor (const ComplexForLoopRanges< RankValue > &loop_range) override
 Executes the associated method.
Public Member Functions inherited from Arcane::IMDRangeFunctor< RankValue >
virtual ~IMDRangeFunctor ()=default
 Releases resources.

Private Attributes

const LambdaType & m_lambda_function

Detailed Description

template<int RankValue, typename LambdaType>
class Arcane::LambdaMDRangeFunctor< RankValue, LambdaType >

Functor over an iteration interval instantiated via a lambda function.

This class is used with the C++11 lambda function mechanism.

Definition at line 102 of file arccore/src/base/arccore/base/RangeFunctor.h.

Constructor & Destructor Documentation

◆ LambdaMDRangeFunctor()

template<int RankValue, typename LambdaType>
Arcane::LambdaMDRangeFunctor< RankValue, LambdaType >::LambdaMDRangeFunctor ( const LambdaType & lambda_function)
inline

Member Function Documentation

◆ executeFunctor()

template<int RankValue, typename LambdaType>
void Arcane::LambdaMDRangeFunctor< RankValue, LambdaType >::executeFunctor ( const ComplexForLoopRanges< RankValue > & loop_range)
inlineoverridevirtual

Executes the associated method.

Implements Arcane::IMDRangeFunctor< RankValue >.

Definition at line 114 of file arccore/src/base/arccore/base/RangeFunctor.h.

Member Data Documentation

◆ m_lambda_function

template<int RankValue, typename LambdaType>
const LambdaType& Arcane::LambdaMDRangeFunctor< RankValue, LambdaType >::m_lambda_function
private

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