Eigen::StlThreadEnvironment Struct Reference

Classes

class  EnvThread
 
struct  Task
 

Public Member Functions

Task CreateTask (std::function< void()> f)
 
EnvThreadCreateThread (std::function< void()> f)
 
void ExecuteTask (const Task &t)
 

Detailed Description

Definition at line 17 of file ThreadEnvironment.h.

Member Function Documentation

◆ CreateTask()

Task Eigen::StlThreadEnvironment::CreateTask ( std::function< void()>  f)
inline

Definition at line 36 of file ThreadEnvironment.h.

36 { return Task{std::move(f)}; }

◆ CreateThread()

EnvThread* Eigen::StlThreadEnvironment::CreateThread ( std::function< void()>  f)
inline

Definition at line 35 of file ThreadEnvironment.h.

35 { return new EnvThread(std::move(f)); }

◆ ExecuteTask()

void Eigen::StlThreadEnvironment::ExecuteTask ( const Task t)
inline

Definition at line 37 of file ThreadEnvironment.h.

37 { t.f(); }

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