10#include <tracking/trackFindingCDC/filters/base/FilterFactory.fwd.h>
21 namespace TrackFindingCDC {
24 template<
class AFilter>
53 virtual std::unique_ptr<AFilter>
create(
const std::string& filterName)
const;
Factory that can create appropriate filter instances from a name.
virtual std::string createFiltersParametersDescription() const
Create a string with a description mentioning the parameters of the chooseable filter.
virtual std::string getIdentifier() const =0
Getter for a short identifier of the factory. Currently unused.
std::string m_defaultFilterName
Legacy - Default filter name suggested by this factory.
virtual std::unique_ptr< AFilter > create(const std::string &filterName) const
Create a filter with the given name, does not set filter specific parameters.
virtual ~FilterFactory()
Make destructor of interface class virtual.
const std::string & getDefaultFilterName() const
Legacy - Return the default filter suggested by the factory.
virtual std::map< std::string, std::string > getValidFilterNamesAndDescriptions() const =0
Getter for the valid filter names and a description for each.
virtual std::string createFiltersNameDescription() const
Create a string with a description mentioning the names of the chooseable filter.
AFilter CreatedFilter
Type of the filter that this factory creates.
virtual std::string getFilterPurpose() const =0
Getter for a descriptive purpose of the filter.
Abstract base class for different kinds of events.