Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::RDF::RActionBase Class Referenceabstract

Definition at line 39 of file RActionBase.hxx.

Public Member Functions

 RActionBase (const RActionBase &)=delete
 
 RActionBase (RLoopManager *lm, const ColumnNames_t &colNames, const RBookedDefines &defines)
 
virtual ~RActionBase ()
 
virtual void Finalize ()=0
 
virtual void FinalizeSlot (unsigned int)=0
 
const ColumnNames_tGetColumnNames () const
 
virtual std::function< void(unsigned int)> GetDataBlockCallback ()=0
 
RBookedDefinesGetDefines ()
 
virtual std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNodeGetGraph ()=0
 
RLoopManagerGetLoopManager ()
 
virtual std::unique_ptr< RMergeableValueBaseGetMergeableValue () const =0
 Retrieve a wrapper to the result of the action that knows how to merge with others of the same type.
 
unsigned int GetNSlots () const
 
virtual bool HasRun () const
 
virtual void Initialize ()=0
 
virtual void InitSlot (TTreeReader *r, unsigned int slot)=0
 
RActionBaseoperator= (const RActionBase &)=delete
 
virtual voidPartialUpdate (unsigned int slot)=0
 This method is invoked to update a partial result during the event loop, right before passing the result to a user-defined callback registered via RResultPtr::RegisterCallback.
 
virtual void Run (unsigned int slot, Long64_t entry)=0
 
virtual void SetHasRun ()
 
virtual void TriggerChildrenCount ()=0
 

Protected Attributes

RLoopManagerfLoopManager
 A raw pointer to the RLoopManager at the root of this functional graph.
 

Private Attributes

const ColumnNames_t fColumnNames
 
RBookedDefines fDefines
 
bool fHasRun = false
 
const unsigned int fNSlots
 Number of thread slots used by this node.
 

#include <ROOT/RDF/RActionBase.hxx>

Inheritance diagram for ROOT::Internal::RDF::RActionBase:
[legend]

Constructor & Destructor Documentation

◆ RActionBase() [1/2]

RActionBase::RActionBase ( RLoopManager lm,
const ColumnNames_t colNames,
const RBookedDefines defines 
)

Definition at line 16 of file RActionBase.cxx.

◆ RActionBase() [2/2]

ROOT::Internal::RDF::RActionBase::RActionBase ( const RActionBase )
delete

◆ ~RActionBase()

RActionBase::~RActionBase ( )
virtual

Definition at line 20 of file RActionBase.cxx.

Member Function Documentation

◆ Finalize()

virtual void ROOT::Internal::RDF::RActionBase::Finalize ( )
pure virtual

◆ FinalizeSlot()

virtual void ROOT::Internal::RDF::RActionBase::FinalizeSlot ( unsigned int  )
pure virtual

◆ GetColumnNames()

const ColumnNames_t & ROOT::Internal::RDF::RActionBase::GetColumnNames ( ) const
inline

Definition at line 58 of file RActionBase.hxx.

◆ GetDataBlockCallback()

virtual std::function< void(unsigned int)> ROOT::Internal::RDF::RActionBase::GetDataBlockCallback ( )
pure virtual

◆ GetDefines()

RBookedDefines & ROOT::Internal::RDF::RActionBase::GetDefines ( )
inline

Definition at line 59 of file RActionBase.hxx.

◆ GetGraph()

virtual std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNode > ROOT::Internal::RDF::RActionBase::GetGraph ( )
pure virtual

◆ GetLoopManager()

RLoopManager * ROOT::Internal::RDF::RActionBase::GetLoopManager ( )
inline

Definition at line 60 of file RActionBase.hxx.

◆ GetMergeableValue()

virtual std::unique_ptr< RMergeableValueBase > ROOT::Internal::RDF::RActionBase::GetMergeableValue ( ) const
pure virtual

Retrieve a wrapper to the result of the action that knows how to merge with others of the same type.

Implemented in ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >, and ROOT::Internal::RDF::RJittedAction.

◆ GetNSlots()

unsigned int ROOT::Internal::RDF::RActionBase::GetNSlots ( ) const
inline

Definition at line 61 of file RActionBase.hxx.

◆ HasRun()

virtual bool ROOT::Internal::RDF::RActionBase::HasRun ( ) const
inlinevirtual

Reimplemented in ROOT::Internal::RDF::RJittedAction.

Definition at line 73 of file RActionBase.hxx.

◆ Initialize()

virtual void ROOT::Internal::RDF::RActionBase::Initialize ( )
pure virtual

◆ InitSlot()

virtual void ROOT::Internal::RDF::RActionBase::InitSlot ( TTreeReader r,
unsigned int  slot 
)
pure virtual

◆ operator=()

RActionBase & ROOT::Internal::RDF::RActionBase::operator= ( const RActionBase )
delete

◆ PartialUpdate()

virtual void * ROOT::Internal::RDF::RActionBase::PartialUpdate ( unsigned int  slot)
pure virtual

This method is invoked to update a partial result during the event loop, right before passing the result to a user-defined callback registered via RResultPtr::RegisterCallback.

Implemented in ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >, and ROOT::Internal::RDF::RJittedAction.

◆ Run()

virtual void ROOT::Internal::RDF::RActionBase::Run ( unsigned int  slot,
Long64_t  entry 
)
pure virtual

◆ SetHasRun()

virtual void ROOT::Internal::RDF::RActionBase::SetHasRun ( )
inlinevirtual

Reimplemented in ROOT::Internal::RDF::RJittedAction.

Definition at line 74 of file RActionBase.hxx.

◆ TriggerChildrenCount()

virtual void ROOT::Internal::RDF::RActionBase::TriggerChildrenCount ( )
pure virtual

Member Data Documentation

◆ fColumnNames

const ColumnNames_t ROOT::Internal::RDF::RActionBase::fColumnNames
private

Definition at line 48 of file RActionBase.hxx.

◆ fDefines

RBookedDefines ROOT::Internal::RDF::RActionBase::fDefines
private

Definition at line 50 of file RActionBase.hxx.

◆ fHasRun

bool ROOT::Internal::RDF::RActionBase::fHasRun = false
private

Definition at line 47 of file RActionBase.hxx.

◆ fLoopManager

RLoopManager* ROOT::Internal::RDF::RActionBase::fLoopManager
protected

A raw pointer to the RLoopManager at the root of this functional graph.

Never null: children nodes have shared ownership of parent nodes in the graph.

Definition at line 43 of file RActionBase.hxx.

◆ fNSlots

const unsigned int ROOT::Internal::RDF::RActionBase::fNSlots
private

Number of thread slots used by this node.

Definition at line 46 of file RActionBase.hxx.

Libraries for ROOT::Internal::RDF::RActionBase:

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