LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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 
24 #include "lsst/pex/policy/Policy.h"
25 
26 namespace lsst {
27 namespace afw {
28 namespace detection {
29 
31 public:
32  virtual ~PsfFormatter(void);
33 
34  virtual void write(lsst::daf::base::Persistable const* persistable,
36  lsst::daf::base::PropertySet::Ptr additionalData);
37 
39  lsst::daf::base::PropertySet::Ptr additionalData);
40 
41  virtual void update(lsst::daf::base::Persistable* persistable,
43  lsst::daf::base::PropertySet::Ptr additionalData);
44 
45  template <class Archive>
46  static void delegateSerialize(Archive& ar, unsigned int const version,
47  lsst::daf::base::Persistable* persistable);
48 
49 private:
51 
53 
56 
60 };
61 
62 }}}
63 
64 #endif
static lsst::daf::persistence::FormatterRegistration doubleGaussianPsfRegistration
Definition: PsfFormatter.h:58
boost::shared_ptr< Formatter > Ptr
Definition: Formatter.h:81
boost::shared_ptr< PropertySet > Ptr
Definition: PropertySet.h:90
virtual void write(lsst::daf::base::Persistable const *persistable, lsst::daf::persistence::Storage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)
Definition: PsfFormatter.cc:60
Interface for Storage abstract base class.
boost::shared_ptr< Policy > Ptr
Definition: Policy.h:172
lsst::pex::policy::Policy::Ptr _policy
Definition: PsfFormatter.h:52
Construct a static instance of this helper class to register a Formatter subclass in the FormatterReg...
Definition: Formatter.h:138
virtual void update(lsst::daf::base::Persistable *persistable, lsst::daf::persistence::Storage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)
Interface for Formatter abstract base class.
static lsst::daf::persistence::FormatterRegistration pcaPsfRegistration
Definition: PsfFormatter.h:59
Abstract base class for all formatters.
Definition: Formatter.h:79
static lsst::daf::persistence::FormatterRegistration registration
Definition: PsfFormatter.h:57
Interface for Persistable base class.
static lsst::daf::persistence::Formatter::Ptr createInstance(lsst::pex::policy::Policy::Ptr policy)
Formatter for persistence of Psf instances.
Definition: PsfFormatter.h:30
boost::shared_ptr< Storage > Ptr
Definition: Storage.h:62
static void delegateSerialize(Archive &ar, unsigned int const version, lsst::daf::base::Persistable *persistable)
Base class for all persistable classes.
Definition: Persistable.h:74
virtual lsst::daf::base::Persistable * read(lsst::daf::persistence::Storage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)
Definition: PsfFormatter.cc:88
PsfFormatter(lsst::pex::policy::Policy::Ptr policy)
Definition: PsfFormatter.cc:52