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 >:
edm::TaskBase

Public Member Functions

void execute () final
 
 FunctorTask (F f)
 
- Public Member Functions inherited from edm::TaskBase
unsigned int decrement_ref_count () noexcept
 
void increment_ref_count () noexcept
 
 TaskBase () noexcept
 Constructor. More...
 
virtual ~TaskBase () noexcept=default
 

Private Attributes

F func_
 

Detailed Description

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

Definition at line 33 of file FunctorTask.h.

Constructor & Destructor Documentation

◆ FunctorTask()

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

◆ execute()

template<typename F >
void edm::FunctorTask< F >::execute ( void  )
inlinefinalvirtual

Implements edm::TaskBase.

Definition at line 37 of file FunctorTask.h.

37 { func_(); };

Member Data Documentation

◆ func_

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

Definition at line 37 of file FunctorTask.h.