Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::RDF::Experimental::ProgressBarAction Class Referencefinal

Definition at line 430 of file RDFHelpers.cxx.

Public Types

using Result_t = int
 

Public Member Functions

 ProgressBarAction (std::shared_ptr< ProgressHelper > r)
 
auto CallFinalizeTask (unsigned int slot) -> decltype(std::declval< T >().FinalizeTask(slot))
 
void CallFinalizeTask (unsigned int, Args...)
 
ProgressBarAction CallMakeNew (void *typeErasedResSharedPtr, std::string_view variation="nominal")
 
void * CallPartialUpdate (...)
 
auto CallPartialUpdate (unsigned int slot) -> decltype(std::declval< H >().PartialUpdate(slot),(void *)(nullptr))
 
void Exec (unsigned int)
 
void Finalize ()
 
std::string GetActionName ()
 
virtual std::unique_ptr< RMergeableValueBase > GetMergeableValue () const
 
std::shared_ptr< Result_tGetResultPtr () const
 
ROOT::RDF::SampleCallback_t GetSampleCallback () final
 Override this method to register a callback that is executed before the processing a new data sample starts.
 
void Initialize ()
 
void InitTask (TTreeReader *, unsigned int)
 
intPartialUpdate (unsigned int)
 

Private Attributes

std::shared_ptr< intfDummyResult = std::make_shared<int>()
 
std::shared_ptr< ProgressHelperfHelper
 
Inheritance diagram for ROOT::RDF::Experimental::ProgressBarAction:
ROOT::Detail::RDF::RActionImpl< ProgressBarAction >

Member Typedef Documentation

◆ Result_t

Constructor & Destructor Documentation

◆ ProgressBarAction()

ROOT::RDF::Experimental::ProgressBarAction::ProgressBarAction ( std::shared_ptr< ProgressHelper > r)
inline

Definition at line 439 of file RDFHelpers.cxx.

Member Function Documentation

◆ CallFinalizeTask() [1/2]

auto ROOT::Detail::RDF::RActionImpl< ProgressBarAction >::CallFinalizeTask ( unsigned int slot) -> decltype(std::declval<T>().FinalizeTask(slot))
inlineinherited

Definition at line 44 of file RActionImpl.hxx.

◆ CallFinalizeTask() [2/2]

void ROOT::Detail::RDF::RActionImpl< ProgressBarAction >::CallFinalizeTask ( unsigned int ,
Args...  )
inlineinherited

Definition at line 50 of file RActionImpl.hxx.

◆ CallMakeNew()

ProgressBarAction ROOT::Detail::RDF::RActionImpl< ProgressBarAction >::CallMakeNew ( void * typeErasedResSharedPtr,
std::string_view variation = "nominal" )
inlineinherited

Definition at line 64 of file RActionImpl.hxx.

◆ CallPartialUpdate() [1/2]

void * ROOT::Detail::RDF::RActionImpl< ProgressBarAction >::CallPartialUpdate ( ...)
inlineinherited

Definition at line 59 of file RActionImpl.hxx.

◆ CallPartialUpdate() [2/2]

auto ROOT::Detail::RDF::RActionImpl< ProgressBarAction >::CallPartialUpdate ( unsigned int slot) -> decltype(std::declval<H>().PartialUpdate(slot), (void *)(nullptr))
inlineinherited

Definition at line 53 of file RActionImpl.hxx.

◆ Exec()

void ROOT::RDF::Experimental::ProgressBarAction::Exec ( unsigned int )
inline

Definition at line 446 of file RDFHelpers.cxx.

◆ Finalize()

void ROOT::RDF::Experimental::ProgressBarAction::Finalize ( )
inline

Definition at line 448 of file RDFHelpers.cxx.

◆ GetActionName()

std::string ROOT::RDF::Experimental::ProgressBarAction::GetActionName ( )
inline

Definition at line 450 of file RDFHelpers.cxx.

◆ GetMergeableValue()

virtual std::unique_ptr< RMergeableValueBase > ROOT::Detail::RDF::RActionImpl< ProgressBarAction >::GetMergeableValue ( ) const
inlinevirtualinherited

Definition at line 79 of file RActionImpl.hxx.

◆ GetResultPtr()

std::shared_ptr< Result_t > ROOT::RDF::Experimental::ProgressBarAction::GetResultPtr ( ) const
inline

Definition at line 441 of file RDFHelpers.cxx.

◆ GetSampleCallback()

ROOT::RDF::SampleCallback_t ROOT::RDF::Experimental::ProgressBarAction::GetSampleCallback ( )
inlinefinalvirtual

Override this method to register a callback that is executed before the processing a new data sample starts.

The callback will be invoked in the same conditions as with DefinePerSample().

Reimplemented from ROOT::Detail::RDF::RActionImpl< ProgressBarAction >.

Definition at line 454 of file RDFHelpers.cxx.

◆ Initialize()

void ROOT::RDF::Experimental::ProgressBarAction::Initialize ( )
inline

Definition at line 443 of file RDFHelpers.cxx.

◆ InitTask()

void ROOT::RDF::Experimental::ProgressBarAction::InitTask ( TTreeReader * ,
unsigned int  )
inline

Definition at line 444 of file RDFHelpers.cxx.

◆ PartialUpdate()

int & ROOT::RDF::Experimental::ProgressBarAction::PartialUpdate ( unsigned int )
inline

Definition at line 452 of file RDFHelpers.cxx.

Member Data Documentation

◆ fDummyResult

std::shared_ptr<int> ROOT::RDF::Experimental::ProgressBarAction::fDummyResult = std::make_shared<int>()
private

Definition at line 436 of file RDFHelpers.cxx.

◆ fHelper

std::shared_ptr<ProgressHelper> ROOT::RDF::Experimental::ProgressBarAction::fHelper
private

Definition at line 435 of file RDFHelpers.cxx.


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