LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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
lsst::pex::policy::Policy::Ptr _policy
Definition: PsfFormatter.h:52
boost::shared_ptr< Formatter > Ptr
Definition: Formatter.h:81
static void delegateSerialize(Archive &ar, unsigned int const version, lsst::daf::base::Persistable *persistable)
boost::shared_ptr< PropertySet > Ptr
Definition: PropertySet.h:90
boost::shared_ptr< Policy > Ptr
Definition: Policy.h:172
Interface for Storage abstract base class.
Construct a static instance of this helper class to register a Formatter subclass in the FormatterReg...
Definition: Formatter.h:138
PsfFormatter(lsst::pex::policy::Policy::Ptr policy)
Definition: PsfFormatter.cc:52
virtual lsst::daf::base::Persistable * read(lsst::daf::persistence::Storage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)
Definition: PsfFormatter.cc:88
Interface for Formatter abstract base class.
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
virtual void update(lsst::daf::base::Persistable *persistable, lsst::daf::persistence::Storage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)
static lsst::daf::persistence::Formatter::Ptr createInstance(lsst::pex::policy::Policy::Ptr policy)
static lsst::daf::persistence::FormatterRegistration registration
Definition: PsfFormatter.h:57
Abstract base class for all formatters.
Definition: Formatter.h:79
static lsst::daf::persistence::FormatterRegistration doubleGaussianPsfRegistration
Definition: PsfFormatter.h:58
Interface for Persistable base class.
Formatter for persistence of Psf instances.
Definition: PsfFormatter.h:30
boost::shared_ptr< Storage > Ptr
Definition: Storage.h:62
Base class for all persistable classes.
Definition: Persistable.h:74
static lsst::daf::persistence::FormatterRegistration pcaPsfRegistration
Definition: PsfFormatter.h:59