Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::fast_multipole_embedder::FMEKernel Class Reference

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

+ Inheritance diagram for ogdf::fast_multipole_embedder::FMEKernel:

Public Member Functions

 FMEKernel (FMEThread *pThread)
 
bool isMainThread () const
 returns true if this is the main thread ( the main thread is always the first thread ) More...
 
bool isSingleThreaded () const
 returns true if this run only uses one thread ) More...
 
uint32_t numThreads () const
 returns the total number of threads in the pool More...
 
void sync ()
 
uint32_t threadNr () const
 returns the index of the thread ( 0.. numThreads()-1 ) More...
 

Private Attributes

FMEThreadm_pThread
 

Detailed Description

Definition at line 49 of file FMEKernel.h.

Constructor & Destructor Documentation

◆ FMEKernel()

ogdf::fast_multipole_embedder::FMEKernel::FMEKernel ( FMEThread pThread)
inlineexplicit

Definition at line 51 of file FMEKernel.h.

Member Function Documentation

◆ isMainThread()

bool ogdf::fast_multipole_embedder::FMEKernel::isMainThread ( ) const
inline

returns true if this is the main thread ( the main thread is always the first thread )

Definition at line 62 of file FMEKernel.h.

◆ isSingleThreaded()

bool ogdf::fast_multipole_embedder::FMEKernel::isSingleThreaded ( ) const
inline

returns true if this run only uses one thread )

Definition at line 65 of file FMEKernel.h.

◆ numThreads()

uint32_t ogdf::fast_multipole_embedder::FMEKernel::numThreads ( ) const
inline

returns the total number of threads in the pool

Definition at line 59 of file FMEKernel.h.

◆ sync()

void ogdf::fast_multipole_embedder::FMEKernel::sync ( )
inline

Definition at line 53 of file FMEKernel.h.

◆ threadNr()

uint32_t ogdf::fast_multipole_embedder::FMEKernel::threadNr ( ) const
inline

returns the index of the thread ( 0.. numThreads()-1 )

Definition at line 56 of file FMEKernel.h.

Member Data Documentation

◆ m_pThread

FMEThread* ogdf::fast_multipole_embedder::FMEKernel::m_pThread
private

Definition at line 65 of file FMEKernel.h.


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