LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
art::RPWorker Class Referenceabstract

#include "RPWorker.h"

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

Public Member Functions

 RPWorker (RPParams const &p)
 
virtual ~RPWorker ()=default
 
ResultsProducerrp ()
 
ResultsProducer const & rp () const
 
RPParams const & params () const
 
ModuleDescription const & moduleDescription () const
 
void setModuleDescription (ModuleDescription const &)
 
void setModuleDescription (ModuleDescription &&)
 

Private Member Functions

virtual ResultsProducerrp_ ()=0
 
virtual ResultsProducer const & rp_ () const =0
 

Private Attributes

RPParams p_
 
ModuleDescription md_
 

Detailed Description

Definition at line 22 of file RPWorker.h.

Constructor & Destructor Documentation

art::RPWorker::RPWorker ( RPParams const &  p)
inline

Definition at line 44 of file RPWorker.h.

44 : p_(p), md_() {}
ModuleDescription md_
Definition: RPWorker.h:41
RPParams p_
Definition: RPWorker.h:40
virtual art::RPWorker::~RPWorker ( )
virtualdefault

Member Function Documentation

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

Definition at line 65 of file RPWorker.h.

References 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
inline

Definition at line 59 of file RPWorker.h.

References p_.

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

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

Definition at line 53 of file RPWorker.h.

References rp_().

54 {
55  return rp_();
56 }
virtual ResultsProducer & rp_()=0
virtual ResultsProducer& art::RPWorker::rp_ ( )
privatepure virtual

Implemented in art::RPWorkerT< RP >.

Referenced by rp().

virtual ResultsProducer const& art::RPWorker::rp_ ( ) const
privatepure virtual

Implemented in art::RPWorkerT< RP >.

void art::RPWorker::setModuleDescription ( art::ModuleDescription const &  md)
inline

Definition at line 71 of file RPWorker.h.

References md_.

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

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

Definition at line 77 of file RPWorker.h.

References md_.

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

Member Data Documentation

ModuleDescription art::RPWorker::md_
private

Definition at line 41 of file RPWorker.h.

Referenced by moduleDescription(), and setModuleDescription().

RPParams art::RPWorker::p_
private

Definition at line 40 of file RPWorker.h.

Referenced by params().


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