lsst.afw  16.0-35-g34c7dfe62
PsfFormatter.h
Go to the documentation of this file.
1 // -*- LSST-C++ -*-
2 #if !defined(LSST_AFW_DETECTION_PSFFORMATTER_H)
3 #define LSST_AFW_DETECTION_PSFFORMATTER_H
4 
5 /*
6  * Interface for PsfFormatter class
7  */
8 
12 #include "lsst/pex/policy/Policy.h"
13 
14 namespace lsst {
15 namespace afw {
16 namespace detection {
17 
22 public:
25  ~PsfFormatter() override;
26 
27  PsfFormatter(PsfFormatter const&);
31 
34  std::shared_ptr<lsst::daf::base::PropertySet> additionalData) override;
35 
37  std::shared_ptr<lsst::daf::base::PropertySet> additionalData) override;
38 
39  void update(lsst::daf::base::Persistable* persistable,
41  std::shared_ptr<lsst::daf::base::PropertySet> additionalData) override;
42 
50  template <class Archive>
51  static void delegateSerialize(Archive& ar, unsigned int const version,
52  lsst::daf::base::Persistable* persistable);
53 
54 private:
59 
61 
68 
73  static lsst::daf::persistence::FormatterRegistration doubleGaussianPsfRegistration;
74  static lsst::daf::persistence::FormatterRegistration pcaPsfRegistration;
75 };
76 } // namespace detection
77 } // namespace afw
78 } // namespace lsst
79 
80 #endif
~PsfFormatter() override
Minimal destructor.
PsfFormatter & operator=(PsfFormatter const &)
lsst::daf::base::Persistable * read(std::shared_ptr< lsst::daf::persistence::FormatterStorage > storage, std::shared_ptr< lsst::daf::base::PropertySet > additionalData) override
Definition: PsfFormatter.cc:75
static void delegateSerialize(Archive &ar, unsigned int const version, lsst::daf::base::Persistable *persistable)
Serialize a Psf to a Boost archive.
PsfFormatter(PsfFormatter const &)
void update(lsst::daf::base::Persistable *persistable, std::shared_ptr< lsst::daf::persistence::FormatterStorage > storage, std::shared_ptr< lsst::daf::base::PropertySet > additionalData) override
Definition: PsfFormatter.cc:98
void write(lsst::daf::base::Persistable const *persistable, std::shared_ptr< lsst::daf::persistence::FormatterStorage > storage, std::shared_ptr< lsst::daf::base::PropertySet > additionalData) override
Definition: PsfFormatter.cc:49
A base class for image defects.
Formatter for persistence of Psf instances.
Definition: PsfFormatter.h:21