Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::LambdaRangeFunctorT< 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::LambdaRangeFunctorT< LambdaType >:
Collaboration diagram for Arcane::LambdaRangeFunctorT< LambdaType >:

Public Member Functions

 LambdaRangeFunctorT (const LambdaType &lambda_function)
void executeFunctor (Integer begin, Integer size) override
 Executes the associated method.
Public Member Functions inherited from Arcane::IRangeFunctor
virtual ~IRangeFunctor ()=default
 Releases resources.

Private Attributes

const LambdaType & m_lambda_function

Detailed Description

template<typename LambdaType>
class Arcane::LambdaRangeFunctorT< 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 71 of file arccore/src/base/arccore/base/RangeFunctor.h.

Constructor & Destructor Documentation

◆ LambdaRangeFunctorT()

template<typename LambdaType>
Arcane::LambdaRangeFunctorT< LambdaType >::LambdaRangeFunctorT ( const LambdaType & lambda_function)
inline

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

Member Function Documentation

◆ executeFunctor()

template<typename LambdaType>
void Arcane::LambdaRangeFunctorT< LambdaType >::executeFunctor ( Integer begin,
Integer size )
inlineoverridevirtual

Executes the associated method.

Parameters
beginindex of the start of the iteration.
sizenumber of elements to iterate.

Implements Arcane::IRangeFunctor.

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

Member Data Documentation

◆ m_lambda_function

template<typename LambdaType>
const LambdaType& Arcane::LambdaRangeFunctorT< LambdaType >::m_lambda_function
private

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


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