LSST Applications 24.1.5,g02d81e74bb+fa3a7a026e,g180d380827+a53a32eff8,g2079a07aa2+86d27d4dc4,g2305ad1205+c0501b3732,g295015adf3+7d3e92f0ec,g2bbee38e9b+0e5473021a,g337abbeb29+0e5473021a,g33d1c0ed96+0e5473021a,g3a166c0a6a+0e5473021a,g3ddfee87b4+5dd1654d75,g48712c4677+3bf1020dcb,g487adcacf7+065c13d9cf,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+d7ac436cfb,g5a732f18d5+53520f316c,g64a986408d+fa3a7a026e,g858d7b2824+fa3a7a026e,g8a8a8dda67+585e252eca,g99cad8db69+a5a909b84f,g9ddcbc5298+9a081db1e4,ga1e77700b3+15fc3df1f7,ga8c6da7877+4cf350ccb2,gb0e22166c9+60f28cb32d,gba4ed39666+c2a2e4ac27,gbb8dafda3b+f991a0b59f,gc120e1dc64+9ccbfdb8be,gc28159a63d+0e5473021a,gcf0d15dbbd+5dd1654d75,gd96a1ce819+42fd0ee607,gdaeeff99f8+f9a426f77a,ge6526c86ff+0d71447b4b,ge79ae78c31+0e5473021a,gee10cc3b42+585e252eca,gff1a9f87cc+fa3a7a026e
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lsst::afw::table::SlotSuite Struct Reference

An aggregate containing all of the current slots used in SourceTable. More...

#include <slots.h>

Public Member Functions

void handleAliasChange (std::string const &alias, Schema const &schema)
 Handle a callback from an AliasMap informing the table that an alias has changed.
 
 SlotSuite (Schema const &schema)
 Initialize the slots.
 

Public Attributes

FluxSlotDefinition defPsfFlux
 
FluxSlotDefinition defApFlux
 
FluxSlotDefinition defGaussianFlux
 
FluxSlotDefinition defModelFlux
 
FluxSlotDefinition defCalibFlux
 
CentroidSlotDefinition defCentroid
 
ShapeSlotDefinition defShape
 

Detailed Description

An aggregate containing all of the current slots used in SourceTable.

This is essentially for internal use by SourceTable only; it is defined here to keep the source code for the slot mechanism in one place as much as possible.

Definition at line 219 of file slots.h.

Constructor & Destructor Documentation

◆ SlotSuite()

lsst::afw::table::SlotSuite::SlotSuite ( Schema const & schema)
explicit

Initialize the slots.

Definition at line 126 of file slots.cc.

127 : defPsfFlux("PsfFlux"),
128 defApFlux("ApFlux"),
129 defGaussianFlux("GaussianFlux"),
130 defModelFlux("ModelFlux"),
131 defCalibFlux("CalibFlux"),
132 defCentroid("Centroid"),
133 defShape("Shape") {
134 defPsfFlux.setKeys("", schema);
135 defApFlux.setKeys("", schema);
136 defGaussianFlux.setKeys("", schema);
137 defModelFlux.setKeys("", schema);
138 defCalibFlux.setKeys("", schema);
139 defCentroid.setKeys("", schema);
140 defShape.setKeys("", schema);
141}
void setKeys(std::string const &alias, Schema const &schema)
Update the cached Keys following an change of aliases in the given Schema.
Definition slots.cc:64
void setKeys(std::string const &alias, Schema const &schema)
Update the cached Keys following an change of aliases in the given Schema.
Definition slots.cc:32
void setKeys(std::string const &alias, Schema const &schema)
Update the cached Keys following an change of aliases in the given Schema.
Definition slots.cc:96
CentroidSlotDefinition defCentroid
Definition slots.h:225
FluxSlotDefinition defModelFlux
Definition slots.h:223
FluxSlotDefinition defCalibFlux
Definition slots.h:224
FluxSlotDefinition defApFlux
Definition slots.h:221
FluxSlotDefinition defPsfFlux
Definition slots.h:220
ShapeSlotDefinition defShape
Definition slots.h:226
FluxSlotDefinition defGaussianFlux
Definition slots.h:222

Member Function Documentation

◆ handleAliasChange()

void lsst::afw::table::SlotSuite::handleAliasChange ( std::string const & alias,
Schema const & schema )

Handle a callback from an AliasMap informing the table that an alias has changed.

Definition at line 116 of file slots.cc.

116 {
117 defPsfFlux.setKeys(alias, schema);
118 defApFlux.setKeys(alias, schema);
119 defGaussianFlux.setKeys(alias, schema);
120 defModelFlux.setKeys(alias, schema);
121 defCalibFlux.setKeys(alias, schema);
122 defCentroid.setKeys(alias, schema);
123 defShape.setKeys(alias, schema);
124}

Member Data Documentation

◆ defApFlux

FluxSlotDefinition lsst::afw::table::SlotSuite::defApFlux

Definition at line 221 of file slots.h.

◆ defCalibFlux

FluxSlotDefinition lsst::afw::table::SlotSuite::defCalibFlux

Definition at line 224 of file slots.h.

◆ defCentroid

CentroidSlotDefinition lsst::afw::table::SlotSuite::defCentroid

Definition at line 225 of file slots.h.

◆ defGaussianFlux

FluxSlotDefinition lsst::afw::table::SlotSuite::defGaussianFlux

Definition at line 222 of file slots.h.

◆ defModelFlux

FluxSlotDefinition lsst::afw::table::SlotSuite::defModelFlux

Definition at line 223 of file slots.h.

◆ defPsfFlux

FluxSlotDefinition lsst::afw::table::SlotSuite::defPsfFlux

Definition at line 220 of file slots.h.

◆ defShape

ShapeSlotDefinition lsst::afw::table::SlotSuite::defShape

Definition at line 226 of file slots.h.


The documentation for this struct was generated from the following files: