Mantid
|
PeakShapeFactory : Factory for creating peak shapes. More...
#include <PeakShapeFactory.h>
Public Member Functions | |
virtual Mantid::Geometry::PeakShape * | create (const std::string &source) const =0 |
Make the product. More... | |
virtual void | setSuccessor (std::shared_ptr< const PeakShapeFactory > successorFactory)=0 |
Set the successor factory. More... | |
virtual | ~PeakShapeFactory ()=default |
Destructor. More... | |
PeakShapeFactory : Factory for creating peak shapes.
Definition at line 22 of file PeakShapeFactory.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Make the product.
Implemented in Mantid::DataObjects::PeakNoShapeFactory, Mantid::DataObjects::PeakShapeEllipsoidFactory, and Mantid::DataObjects::PeakShapeSphericalFactory.
|
pure virtual |
Set the successor factory.
create will be called on that if this instance is not suitable.
Implemented in Mantid::DataObjects::PeakNoShapeFactory, and Mantid::DataObjects::PeakShapeEllipsoidFactory.