LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::RPWorkerT< RP > Class Template Reference

#include "RPWorkerT.h"

Inheritance diagram for art::RPWorkerT< RP >:
art::RPWorker

Public Types

using RPType = RP
 

Public Member Functions

 RPWorkerT (RPParams const &p, fhicl::ParameterSet const &ps)
 
ResultsProducerrp ()
 
ResultsProducer const & rp () const
 
RPParams const & params () const
 
ModuleDescription const & moduleDescription () const
 
void setModuleDescription (ModuleDescription const &)
 
void setModuleDescription (ModuleDescription &&)
 

Private Member Functions

RP & rp_ () override
 
RP const & rp_ () const override
 

Private Attributes

RP rpPlugin_
 

Detailed Description

template<typename RP>
class art::RPWorkerT< RP >

Definition at line 12 of file RPWorkerT.h.

Member Typedef Documentation

template<typename RP >
using art::RPWorkerT< RP >::RPType = RP

Definition at line 15 of file RPWorkerT.h.

Constructor & Destructor Documentation

template<typename RP >
art::RPWorkerT< RP >::RPWorkerT ( RPParams const &  p,
fhicl::ParameterSet const &  ps 
)

Definition at line 30 of file RPWorkerT.h.

31  : RPWorker(p), rpPlugin_(ps)
32  {}
RPWorker(RPParams const &p)
Definition: RPWorker.h:52

Member Function Documentation

ModuleDescription const & art::RPWorker::moduleDescription ( ) const
inlineinherited

Definition at line 73 of file RPWorker.h.

References art::RPWorker::md_.

74  {
75  return md_;
76  }
ModuleDescription md_
Definition: RPWorker.h:49
RPParams const & art::RPWorker::params ( ) const
inlineinherited

Definition at line 67 of file RPWorker.h.

References art::RPWorker::p_.

68  {
69  return p_;
70  }
RPParams p_
Definition: RPWorker.h:47
ResultsProducer & art::RPWorker::rp ( )
inlineinherited

Definition at line 55 of file RPWorker.h.

References art::RPWorker::rp_().

56  {
57  return rp_();
58  }
virtual ResultsProducer & rp_()=0
ResultsProducer const & art::RPWorker::rp ( ) const
inlineinherited

Definition at line 61 of file RPWorker.h.

References art::RPWorker::rp_().

62  {
63  return rp_();
64  }
virtual ResultsProducer & rp_()=0
template<typename RP >
auto art::RPWorkerT< RP >::rp_ ( )
inlineoverrideprivatevirtual

Implements art::RPWorker.

Definition at line 36 of file RPWorkerT.h.

References art::RPWorkerT< RP >::rpPlugin_.

37  {
38  return rpPlugin_;
39  }
template<typename RP >
auto art::RPWorkerT< RP >::rp_ ( ) const
inlineoverrideprivatevirtual

Implements art::RPWorker.

Definition at line 43 of file RPWorkerT.h.

References art::RPWorkerT< RP >::rpPlugin_.

44  {
45  return rpPlugin_;
46  }
void art::RPWorker::setModuleDescription ( ModuleDescription const &  md)
inlineinherited

Definition at line 79 of file RPWorker.h.

References art::RPWorker::md_.

80  {
81  md_ = md;
82  }
ModuleDescription md_
Definition: RPWorker.h:49
void art::RPWorker::setModuleDescription ( ModuleDescription &&  md)
inlineinherited

Definition at line 85 of file RPWorker.h.

References art::RPWorker::md_.

86  {
87  md_ = std::move(md);
88  }
ModuleDescription md_
Definition: RPWorker.h:49

Member Data Documentation

template<typename RP >
RP art::RPWorkerT< RP >::rpPlugin_
private

Definition at line 26 of file RPWorkerT.h.

Referenced by art::RPWorkerT< RP >::rp_().


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