Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::fast_multipole_embedder::FMEFuncInvokerTask< FuncInvokerType > Class Template Reference

Class used to invoke a functor or function inside a thread. More...

#include <ogdf/energybased/fast_multipole_embedder/FMEThread.h>

+ Inheritance diagram for ogdf::fast_multipole_embedder::FMEFuncInvokerTask< FuncInvokerType >:

Public Member Functions

 FMEFuncInvokerTask (FuncInvokerType f)
 constructor with an invoker More...
 
void doWork () override
 overrides the task doWork() method and invokes the function or functor More...
 
- Public Member Functions inherited from ogdf::fast_multipole_embedder::FMETask
virtual ~FMETask ()
 

Private Attributes

FuncInvokerType funcInvoker
 the invoker More...
 

Detailed Description

template<typename FuncInvokerType>
class ogdf::fast_multipole_embedder::FMEFuncInvokerTask< FuncInvokerType >

Class used to invoke a functor or function inside a thread.

Definition at line 60 of file FMEThread.h.

Constructor & Destructor Documentation

◆ FMEFuncInvokerTask()

template<typename FuncInvokerType >
ogdf::fast_multipole_embedder::FMEFuncInvokerTask< FuncInvokerType >::FMEFuncInvokerTask ( FuncInvokerType  f)
inline

constructor with an invoker

Definition at line 63 of file FMEThread.h.

Member Function Documentation

◆ doWork()

template<typename FuncInvokerType >
void ogdf::fast_multipole_embedder::FMEFuncInvokerTask< FuncInvokerType >::doWork ( )
inlineoverridevirtual

overrides the task doWork() method and invokes the function or functor

Implements ogdf::fast_multipole_embedder::FMETask.

Definition at line 66 of file FMEThread.h.

Member Data Documentation

◆ funcInvoker

template<typename FuncInvokerType >
FuncInvokerType ogdf::fast_multipole_embedder::FMEFuncInvokerTask< FuncInvokerType >::funcInvoker
private

the invoker

Definition at line 70 of file FMEThread.h.


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