Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Detail::RPageStorage::RTaskScheduler Class Referenceabstract

The interface of a task scheduler to schedule page (de)compression tasks.

Definition at line 64 of file RPageStorage.hxx.

Public Member Functions

virtual ~RTaskScheduler ()=default
 
virtual void AddTask (const std::function< void(void)> &taskFunc)=0
 Take a callable that represents a task.
 
virtual void Reset ()=0
 Start a new set of tasks.
 
virtual void Wait ()=0
 Blocks until all scheduled tasks finished.
 

#include <ROOT/RPageStorage.hxx>

Inheritance diagram for ROOT::Experimental::Detail::RPageStorage::RTaskScheduler:
[legend]

Constructor & Destructor Documentation

◆ ~RTaskScheduler()

virtual ROOT::Experimental::Detail::RPageStorage::RTaskScheduler::~RTaskScheduler ( )
virtualdefault

Member Function Documentation

◆ AddTask()

virtual void ROOT::Experimental::Detail::RPageStorage::RTaskScheduler::AddTask ( const std::function< void(void)> &  taskFunc)
pure virtual

Take a callable that represents a task.

Implemented in ROOT::Experimental::RNTupleImtTaskScheduler.

◆ Reset()

virtual void ROOT::Experimental::Detail::RPageStorage::RTaskScheduler::Reset ( )
pure virtual

Start a new set of tasks.

Implemented in ROOT::Experimental::RNTupleImtTaskScheduler.

◆ Wait()

virtual void ROOT::Experimental::Detail::RPageStorage::RTaskScheduler::Wait ( )
pure virtual

Blocks until all scheduled tasks finished.

Implemented in ROOT::Experimental::RNTupleImtTaskScheduler.


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