# OpenGraph DrawingFramework

v. 2022.02 (Dogwood)

The fast multipole embedder work thread class. More...

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

## Public Member Functions

construtor More...

bool isMainThread () const
returns true if this is the main thread ( the main thread is always the first thread ) More...

uint32_t numThreads () const
returns the total number of threads in the pool More...

void operator() ()
the main work function More...

sets the actual task More...

void sync ()
thread sync call More...

uint32_t threadNr () const
returns the index of the thread ( 0.. numThreads()-1 ) More...

returns the ThreadPool this thread belongs to More...

void unixSetAffinity ()

## Detailed Description

The fast multipole embedder work thread class.

Definition at line 80 of file FMEThread.h.

construtor

private

## Member Function Documentation

inline

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

Definition at line 93 of file FMEThread.h.

inline

returns the total number of threads in the pool

Definition at line 90 of file FMEThread.h.

## ◆ operator()()

 void ogdf::fast_multipole_embedder::FMEThread::operator() ( )
inline

the main work function

Definition at line 108 of file FMEThread.h.

## ◆ operator=()

private

inline

sets the actual task

Definition at line 116 of file FMEThread.h.

## ◆ sync()

 void ogdf::fast_multipole_embedder::FMEThread::sync ( )

inline

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

Definition at line 87 of file FMEThread.h.

inline

returns the ThreadPool this thread belongs to

Definition at line 96 of file FMEThread.h.

## ◆ unixSetAffinity()

 void ogdf::fast_multipole_embedder::FMEThread::unixSetAffinity ( )
inline

Definition at line 104 of file FMEThread.h.

## Member Data Documentation

private

Definition at line 121 of file FMEThread.h.

private

Definition at line 125 of file FMEThread.h.

private

Definition at line 123 of file FMEThread.h.