WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::IFactory Class Referenceabstract

#include <IFactory.h>

Inheritance diagram for WireCell::IFactory:
Collaboration diagram for WireCell::IFactory:

Public Member Functions

virtual ~IFactory ()
 
virtual Interface::pointer create ()=0
 Create an instance of what we know how to create. More...
 
virtual Interface::pointer find (const std::string &name)=0
 Return existing instance or nullptr if not found. More...
 
- Public Member Functions inherited from WireCell::IComponent< IFactory >
virtual ~IComponent ()
 
- Public Member Functions inherited from WireCell::Interface
virtual ~Interface ()
 

Additional Inherited Members

- Public Types inherited from WireCell::IComponent< IFactory >
typedef std::shared_ptr< IFactorypointer
 Access subclass facet by pointer. More...
 
typedef std::vector< pointervector
 Vector of shared pointers. More...
 
- Public Types inherited from WireCell::Interface
typedef std::shared_ptr< Interfacepointer
 

Detailed Description

Definition at line 8 of file IFactory.h.

Constructor & Destructor Documentation

◆ ~IFactory()

WireCell::IFactory::~IFactory ( )
virtual

Definition at line 7 of file WireCellUtil.cxx.

Member Function Documentation

◆ create()

virtual Interface::pointer WireCell::IFactory::create ( )
pure virtual

Create an instance of what we know how to create.

Implemented in WireCell::NamedFactory< Type >.

◆ find()

virtual Interface::pointer WireCell::IFactory::find ( const std::string &  name)
pure virtual

Return existing instance or nullptr if not found.

Implemented in WireCell::NamedFactory< Type >, and WireCell::INamedFactory.


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