Belle II Software
release-08-01-10
|
Factory that can create apropriate filter instances from a name. More...
#include <FilterFactory.dcl.h>
Public Types | |
using | CreatedFilter = AFilter |
Type of the filter that this factory creates. | |
Public Member Functions | |
FilterFactory (const std::string &defaultFilterName="") | |
Fill the default filter name values. | |
virtual | ~FilterFactory () |
Make destructor of interface class virtual. | |
virtual std::string | getIdentifier () const =0 |
Getter for a short identifier of the factory. Currently unused. | |
virtual std::string | getFilterPurpose () const =0 |
Getter for a descriptive purpose of the filter. | |
virtual std::map< std::string, std::string > | getValidFilterNamesAndDescriptions () const =0 |
Getter for the valid filter names and a description for each. | |
virtual std::unique_ptr< AFilter > | create (const std::string &filterName) const |
Create a filter with the given name, does not set filter specific parameters. More... | |
virtual std::string | createFiltersNameDescription () const |
Create a string with a description mentioning the names of the chooseable filter. | |
virtual std::string | createFiltersParametersDescription () const |
Create a string with a description mentioning the parameters of the chooseable filter. | |
const std::string & | getDefaultFilterName () const |
Legacy - Return the default filter suggested by the factory. | |
Private Attributes | |
std::string | m_defaultFilterName |
Legacy - Default filter name suggested by this factory. | |
Factory that can create apropriate filter instances from a name.
Definition at line 25 of file FilterFactory.dcl.h.
|
virtual |
Create a filter with the given name, does not set filter specific parameters.
Always emits an error and returns nullptr
Reimplemented in TrackletFilterFactory, RelationFilterFactory, PathFilterFactory, WireHitFilterFactory, TrackQualityFilterFactory, TrackFilterFactory, StereoHitFilterFactory, SegmentTripleRelationFilterFactory, SegmentTripleFilterFactory, SegmentTrackFilterFactory, SegmentRelationFilterFactory, SegmentFilterFactory, FacetRelationFilterFactory, ClusterFilterFactory, AxialSegmentPairFilterFactory, SVDStateFilterFactory, SVDResultFilterFactory, SVDPairFilterFactory, PXDStateFilterFactory, PXDResultFilterFactory, PXDPairFilterFactory, CDCStateFilterFactory, CDCPathFilterFactory, CDCPathPairFilterFactory, TrackRelationFilterFactory, SegmentPairRelationFilterFactory, SegmentPairFilterFactory, and FacetFilterFactory.
Definition at line 44 of file FilterFactory.icc.h.