|
Mantid
|
PeakShapeEllipsoidFactory : Create ellipsoid peak shapes. More...
#include <PeakShapeEllipsoidFactory.h>
Public Member Functions | |
| Mantid::Geometry::PeakShape * | create (const std::string &source) const override |
| Create the PeakShape. More... | |
| void | setSuccessor (std::shared_ptr< const PeakShapeFactory > successorFactory) override |
| Set successor. More... | |
Public Member Functions inherited from Mantid::DataObjects::PeakShapeFactory | |
| 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... | |
Private Attributes | |
| PeakShapeFactory_const_sptr | m_successor |
| Successor factory. More... | |
PeakShapeEllipsoidFactory : Create ellipsoid peak shapes.
Definition at line 16 of file PeakShapeEllipsoidFactory.h.
|
overridevirtual |
Create the PeakShape.
| source | : source JSON |
Implements Mantid::DataObjects::PeakShapeFactory.
Definition at line 24 of file PeakShapeEllipsoidFactory.cpp.
References Mantid::DataObjects::PeakShapeEllipsoid::ellipsoidShapeName(), and m_successor.
|
overridevirtual |
Set successor.
| successorFactory | : successor |
Implements Mantid::DataObjects::PeakShapeFactory.
Definition at line 76 of file PeakShapeEllipsoidFactory.cpp.
References m_successor.
|
private |
Successor factory.
Definition at line 25 of file PeakShapeEllipsoidFactory.h.
Referenced by create(), and setSuccessor().