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
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
home
lsstsw
stack
Linux64
afw
11.0-2-g04d2804
include
lsst
afw
detection
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
21
#include "
lsst/daf/base/Persistable.h
"
22
#include "
lsst/daf/persistence/Formatter.h
"
23
#include "
lsst/daf/persistence/Storage.h
"
24
#include "
lsst/pex/policy/Policy.h
"
25
26
namespace
lsst {
27
namespace
afw {
28
namespace
detection {
29
30
class
PsfFormatter
:
public
lsst::daf::persistence::Formatter
{
31
public
:
32
virtual
~PsfFormatter
(
void
);
33
34
virtual
void
write
(
lsst::daf::base::Persistable
const
* persistable,
35
lsst::daf::persistence::Storage::Ptr
storage,
36
lsst::daf::base::PropertySet::Ptr
additionalData);
37
38
virtual
lsst::daf::base::Persistable
*
read
(
lsst::daf::persistence::Storage::Ptr
storage,
39
lsst::daf::base::PropertySet::Ptr
additionalData);
40
41
virtual
void
update
(
lsst::daf::base::Persistable
* persistable,
42
lsst::daf::persistence::Storage::Ptr
storage,
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
:
50
explicit
PsfFormatter
(
lsst::pex::policy::Policy::Ptr
policy);
51
52
lsst::pex::policy::Policy::Ptr
_policy
;
53
54
static
lsst::daf::persistence::Formatter::Ptr
55
createInstance
(
lsst::pex::policy::Policy::Ptr
policy);
56
57
static
lsst::daf::persistence::FormatterRegistration
registration
;
58
static
lsst::daf::persistence::FormatterRegistration
doubleGaussianPsfRegistration
;
59
static
lsst::daf::persistence::FormatterRegistration
pcaPsfRegistration
;
60
};
61
62
}}}
63
64
#endif
lsst::afw::detection::PsfFormatter::_policy
lsst::pex::policy::Policy::Ptr _policy
Definition:
PsfFormatter.h:52
lsst::daf::persistence::Formatter::Ptr
boost::shared_ptr< Formatter > Ptr
Definition:
Formatter.h:81
lsst::afw::detection::PsfFormatter::delegateSerialize
static void delegateSerialize(Archive &ar, unsigned int const version, lsst::daf::base::Persistable *persistable)
Definition:
PsfFormatter.cc:121
lsst::daf::base::PropertySet::Ptr
boost::shared_ptr< PropertySet > Ptr
Definition:
PropertySet.h:90
lsst::pex::policy::Policy::Ptr
boost::shared_ptr< Policy > Ptr
Definition:
Policy.h:172
Storage.h
Interface for Storage abstract base class.
lsst::daf::persistence::FormatterRegistration
Construct a static instance of this helper class to register a Formatter subclass in the FormatterReg...
Definition:
Formatter.h:138
lsst::afw::detection::PsfFormatter::PsfFormatter
PsfFormatter(lsst::pex::policy::Policy::Ptr policy)
Definition:
PsfFormatter.cc:52
lsst::afw::detection::PsfFormatter::read
virtual lsst::daf::base::Persistable * read(lsst::daf::persistence::Storage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)
Definition:
PsfFormatter.cc:88
Formatter.h
Interface for Formatter abstract base class.
lsst::afw::detection::PsfFormatter::write
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
lsst::afw::detection::PsfFormatter::update
virtual void update(lsst::daf::base::Persistable *persistable, lsst::daf::persistence::Storage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)
Definition:
PsfFormatter.cc:111
lsst::afw::detection::PsfFormatter::createInstance
static lsst::daf::persistence::Formatter::Ptr createInstance(lsst::pex::policy::Policy::Ptr policy)
Definition:
PsfFormatter.cc:143
lsst::afw::detection::PsfFormatter::~PsfFormatter
virtual ~PsfFormatter(void)
Definition:
PsfFormatter.cc:58
lsst::afw::detection::PsfFormatter::registration
static lsst::daf::persistence::FormatterRegistration registration
Definition:
PsfFormatter.h:57
lsst::daf::persistence::Formatter
Abstract base class for all formatters.
Definition:
Formatter.h:79
lsst::afw::detection::PsfFormatter::doubleGaussianPsfRegistration
static lsst::daf::persistence::FormatterRegistration doubleGaussianPsfRegistration
Definition:
PsfFormatter.h:58
Persistable.h
Interface for Persistable base class.
lsst::afw::detection::PsfFormatter
Formatter for persistence of Psf instances.
Definition:
PsfFormatter.h:30
lsst::daf::persistence::Storage::Ptr
boost::shared_ptr< Storage > Ptr
Definition:
Storage.h:62
Policy.h
lsst::daf::base::Persistable
Base class for all persistable classes.
Definition:
Persistable.h:74
lsst::afw::detection::PsfFormatter::pcaPsfRegistration
static lsst::daf::persistence::FormatterRegistration pcaPsfRegistration
Definition:
PsfFormatter.h:59
Generated on Thu Sep 24 2015 02:29:14 for LSSTApplications by
1.8.5