LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 10 of file RPWorkerT.h.

Member Typedef Documentation

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

Definition at line 16 of file RPWorkerT.h.

Constructor & Destructor Documentation

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

Definition at line 28 of file RPWorkerT.h.

29  : RPWorker(p), rpPlugin_(ps)
30 {}
RPWorker(RPParams const &p)
Definition: RPWorker.h:44

Member Function Documentation

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

Definition at line 65 of file RPWorker.h.

References art::RPWorker::md_.

Referenced by art::RootOutput::beginSubRun(), and art::RootOutput::doRegisterProducts().

66 {
67  return md_;
68 }
ModuleDescription md_
Definition: RPWorker.h:41
art::RPParams const & art::RPWorker::params ( ) const
inlineinherited

Definition at line 59 of file RPWorker.h.

References art::RPWorker::p_.

Referenced by art::RootOutput::doRegisterProducts().

60 {
61  return p_;
62 }
RPParams p_
Definition: RPWorker.h:40
art::ResultsProducer const & art::RPWorker::rp ( ) const
inlineinherited

Definition at line 53 of file RPWorker.h.

References art::RPWorker::rp_().

54 {
55  return rp_();
56 }
virtual ResultsProducer & rp_()=0
template<typename RP >
auto art::RPWorkerT< RP >::rp_ ( )
inlineoverrideprivatevirtual

Implements art::RPWorker.

Definition at line 34 of file RPWorkerT.h.

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

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

Implements art::RPWorker.

Definition at line 41 of file RPWorkerT.h.

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

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

Definition at line 71 of file RPWorker.h.

References art::RPWorker::md_.

Referenced by art::RootOutput::doRegisterProducts().

72 {
73  md_ = md;
74 }
ModuleDescription md_
Definition: RPWorker.h:41
void art::RPWorker::setModuleDescription ( art::ModuleDescription &&  md)
inlineinherited

Definition at line 77 of file RPWorker.h.

References art::RPWorker::md_.

78 {
79  md_ = std::move(md);
80 }
ModuleDescription md_
Definition: RPWorker.h:41

Member Data Documentation

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

Definition at line 24 of file RPWorkerT.h.

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


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