LSSTApplications  16.0+42,16.0-1-gce273f5+8,16.0-10-g230e10e+1,16.0-11-g9fe0e56+17,16.0-11-gce733cf+17,16.0-12-g5ad1ebf+9,16.0-12-gc85596e+2,16.0-13-gde155d7+2,16.0-14-g9428de4d,16.0-14-gc1cf4a94+2,16.0-15-g8e16a51+14,16.0-2-g0febb12+7,16.0-2-g839ba83+32,16.0-2-g9d5294e+22,16.0-2-gab3db49+7,16.0-2-gf41ba6b+6,16.0-2-gf4e7cdd+5,16.0-3-g6923fb6+15,16.0-3-g8e51203+2,16.0-3-g9645794+6,16.0-3-gcfd6c53+20,16.0-35-g34c7dfe62+1,16.0-4-g03cf288+11,16.0-4-g32d12de,16.0-4-g5f3a788+7,16.0-4-g7690030+30,16.0-4-g8a0f11a+16,16.0-4-ga5d8928+16,16.0-5-g0da18be+7,16.0-5-g4940a70,16.0-5-g563880a+2,16.0-5-g7742071+2,16.0-5-gb3f8a4b+26,16.0-6-g3610b4f+5,16.0-6-gf0acd13+14,16.0-8-g4dec96c+7,16.0-8-gc315727+16,16.0-9-g1de645c+7,16.0-9-gcc4efb7+6,w.2018.36
LSSTDataManagementBasePackage
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
Interface for FormatterStorage abstract base class.
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
Construct a static instance of this helper class to register a Formatter subclass in the FormatterReg...
Definition: Formatter.h:138
Interface for Formatter abstract base class.
A base class for image defects.
Definition: cameraGeom.dox:3
Abstract base class for all formatters.
Definition: Formatter.h:79
Interface for Persistable base class.
Formatter for persistence of Psf instances.
Definition: PsfFormatter.h:21
Base class for all persistable classes.
Definition: Persistable.h:73