CMS 3D CMS Logo

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

#include <WaitingTask.h>

Inheritance diagram for edm::FunctorWaitingTask< F >:
edm::WaitingTask edm::TaskBase

Public Member Functions

void execute () final
 
 FunctorWaitingTask (F f)
 
- Public Member Functions inherited from edm::WaitingTask
std::exception_ptr const * exceptionPtr () const
 Returns exception thrown by dependent task. More...
 
 WaitingTask ()
 Constructor. More...
 
 ~WaitingTask () override
 
- Public Member Functions inherited from edm::TaskBase
unsigned int decrement_ref_count ()
 
void increment_ref_count ()
 
 TaskBase ()
 Constructor. More...
 
virtual ~TaskBase ()=default
 

Private Attributes

F func_
 

Detailed Description

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

Definition at line 90 of file WaitingTask.h.

Constructor & Destructor Documentation

◆ FunctorWaitingTask()

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

Definition at line 92 of file WaitingTask.h.

92 : 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::FunctorWaitingTask< F >::execute ( void  )
inlinefinalvirtual

Implements edm::TaskBase.

Definition at line 94 of file WaitingTask.h.

94 { func_(exceptionPtr()); };
std::exception_ptr const * exceptionPtr() const
Returns exception thrown by dependent task.
Definition: WaitingTask.h:51

Member Data Documentation

◆ func_

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

Definition at line 94 of file WaitingTask.h.