00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef CalHolographyRow_CLASS
00035 #define CalHolographyRow_CLASS
00036
00037 #include <vector>
00038 #include <string>
00039 #include <set>
00040 using std::vector;
00041 using std::string;
00042 using std::set;
00043
00044 #ifndef WITHOUT_ACS
00045 #include <asdmIDLC.h>
00046 using asdmIDL::CalHolographyRowIDL;
00047 #endif
00048
00049 #include <Angle.h>
00050 #include <AngularRate.h>
00051 #include <ArrayTime.h>
00052 #include <ArrayTimeInterval.h>
00053 #include <Complex.h>
00054 #include <Entity.h>
00055 #include <EntityId.h>
00056 #include <EntityRef.h>
00057 #include <Flux.h>
00058 #include <Frequency.h>
00059 #include <Humidity.h>
00060 #include <Interval.h>
00061 #include <Length.h>
00062 #include <Pressure.h>
00063 #include <Speed.h>
00064 #include <Tag.h>
00065 #include <Temperature.h>
00066 #include <ConversionException.h>
00067 #include <NoSuchRow.h>
00068 #include <IllegalAccessException.h>
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081 #include "CAntennaMake.h"
00082 using namespace AntennaMakeMod;
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114 #include "CPolarizationType.h"
00115 using namespace PolarizationTypeMod;
00116
00117
00118
00119 #include "CReceiverBand.h"
00120 using namespace ReceiverBandMod;
00121
00122
00123
00124
00125
00126
00127
00128
00129 using asdm::Angle;
00130 using asdm::AngularRate;
00131 using asdm::ArrayTime;
00132 using asdm::Complex;
00133 using asdm::Entity;
00134 using asdm::EntityId;
00135 using asdm::EntityRef;
00136 using asdm::Flux;
00137 using asdm::Frequency;
00138 using asdm::Humidity;
00139 using asdm::Interval;
00140 using asdm::Length;
00141 using asdm::Pressure;
00142 using asdm::Speed;
00143 using asdm::Tag;
00144 using asdm::Temperature;
00145 using asdm::ConversionException;
00146 using asdm::NoSuchRow;
00147 using asdm::IllegalAccessException;
00148
00149
00150
00151
00152
00153 namespace asdm {
00154
00155
00156
00157
00158
00159 class CalReductionRow;
00160
00161
00162 class CalDataRow;
00163
00164
00171 class CalHolographyRow {
00172 friend class asdm::CalHolographyTable;
00173
00174 public:
00175
00176 virtual ~CalHolographyRow();
00177
00181 CalHolographyTable &getTable() const;
00182
00183 #ifndef WITHOUT_ACS
00184
00188 CalHolographyRowIDL *toIDL() const;
00189 #endif
00190
00191 #ifndef WITHOUT_ACS
00192
00196 void setFromIDL (CalHolographyRowIDL x) throw(ConversionException);
00197 #endif
00198
00203 string toXML() const;
00204
00210 void setFromXML (string rowDoc) throw(ConversionException);
00211
00213
00215
00216
00217
00218
00219
00220
00221
00222
00227 string getAntennaName() const;
00228
00229
00230
00231
00239 void setAntennaName (string antennaName) throw(IllegalAccessException);
00240
00241
00242
00243
00244
00245
00246
00247
00248
00249
00250
00251
00252
00257 AntennaMakeMod::AntennaMake getAntennaMake() const;
00258
00259
00260
00261
00269 void setAntennaMake (AntennaMakeMod::AntennaMake antennaMake) throw(IllegalAccessException);
00270
00271
00272
00273
00274
00275
00276
00277
00278
00279
00280
00281
00282
00287 int getNumScrew() const;
00288
00289
00290
00291
00299 void setNumScrew (int numScrew) throw(IllegalAccessException);
00300
00301
00302
00303
00304
00305
00306
00307
00308
00309
00310
00311
00312
00317 int getNumReceptor() const;
00318
00319
00320
00321
00329 void setNumReceptor (int numReceptor) throw(IllegalAccessException);
00330
00331
00332
00333
00334
00335
00336
00337
00338
00339
00340
00341
00342
00347 ArrayTime getStartValidTime() const;
00348
00349
00350
00351
00359 void setStartValidTime (ArrayTime startValidTime) throw(IllegalAccessException);
00360
00361
00362
00363
00364
00365
00366
00367
00368
00369
00370
00371
00372
00377 ArrayTime getEndValidTime() const;
00378
00379
00380
00381
00389 void setEndValidTime (ArrayTime endValidTime) throw(IllegalAccessException);
00390
00391
00392
00393
00394
00395
00396
00397
00398
00399
00400
00401
00402
00407 vector<Length > getFocusPosition() const;
00408
00409
00410
00411
00419 void setFocusPosition (vector<Length > focusPosition) throw(IllegalAccessException);
00420
00421
00422
00423
00424
00425
00426
00427
00428
00429
00430
00431
00432
00437 Length getRawRms() const;
00438
00439
00440
00441
00449 void setRawRms (Length rawRms) throw(IllegalAccessException);
00450
00451
00452
00453
00454
00455
00456
00457
00458
00459
00460
00461
00462
00467 Length getWeightedRms() const;
00468
00469
00470
00471
00479 void setWeightedRms (Length weightedRms) throw(IllegalAccessException);
00480
00481
00482
00483
00484
00485
00486
00487
00488
00489
00490
00491
00492
00497 vector<string > getScrewName() const;
00498
00499
00500
00501
00509 void setScrewName (vector<string > screwName) throw(IllegalAccessException);
00510
00511
00512
00513
00514
00515
00516
00517
00518
00519
00520
00521
00522
00527 vector<Length > getScrewMotion() const;
00528
00529
00530
00531
00539 void setScrewMotion (vector<Length > screwMotion) throw(IllegalAccessException);
00540
00541
00542
00543
00544
00545
00546
00547
00548
00549
00550
00551
00552
00557 vector<Length > getScrewMotionError() const;
00558
00559
00560
00561
00569 void setScrewMotionError (vector<Length > screwMotionError) throw(IllegalAccessException);
00570
00571
00572
00573
00574
00575
00576
00577
00578
00579
00580
00581
00582
00587 int getPanelModes() const;
00588
00589
00590
00591
00599 void setPanelModes (int panelModes) throw(IllegalAccessException);
00600
00601
00602
00603
00604
00605
00606
00607
00608
00609
00610
00611
00612
00617 vector<Frequency > getFrequencyRange() const;
00618
00619
00620
00621
00629 void setFrequencyRange (vector<Frequency > frequencyRange) throw(IllegalAccessException);
00630
00631
00632
00633
00634
00635
00636
00637
00638
00639
00640
00641
00642
00647 EntityRef getBeamMapUID() const;
00648
00649
00650
00651
00659 void setBeamMapUID (EntityRef beamMapUID) throw(IllegalAccessException);
00660
00661
00662
00663
00664
00665
00666
00667
00668
00669
00670
00671
00672
00677 EntityRef getSurfaceMapUID() const;
00678
00679
00680
00681
00689 void setSurfaceMapUID (EntityRef surfaceMapUID) throw(IllegalAccessException);
00690
00691
00692
00693
00694
00695
00696
00697
00698
00699
00700
00701
00702
00707 vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const;
00708
00709
00710
00711
00719 void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes) throw(IllegalAccessException);
00720
00721
00722
00723
00724
00725
00726
00727
00728
00729
00730
00731
00732
00737 ReceiverBandMod::ReceiverBand getReceiverBand() const;
00738
00739
00740
00741
00749 void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand) throw(IllegalAccessException);
00750
00751
00752
00753
00754
00755
00756
00757
00758
00759
00760
00761
00762
00767 vector<Angle > getDirection() const;
00768
00769
00770
00771
00779 void setDirection (vector<Angle > direction) throw(IllegalAccessException);
00780
00781
00782
00783
00784
00785
00786
00787
00788
00789
00790
00791
00792
00797 Temperature getAmbientTemperature() const;
00798
00799
00800
00801
00809 void setAmbientTemperature (Temperature ambientTemperature) throw(IllegalAccessException);
00810
00811
00812
00813
00814
00815
00817
00819
00820
00821
00822
00823
00824
00825
00826
00831 Tag getCalDataId() const;
00832
00833
00834
00835
00843 void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00844
00845
00846
00847
00848
00849
00850
00851
00852
00853
00854
00855
00856
00861 Tag getCalReductionId() const;
00862
00863
00864
00865
00873 void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00874
00875
00876
00877
00878
00879
00881
00883
00884
00885
00886
00887
00894 CalReductionRow* getCalReductionUsingCalReductionId();
00895
00896
00897
00898
00899
00900
00901
00902
00909 CalDataRow* getCalDataUsingCalDataId();
00910
00911
00912
00913
00914
00915
00916
00921 bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, AntennaMakeMod::AntennaMake antennaMake, int numScrew, int numReceptor, ArrayTime startValidTime, ArrayTime endValidTime, vector<Length > focusPosition, Length rawRms, Length weightedRms, vector<string > screwName, vector<Length > screwMotion, vector<Length > screwMotionError, int panelModes, vector<Frequency > frequencyRange, EntityRef beamMapUID, EntityRef surfaceMapUID, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, ReceiverBandMod::ReceiverBand receiverBand, vector<Angle > direction, Temperature ambientTemperature);
00922
00923
00924
00925
00926 bool compareRequiredValue(AntennaMakeMod::AntennaMake antennaMake, int numScrew, int numReceptor, ArrayTime startValidTime, ArrayTime endValidTime, vector<Length > focusPosition, Length rawRms, Length weightedRms, vector<string > screwName, vector<Length > screwMotion, vector<Length > screwMotionError, int panelModes, vector<Frequency > frequencyRange, EntityRef beamMapUID, EntityRef surfaceMapUID, vector<PolarizationTypeMod::PolarizationType > polarizationTypes, ReceiverBandMod::ReceiverBand receiverBand, vector<Angle > direction, Temperature ambientTemperature);
00927
00928
00937 bool equalByRequiredValue(CalHolographyRow* x) ;
00938
00939 private:
00943 CalHolographyTable &table;
00947 bool hasBeenAdded;
00948
00949
00950 void isAdded();
00951
00952
00961 CalHolographyRow (CalHolographyTable &table);
00962
00980 CalHolographyRow (CalHolographyTable &table, CalHolographyRow &row);
00981
00983
00985
00986
00987
00988
00989
00990
00991 string antennaName;
00992
00993
00994
00995
00996
00997
00998
00999
01000
01001
01002 AntennaMakeMod::AntennaMake antennaMake;
01003
01004
01005
01006
01007
01008
01009
01010
01011
01012
01013 int numScrew;
01014
01015
01016
01017
01018
01019
01020
01021
01022
01023
01024 int numReceptor;
01025
01026
01027
01028
01029
01030
01031
01032
01033
01034
01035 ArrayTime startValidTime;
01036
01037
01038
01039
01040
01041
01042
01043
01044
01045
01046 ArrayTime endValidTime;
01047
01048
01049
01050
01051
01052
01053
01054
01055
01056
01057 vector<Length > focusPosition;
01058
01059
01060
01061
01062
01063
01064
01065
01066
01067
01068 Length rawRms;
01069
01070
01071
01072
01073
01074
01075
01076
01077
01078
01079 Length weightedRms;
01080
01081
01082
01083
01084
01085
01086
01087
01088
01089
01090 vector<string > screwName;
01091
01092
01093
01094
01095
01096
01097
01098
01099
01100
01101 vector<Length > screwMotion;
01102
01103
01104
01105
01106
01107
01108
01109
01110
01111
01112 vector<Length > screwMotionError;
01113
01114
01115
01116
01117
01118
01119
01120
01121
01122
01123 int panelModes;
01124
01125
01126
01127
01128
01129
01130
01131
01132
01133
01134 vector<Frequency > frequencyRange;
01135
01136
01137
01138
01139
01140
01141
01142
01143
01144
01145 EntityRef beamMapUID;
01146
01147
01148
01149
01150
01151
01152
01153
01154
01155
01156 EntityRef surfaceMapUID;
01157
01158
01159
01160
01161
01162
01163
01164
01165
01166
01167 vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
01168
01169
01170
01171
01172
01173
01174
01175
01176
01177
01178 ReceiverBandMod::ReceiverBand receiverBand;
01179
01180
01181
01182
01183
01184
01185
01186
01187
01188
01189 vector<Angle > direction;
01190
01191
01192
01193
01194
01195
01196
01197
01198
01199
01200 Temperature ambientTemperature;
01201
01202
01203
01204
01205
01207
01209
01210
01211
01212
01213
01214
01215 Tag calDataId;
01216
01217
01218
01219
01220
01221
01222
01223
01224
01225
01226 Tag calReductionId;
01227
01228
01229
01230
01231
01233
01235
01236
01237
01238
01239
01240
01241
01242
01243
01244
01245
01246
01247
01248
01249
01250
01251 };
01252
01253 }
01254
01255 #endif