Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t > Class Template Referencefinal

template<typename Helper, typename PrevDataFrame, typename ColumnTypes_t = typename Helper::ColumnTypes_t>
class ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >

Definition at line 362 of file RDFNodes.hxx.

Public Member Functions

 RAction (Helper &&h, const ColumnNames_t &bl, PrevDataFrame &pd)
 
 RAction (const RAction &)=delete
 
 ~RAction ()
 
void ClearValueReaders (unsigned int slot)
 
template<std::size_t... S>
void Exec (unsigned int slot, Long64_t entry, std::index_sequence< S... >)
 
void FinalizeSlot (unsigned int slot) final
 
void Initialize () final
 
void InitSlot (TTreeReader *r, unsigned int slot) final
 
RActionoperator= (const RAction &)=delete
 
voidPartialUpdate (unsigned int slot) final
 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 TODO the PartialUpdateImpl trick can go away once all action helpers will implement PartialUpdate. More...
 
void Run (unsigned int slot, Long64_t entry) final
 
void TriggerChildrenCount () final
 
- Public Member Functions inherited from ROOT::Internal::RDF::RActionBase
 RActionBase (RLoopManager *implPtr, const unsigned int nSlots)
 
 RActionBase (const RActionBase &)=delete
 
virtual ~RActionBase ()=default
 
RActionBaseoperator= (const RActionBase &)=delete
 

Private Types

using TypeInd_t = std::make_index_sequence< ColumnTypes_t::list_size >
 

Private Member Functions

template<typename H = Helper>
auto PartialUpdateImpl (unsigned int slot) -> decltype(std::declval< H >().PartialUpdate(slot),(void *)(nullptr))
 
voidPartialUpdateImpl (...)
 

Private Attributes

const ColumnNames_t fBranches
 
Helper fHelper
 
PrevDataFrame & fPrevData
 
std::vector< RDFValueTuple_t< ColumnTypes_t > > fValues
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Internal::RDF::RActionBase
RLoopManagerfLoopManager
 A raw pointer to the RLoopManager at the root of this functional graph. More...
 
const unsigned int fNSlots
 Number of thread slots used by this node. More...
 

#include <ROOT/RDFNodes.hxx>

Inheritance diagram for ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >:
[legend]

Member Typedef Documentation

◆ TypeInd_t

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
using ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::TypeInd_t = std::make_index_sequence<ColumnTypes_t::list_size>
private

Definition at line 363 of file RDFNodes.hxx.

Constructor & Destructor Documentation

◆ RAction() [1/2]

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::RAction ( Helper &&  h,
const ColumnNames_t &  bl,
PrevDataFrame &  pd 
)
inline

Definition at line 371 of file RDFNodes.hxx.

◆ RAction() [2/2]

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::RAction ( const RAction< Helper, PrevDataFrame, ColumnTypes_t > &  )
delete

◆ ~RAction()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::~RAction ( )
inline

Definition at line 379 of file RDFNodes.hxx.

Member Function Documentation

◆ ClearValueReaders()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
void ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::ClearValueReaders ( unsigned int  slot)
inline

Definition at line 412 of file RDFNodes.hxx.

◆ Exec()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
template<std::size_t... S>
void ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::Exec ( unsigned int  slot,
Long64_t  entry,
std::index_sequence< S... >   
)
inline

Definition at line 398 of file RDFNodes.hxx.

◆ FinalizeSlot()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
void ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::FinalizeSlot ( unsigned int  slot)
inlinefinalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 406 of file RDFNodes.hxx.

◆ Initialize()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
void ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::Initialize ( )
inlinefinalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 381 of file RDFNodes.hxx.

◆ InitSlot()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
void ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::InitSlot ( TTreeReader r,
unsigned int  slot 
)
inlinefinalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 383 of file RDFNodes.hxx.

◆ operator=()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
RAction& ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::operator= ( const RAction< Helper, PrevDataFrame, ColumnTypes_t > &  )
delete

◆ PartialUpdate()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
void* ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::PartialUpdate ( unsigned int  slot)
inlinefinalvirtual

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 TODO the PartialUpdateImpl trick can go away once all action helpers will implement PartialUpdate.

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 417 of file RDFNodes.hxx.

◆ PartialUpdateImpl() [1/2]

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
template<typename H = Helper>
auto ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::PartialUpdateImpl ( unsigned int  slot) -> decltype(std::declval<H>().PartialUpdate(slot), (void *)(nullptr))
inlineprivate

Definition at line 423 of file RDFNodes.hxx.

◆ PartialUpdateImpl() [2/2]

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
void* ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::PartialUpdateImpl (   ...)
inlineprivate

Definition at line 428 of file RDFNodes.hxx.

◆ Run()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
void ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::Run ( unsigned int  slot,
Long64_t  entry 
)
inlinefinalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 390 of file RDFNodes.hxx.

◆ TriggerChildrenCount()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
void ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::TriggerChildrenCount ( )
inlinefinalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 404 of file RDFNodes.hxx.

Member Data Documentation

◆ fBranches

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
const ColumnNames_t ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::fBranches
private

Definition at line 366 of file RDFNodes.hxx.

◆ fHelper

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
Helper ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::fHelper
private

Definition at line 365 of file RDFNodes.hxx.

◆ fPrevData

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
PrevDataFrame& ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::fPrevData
private

Definition at line 367 of file RDFNodes.hxx.

◆ fValues

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
std::vector<RDFValueTuple_t<ColumnTypes_t> > ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::fValues
private

Definition at line 368 of file RDFNodes.hxx.

Libraries for ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >:
[legend]

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