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 CalDelayRow_CLASS
00035
#define CalDelayRow_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::CalDelayRowIDL;
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 "CBasebandName.h"
00082
using namespace BasebandNameMod;
00083
00084
00085
00086
00087
00088
00089
00090
#include "CReceiverBand.h"
00091
using namespace ReceiverBandMod;
00092
00093
00094
00095
#include "CPolarizationType.h"
00096
using namespace PolarizationTypeMod;
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
using asdm::Angle;
00114
using asdm::AngularRate;
00115
using asdm::ArrayTime;
00116
using asdm::Complex;
00117
using asdm::Entity;
00118
using asdm::EntityId;
00119
using asdm::EntityRef;
00120
using asdm::Flux;
00121
using asdm::Frequency;
00122
using asdm::Humidity;
00123
using asdm::Interval;
00124
using asdm::Length;
00125
using asdm::Pressure;
00126
using asdm::Speed;
00127
using asdm::Tag;
00128
using asdm::Temperature;
00129
using asdm::ConversionException;
00130
using asdm::NoSuchRow;
00131
using asdm::IllegalAccessException;
00132
00133
00134
00135
00136
00137
namespace asdm {
00138
00139
00140
00141
00142
00143
class CalReductionRow;
00144
00145
00146
class CalDataRow;
00147
00148
00155 class CalDelayRow {
00156
friend class asdm::CalDelayTable;
00157
00158
public:
00159
00160
virtual ~
CalDelayRow();
00161
00165
CalDelayTable &
getTable()
const;
00166
00167
#ifndef WITHOUT_ACS
00168
00172 CalDelayRowIDL *
toIDL()
const;
00173
#endif
00174
00175
#ifndef WITHOUT_ACS
00176
00180
void setFromIDL (CalDelayRowIDL x)
throw(
ConversionException);
00181
#endif
00182
00187 string
toXML()
const;
00188
00194
void setFromXML (string rowDoc)
throw(
ConversionException);
00195
00197
00199
00200
00201
00202
00203
00204
00205
00206
00211 string
getAntennaName()
const;
00212
00213
00214
00215
00225
void setAntennaName (string antennaName);
00226
00227
00228
00229
00230
00231
00232
00233
00234
00235
00236
00237
00238
00243 BasebandNameMod::BasebandName
getBasebandName()
const;
00244
00245
00246
00247
00257
void setBasebandName (BasebandNameMod::BasebandName basebandName);
00258
00259
00260
00261
00262
00263
00264
00265
00266
00267
00268
00269
00270
00275
int getNumReceptor()
const;
00276
00277
00278
00279
00287
void setNumReceptor (
int numReceptor);
00288
00289
00290
00291
00292
00293
00294
00295
00296
00297
00298
00299
00300
00305 string
getRefAntennaName()
const;
00306
00307
00308
00309
00317
void setRefAntennaName (string refAntennaName);
00318
00319
00320
00321
00322
00323
00324
00325
00326
00327
00328
00329
00330
00335 ReceiverBandMod::ReceiverBand
getReceiverBand()
const;
00336
00337
00338
00339
00347
void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand);
00348
00349
00350
00351
00352
00353
00354
00355
00356
00357
00358
00359
00360
00365 vector<PolarizationTypeMod::PolarizationType >
getPolarizationTypes()
const;
00366
00367
00368
00369
00377
void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes);
00378
00379
00380
00381
00382
00383
00384
00385
00386
00387
00388
00389
00390
00395
ArrayTime getStartValidTime()
const;
00396
00397
00398
00399
00407
void setStartValidTime (
ArrayTime startValidTime);
00408
00409
00410
00411
00412
00413
00414
00415
00416
00417
00418
00419
00420
00425
ArrayTime getEndValidTime()
const;
00426
00427
00428
00429
00437
void setEndValidTime (
ArrayTime endValidTime);
00438
00439
00440
00441
00442
00443
00444
00445
00446
00447
00448
00449
00450
00455 vector<double >
getDelayOffset()
const;
00456
00457
00458
00459
00467
void setDelayOffset (vector<double > delayOffset);
00468
00469
00470
00471
00472
00473
00474
00475
00476
00477
00478
00479
00480
00485 vector<double >
getDelayError()
const;
00486
00487
00488
00489
00497
void setDelayError (vector<double > delayError);
00498
00499
00500
00501
00502
00503
00504
00505
00506
00507
00508
00509
00510
00515
double getCrossDelayOffset()
const;
00516
00517
00518
00519
00527
void setCrossDelayOffset (
double crossDelayOffset);
00528
00529
00530
00531
00532
00533
00534
00535
00536
00537
00538
00539
00540
00545
double getCrossDelayOffsetError()
const;
00546
00547
00548
00549
00557
void setCrossDelayOffsetError (
double crossDelayOffsetError);
00558
00559
00560
00561
00562
00563
00565
00567
00568
00569
00570
00571
00572
00573
00574
00579
Tag getCalDataId()
const;
00580
00581
00582
00583
00593
void setCalDataId (
Tag calDataId);
00594
00595
00596
00597
00598
00599
00600
00601
00602
00603
00604
00605
00606
00611
Tag getCalReductionId()
const;
00612
00613
00614
00615
00625
void setCalReductionId (
Tag calReductionId);
00626
00627
00628
00629
00630
00631
00633
00635
00636
00637
00638
00639
00646
CalReductionRow*
getCalReductionUsingCalReductionId();
00647
00648
00649
00650
00651
00652
00653
00654
00661
CalDataRow*
getCalDataUsingCalDataId();
00662
00663
00664
00665
00666
00667
00668
00673
bool compareNoAutoInc(
Tag calDataId,
Tag calReductionId, string antennaName, BasebandNameMod::BasebandName basebandName,
int numReceptor, string refAntennaName, ReceiverBandMod::ReceiverBand receiverBand, vector<PolarizationTypeMod::PolarizationType > polarizationTypes,
ArrayTime startValidTime,
ArrayTime endValidTime, vector<double > delayOffset, vector<double > delayError,
double crossDelayOffset,
double crossDelayOffsetError);
00674
00675
00676
00677
00678
bool compareRequiredValue(
int numReceptor, string refAntennaName, ReceiverBandMod::ReceiverBand receiverBand, vector<PolarizationTypeMod::PolarizationType > polarizationTypes,
ArrayTime startValidTime,
ArrayTime endValidTime, vector<double > delayOffset, vector<double > delayError,
double crossDelayOffset,
double crossDelayOffsetError);
00679
00680
00689
bool equalByRequiredValue(
CalDelayRow* x) ;
00690
00691
private:
00695
CalDelayTable &table;
00699
bool hasBeenAdded;
00700
00701
00702
void isAdded();
00703
00704
00713
CalDelayRow (
CalDelayTable &table);
00714
00732
CalDelayRow (
CalDelayTable &table,
CalDelayRow &row);
00733
00735
00737
00738
00739
00740
00741
00742
00743 string antennaName;
00744
00745
00746
00747
00748
00749
00750
00751
00752
00753
00754 BasebandNameMod::BasebandName basebandName;
00755
00756
00757
00758
00759
00760
00761
00762
00763
00764
00765
int numReceptor;
00766
00767
00768
00769
00770
00771
00772
00773
00774
00775
00776 string refAntennaName;
00777
00778
00779
00780
00781
00782
00783
00784
00785
00786
00787 ReceiverBandMod::ReceiverBand receiverBand;
00788
00789
00790
00791
00792
00793
00794
00795
00796
00797
00798 vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
00799
00800
00801
00802
00803
00804
00805
00806
00807
00808
00809
ArrayTime startValidTime;
00810
00811
00812
00813
00814
00815
00816
00817
00818
00819
00820
ArrayTime endValidTime;
00821
00822
00823
00824
00825
00826
00827
00828
00829
00830
00831 vector<double > delayOffset;
00832
00833
00834
00835
00836
00837
00838
00839
00840
00841
00842 vector<double > delayError;
00843
00844
00845
00846
00847
00848
00849
00850
00851
00852
00853
double crossDelayOffset;
00854
00855
00856
00857
00858
00859
00860
00861
00862
00863
00864
double crossDelayOffsetError;
00865
00866
00867
00868
00869
00871
00873
00874
00875
00876
00877
00878
00879
Tag calDataId;
00880
00881
00882
00883
00884
00885
00886
00887
00888
00889
00890
Tag calReductionId;
00891
00892
00893
00894
00895
00897
00899
00900
00901
00902
00903
00904
00905
00906
00907
00908
00909
00910
00911
00912
00913
00914
00915 };
00916
00917 }
00918
00919
#endif