Logo ROOT  
Reference Guide
ROOT::Internal::RDF::RActionBase Class Referenceabstract

Definition at line 44 of file RActionBase.hxx.

Public Member Functions

 RActionBase (const RActionBase &)=delete
 
 RActionBase (RLoopManager *lm, const ColumnNames_t &colNames, RBookedCustomColumns &&customColumns)
 
virtual ~RActionBase ()
 
virtual void ClearValueReaders (unsigned int slot)=0
 
virtual void Finalize ()=0
 
virtual void FinalizeSlot (unsigned int)=0
 
const ColumnNames_t & GetColumnNames () const
 
RBookedCustomColumnsGetCustomColumns ()
 
virtual std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNodeGetGraph ()=0
 
RLoopManagerGetLoopManager ()
 
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. More...
 
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. More...
 

Private Attributes

const ColumnNames_t fColumnNames
 
RBookedCustomColumns fCustomColumns
 
bool fHasRun = false
 
const unsigned int fNSlots
 Number of thread slots used by this node. More...
 

#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,
RBookedCustomColumns &&  customColumns 
)

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

◆ ClearValueReaders()

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

◆ 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 63 of file RActionBase.hxx.

◆ GetCustomColumns()

RBookedCustomColumns & ROOT::Internal::RDF::RActionBase::GetCustomColumns ( )
inline

Definition at line 64 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 65 of file RActionBase.hxx.

◆ GetNSlots()

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

Definition at line 66 of file RActionBase.hxx.

◆ HasRun()

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

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

Definition at line 79 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::RActionCRTP< 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 80 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 53 of file RActionBase.hxx.

◆ fCustomColumns

RBookedCustomColumns ROOT::Internal::RDF::RActionBase::fCustomColumns
private

Definition at line 55 of file RActionBase.hxx.

◆ fHasRun

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

Definition at line 52 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 48 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 51 of file RActionBase.hxx.

Libraries for ROOT::Internal::RDF::RActionBase:
[legend]

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