CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::FunctorTask< F > Class Template Reference

#include <FunctorTask.h>

Inheritance diagram for edm::FunctorTask< F >:

Public Member Functions

task * execute () override
 
 FunctorTask (F f)
 

Private Attributes

F func_
 

Detailed Description

template<typename F>
class edm::FunctorTask< F >

Definition at line 33 of file FunctorTask.h.

Constructor & Destructor Documentation

template<typename F >
edm::FunctorTask< F >::FunctorTask ( F  f)
inlineexplicit

Definition at line 35 of file FunctorTask.h.

35 : func_(std::move(f)) {}
double f[11][100]
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

template<typename F >
task* edm::FunctorTask< F >::execute ( void  )
inlineoverride

Definition at line 37 of file FunctorTask.h.

References edm::FunctorTask< F >::func_.

37  {
38  func_();
39  return nullptr;
40  };

Member Data Documentation

template<typename F >
F edm::FunctorTask< F >::func_
private

Definition at line 40 of file FunctorTask.h.

Referenced by edm::FunctorTask< F >::execute().