All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Protected Member Functions | Private Types | Private Attributes | List of all members
opdet::factory::FWInterfacedBase< Algo, Base, FWTraits > Class Template Reference

Base class for specialization. More...

#include <OpRecoFactoryStuff.h>

Inheritance diagram for opdet::factory::FWInterfacedBase< Algo, Base, FWTraits >:
opdet::factory::FWInterfacedIF< Base, FWTraits > opdet::factory::FWInterfaced< Algo, Base, FWTraits >

Public Types

using Algo_t = Base
 
- Public Types inherited from opdet::factory::FWInterfacedIF< Base, FWTraits >
using Algo_t = Base
 
using Event_t = typename FWTraits::Event_t
 
using Module_t = typename FWTraits::Module_t
 

Protected Member Functions

 FWInterfacedBase (fhicl::ParameterSet const &pset)
 
virtual RealAlgo_tgetAlgo () const override
 Returns the stored algorithm. More...
 

Private Types

using RealAlgo_t = Algo
 

Private Attributes

std::unique_ptr< RealAlgo_tfAlgo
 Instance of RealAlgo_t. More...
 

Additional Inherited Members

- Public Member Functions inherited from opdet::factory::FWInterfacedIF< Base, FWTraits >
virtual ~FWInterfacedIF ()=default
 
Algo_talgo () const
 Access to the algorithm. More...
 
void initialize (Module_t &module)
 
void beginEvent (Event_t const &event)
 
void endEvent (Event_t const &event)
 

Detailed Description

template<typename Algo, typename Base, typename FWTraits = FWInterfaceTraits<>>
class opdet::factory::FWInterfacedBase< Algo, Base, FWTraits >

Base class for specialization.

Definition at line 99 of file OpRecoFactoryStuff.h.

Member Typedef Documentation

template<typename Algo, typename Base, typename FWTraits = FWInterfaceTraits<>>
using opdet::factory::FWInterfacedBase< Algo, Base, FWTraits >::Algo_t = Base

Definition at line 398 of file OpRecoFactoryStuff.h.

template<typename Algo, typename Base, typename FWTraits = FWInterfaceTraits<>>
using opdet::factory::FWInterfacedBase< Algo, Base, FWTraits >::RealAlgo_t = Algo
private

Definition at line 394 of file OpRecoFactoryStuff.h.

Constructor & Destructor Documentation

template<typename Algo, typename Base, typename FWTraits = FWInterfaceTraits<>>
opdet::factory::FWInterfacedBase< Algo, Base, FWTraits >::FWInterfacedBase ( fhicl::ParameterSet const &  pset)
inlineprotected

Definition at line 402 of file OpRecoFactoryStuff.h.

403  : fAlgo{ std::make_unique<RealAlgo_t>(pset) } {}
std::unique_ptr< RealAlgo_t > fAlgo
Instance of RealAlgo_t.

Member Function Documentation

template<typename Algo, typename Base, typename FWTraits = FWInterfaceTraits<>>
virtual RealAlgo_t* opdet::factory::FWInterfacedBase< Algo, Base, FWTraits >::getAlgo ( ) const
inlineoverrideprotectedvirtual

Returns the stored algorithm.

Implements opdet::factory::FWInterfacedIF< Base, FWTraits >.

Definition at line 406 of file OpRecoFactoryStuff.h.

406 { return fAlgo.get(); }
std::unique_ptr< RealAlgo_t > fAlgo
Instance of RealAlgo_t.

Member Data Documentation

template<typename Algo, typename Base, typename FWTraits = FWInterfaceTraits<>>
std::unique_ptr<RealAlgo_t> opdet::factory::FWInterfacedBase< Algo, Base, FWTraits >::fAlgo
private

Instance of RealAlgo_t.

Definition at line 410 of file OpRecoFactoryStuff.h.


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