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

Definition at line 325 of file RDFHelpers.cxx.

Public Types

using Result_t = int
 

Public Member Functions

 ProgressBarAction (std::shared_ptr< ProgressHelper > r)
 
void Exec (unsigned int)
 
void Finalize ()
 
std::string GetActionName ()
 
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)
 
- Public Member Functions inherited from ROOT::Detail::RDF::RActionImpl< ProgressBarAction >
virtual ~RActionImpl ()=default
 
auto CallFinalizeTask (unsigned int slot) -> decltype(std::declval< T >().FinalizeTask(slot))
 
void CallFinalizeTask (unsigned int, Args...)
 
ProgressBarAction CallMakeNew (void *, Args...)
 
auto CallMakeNew (void *typeErasedResSharedPtr) -> decltype(std::declval< T >().MakeNew(typeErasedResSharedPtr))
 
void * CallPartialUpdate (...)
 
auto CallPartialUpdate (unsigned int slot) -> decltype(std::declval< H >().PartialUpdate(slot),(void *)(nullptr))
 
virtual std::unique_ptr< RMergeableValueBaseGetMergeableValue () const
 

Private Attributes

std::shared_ptr< intfDummyResult = std::make_shared<int>()
 
std::shared_ptr< ProgressHelperfHelper
 
Inheritance diagram for ROOT::RDF::Experimental::ProgressBarAction:
[legend]

Member Typedef Documentation

◆ Result_t

Constructor & Destructor Documentation

◆ ProgressBarAction()

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

Definition at line 334 of file RDFHelpers.cxx.

Member Function Documentation

◆ Exec()

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

Definition at line 341 of file RDFHelpers.cxx.

◆ Finalize()

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

Definition at line 343 of file RDFHelpers.cxx.

◆ GetActionName()

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

Definition at line 360 of file RDFHelpers.cxx.

◆ GetResultPtr()

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

Definition at line 336 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 364 of file RDFHelpers.cxx.

◆ Initialize()

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

Definition at line 338 of file RDFHelpers.cxx.

◆ InitTask()

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

Definition at line 339 of file RDFHelpers.cxx.

◆ PartialUpdate()

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

Definition at line 362 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 331 of file RDFHelpers.cxx.

◆ fHelper

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

Definition at line 330 of file RDFHelpers.cxx.

  • tree/dataframe/src/RDFHelpers.cxx