lsst.afw  16.0-12-gf08c31002
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  virtual ~PsfFormatter();
26 
27  PsfFormatter(PsfFormatter const&);
31 
35 
39 
40  virtual void update(lsst::daf::base::Persistable* persistable,
43 
51  template <class Archive>
52  static void delegateSerialize(Archive& ar, unsigned int const version,
53  lsst::daf::base::Persistable* persistable);
54 
55 private:
60 
62 
69 
74  static lsst::daf::persistence::FormatterRegistration doubleGaussianPsfRegistration;
75  static lsst::daf::persistence::FormatterRegistration pcaPsfRegistration;
76 };
77 } // namespace detection
78 } // namespace afw
79 } // namespace lsst
80 
81 #endif
PsfFormatter & operator=(PsfFormatter const &)
static void delegateSerialize(Archive &ar, unsigned int const version, lsst::daf::base::Persistable *persistable)
Serialize a Psf to a Boost archive.
PsfFormatter(PsfFormatter const &)
virtual lsst::daf::base::Persistable * read(std::shared_ptr< lsst::daf::persistence::FormatterStorage > storage, std::shared_ptr< lsst::daf::base::PropertySet > additionalData)
Definition: PsfFormatter.cc:75
virtual ~PsfFormatter()
Minimal destructor.
A base class for image defects.
virtual void update(lsst::daf::base::Persistable *persistable, std::shared_ptr< lsst::daf::persistence::FormatterStorage > storage, std::shared_ptr< lsst::daf::base::PropertySet > additionalData)
Definition: PsfFormatter.cc:98
virtual void write(lsst::daf::base::Persistable const *persistable, std::shared_ptr< lsst::daf::persistence::FormatterStorage > storage, std::shared_ptr< lsst::daf::base::PropertySet > additionalData)
Definition: PsfFormatter.cc:49
Formatter for persistence of Psf instances.
Definition: PsfFormatter.h:21