Eigen::ThreadPoolInterface Class Referenceabstract
+ Inheritance diagram for Eigen::ThreadPoolInterface:

Public Member Functions

virtual void Cancel ()
 
virtual int CurrentThreadId () const =0
 
virtual int NumThreads () const =0
 
virtual void Schedule (std::function< void()> fn)=0
 
virtual void ScheduleWithHint (std::function< void()> fn, int, int)
 
virtual ~ThreadPoolInterface ()
 

Detailed Description

Definition at line 19 of file ThreadPoolInterface.h.

Constructor & Destructor Documentation

◆ ~ThreadPoolInterface()

virtual Eigen::ThreadPoolInterface::~ThreadPoolInterface ( )
inlinevirtual

Definition at line 45 of file ThreadPoolInterface.h.

45 {}

Member Function Documentation

◆ Cancel()

virtual void Eigen::ThreadPoolInterface::Cancel ( )
inlinevirtual

Reimplemented in Eigen::ThreadPoolTempl< Environment >.

Definition at line 36 of file ThreadPoolInterface.h.

36 {}

◆ CurrentThreadId()

virtual int Eigen::ThreadPoolInterface::CurrentThreadId ( ) const
pure virtual

◆ NumThreads()

virtual int Eigen::ThreadPoolInterface::NumThreads ( ) const
pure virtual

◆ Schedule()

virtual void Eigen::ThreadPoolInterface::Schedule ( std::function< void()>  fn)
pure virtual

◆ ScheduleWithHint()

virtual void Eigen::ThreadPoolInterface::ScheduleWithHint ( std::function< void()>  fn,
int  ,
int   
)
inlinevirtual

Reimplemented in Eigen::ThreadPoolTempl< Environment >.

Definition at line 26 of file ThreadPoolInterface.h.

27  {
28  // Just defer to Schedule in case sub-classes aren't interested in
29  // overriding this functionality.
30  Schedule(fn);
31  }
virtual void Schedule(std::function< void()> fn)=0

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