CalFocusRow.h

00001 
00002 /*
00003  * ALMA - Atacama Large Millimeter Array
00004  * (c) European Southern Observatory, 2002
00005  * (c) Associated Universities Inc., 2002
00006  * Copyright by ESO (in the framework of the ALMA collaboration),
00007  * Copyright by AUI (in the framework of the ALMA collaboration),
00008  * All rights reserved.
00009  * 
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Lesser General Public
00012  * License as published by the Free software Foundation; either
00013  * version 2.1 of the License, or (at your option) any later version.
00014  * 
00015  * This library is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY, without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  * Lesser General Public License for more details.
00019  * 
00020  * You should have received a copy of the GNU Lesser General Public
00021  * License along with this library; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00023  * MA 02111-1307  USA
00024  *
00025  * Warning!
00026  *  -------------------------------------------------------------------- 
00027  * | This is generated code!  Do not modify this file.                  |
00028  * | If you do, all changes will be lost when the file is re-generated. |
00029  *  --------------------------------------------------------------------
00030  *
00031  * File CalFocusRow.h
00032  */
00033  
00034 #ifndef CalFocusRow_CLASS
00035 #define CalFocusRow_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::CalFocusRowIDL;
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 #include <Enumerations.h>
00072 using namespace enumerations;
00073  */
00074 
00075 
00076 
00077 
00078         
00079 
00080         
00081 
00082         
00083 
00084         
00085 
00086         
00087 #include "CReceiverBand.h"
00088 using namespace ReceiverBandMod;
00089         
00090 
00091         
00092 
00093         
00094 
00095         
00096 #include "CFocusMethod.h"
00097 using namespace FocusMethodMod;
00098         
00099 
00100         
00101 
00102         
00103 
00104         
00105 
00106 
00107 
00108 using asdm::Angle;
00109 using asdm::AngularRate;
00110 using asdm::ArrayTime;
00111 using asdm::Complex;
00112 using asdm::Entity;
00113 using asdm::EntityId;
00114 using asdm::EntityRef;
00115 using asdm::Flux;
00116 using asdm::Frequency;
00117 using asdm::Humidity;
00118 using asdm::Interval;
00119 using asdm::Length;
00120 using asdm::Pressure;
00121 using asdm::Speed;
00122 using asdm::Tag;
00123 using asdm::Temperature;
00124 using asdm::ConversionException;
00125 using asdm::NoSuchRow;
00126 using asdm::IllegalAccessException;
00127 
00128 /*\file CalFocus.h
00129     \brief Generated from model's revision "1.41", branch "HEAD"
00130 */
00131 
00132 namespace asdm {
00133 
00134 //class asdm::CalFocusTable;
00135 
00136 
00137 // class asdm::CalDataRow;
00138 class CalDataRow;
00139 
00140 // class asdm::CalReductionRow;
00141 class CalReductionRow;
00142         
00143 
00150 class CalFocusRow {
00151 friend class asdm::CalFocusTable;
00152 
00153 public:
00154 
00155         virtual ~CalFocusRow();
00156 
00160         CalFocusTable &getTable() const;
00161         
00162 #ifndef WITHOUT_ACS
00163 
00167         CalFocusRowIDL *toIDL() const;
00168 #endif
00169         
00170 #ifndef WITHOUT_ACS
00171 
00175         void setFromIDL (CalFocusRowIDL x) throw(ConversionException);
00176 #endif
00177         
00182         string toXML() const;
00183 
00189         void setFromXML (string rowDoc) throw(ConversionException);
00190         
00192         // Intrinsic Table Attributes //
00194         
00195         
00196         // ===> Attribute antennaName
00197         
00198         
00199         
00200 
00201         
00206         string getAntennaName() const;
00207         
00208  
00209         
00210         
00217         void setAntennaName (string antennaName) throw(IllegalAccessException);
00218                 
00219         
00220         
00221         
00222 
00223 
00224         
00225         // ===> Attribute frequencyRange
00226         
00227         
00228         
00229 
00230         
00235         vector<Frequency > getFrequencyRange() const;
00236         
00237  
00238         
00239         
00245         void setFrequencyRange (vector<Frequency > frequencyRange);
00246                 
00247         
00248         
00249         
00250 
00251 
00252         
00253         // ===> Attribute startValidTime
00254         
00255         
00256         
00257 
00258         
00263         ArrayTime getStartValidTime() const;
00264         
00265  
00266         
00267         
00273         void setStartValidTime (ArrayTime startValidTime);
00274                 
00275         
00276         
00277         
00278 
00279 
00280         
00281         // ===> Attribute endValidTime
00282         
00283         
00284         
00285 
00286         
00291         ArrayTime getEndValidTime() const;
00292         
00293  
00294         
00295         
00301         void setEndValidTime (ArrayTime endValidTime);
00302                 
00303         
00304         
00305         
00306 
00307 
00308         
00309         // ===> Attribute receiverBand
00310         
00311         
00312         
00313 
00314         
00319         ReceiverBand getReceiverBand() const;
00320         
00321  
00322         
00323         
00329         void setReceiverBand (ReceiverBand receiverBand);
00330                 
00331         
00332         
00333         
00334 
00335 
00336         
00337         // ===> Attribute offset
00338         
00339         
00340         
00341 
00342         
00347         vector<Length > getOffset() const;
00348         
00349  
00350         
00351         
00357         void setOffset (vector<Length > offset);
00358                 
00359         
00360         
00361         
00362 
00363 
00364         
00365         // ===> Attribute error
00366         
00367         
00368         
00369 
00370         
00375         vector<Length > getError() const;
00376         
00377  
00378         
00379         
00385         void setError (vector<Length > error);
00386                 
00387         
00388         
00389         
00390 
00391 
00392         
00393         // ===> Attribute focusMethod
00394         
00395         
00396         
00397 
00398         
00403         FocusMethod getFocusMethod() const;
00404         
00405  
00406         
00407         
00413         void setFocusMethod (FocusMethod focusMethod);
00414                 
00415         
00416         
00417         
00418 
00419 
00420         
00421         // ===> Attribute pointingDirection
00422         
00423         
00424         
00425 
00426         
00431         vector<Angle > getPointingDirection() const;
00432         
00433  
00434         
00435         
00441         void setPointingDirection (vector<Angle > pointingDirection);
00442                 
00443         
00444         
00445         
00446 
00447 
00448         
00449         // ===> Attribute wasFixed
00450         
00451         
00452         
00453 
00454         
00459         vector<bool > getWasFixed() const;
00460         
00461  
00462         
00463         
00469         void setWasFixed (vector<bool > wasFixed);
00470                 
00471         
00472         
00473         
00474 
00475 
00476         
00477         // ===> Attribute ambientTemperature
00478         
00479         
00480         
00481 
00482         
00487         Temperature getAmbientTemperature() const;
00488         
00489  
00490         
00491         
00497         void setAmbientTemperature (Temperature ambientTemperature);
00498                 
00499         
00500         
00501         
00502 
00503 
00505         // Extrinsic Table Attributes //
00507         
00508         
00509         // ===> Attribute calDataId
00510         
00511         
00512         
00513 
00514         
00519         Tag getCalDataId() const;
00520         
00521  
00522         
00523         
00530         void setCalDataId (Tag calDataId) throw(IllegalAccessException);
00531                 
00532         
00533         
00534         
00535 
00536 
00537         
00538         // ===> Attribute calReductionId
00539         
00540         
00541         
00542 
00543         
00548         Tag getCalReductionId() const;
00549         
00550  
00551         
00552         
00559         void setCalReductionId (Tag calReductionId) throw(IllegalAccessException);
00560                 
00561         
00562         
00563         
00564 
00565 
00567         // Links //
00569         
00570         
00571 
00572         
00573                 
00580          CalDataRow* getCalDataUsingCalDataId();
00581          
00582 
00583         
00584 
00585         
00586 
00587         
00588                 
00595          CalReductionRow* getCalReductionUsingCalReductionId();
00596          
00597 
00598         
00599 
00600         
00601         
00602         
00607         bool compareNoAutoInc(Tag calDataId, Tag calReductionId, string antennaName, vector<Frequency > frequencyRange, ArrayTime startValidTime, ArrayTime endValidTime, ReceiverBand receiverBand, vector<Length > offset, vector<Length > error, FocusMethod focusMethod, vector<Angle > pointingDirection, vector<bool > wasFixed, Temperature ambientTemperature);
00608         
00609         
00610 
00611         
00612         bool compareRequiredValue(vector<Frequency > frequencyRange, ArrayTime startValidTime, ArrayTime endValidTime, ReceiverBand receiverBand, vector<Length > offset, vector<Length > error, FocusMethod focusMethod, vector<Angle > pointingDirection, vector<bool > wasFixed, Temperature ambientTemperature); 
00613                  
00614         
00623         bool equalByRequiredValue(CalFocusRow* x) ;
00624 
00625 private:
00629         CalFocusTable &table;
00633         bool hasBeenAdded;
00634 
00635         // This method is used by the Table class when this row is added to the table.
00636         void isAdded();
00637 
00638 
00647         CalFocusRow (CalFocusTable &table);
00648 
00666          CalFocusRow (CalFocusTable &table, CalFocusRow &row);
00667                 
00669         // Intrinsic Table Attributes //
00671         
00672         
00673         // ===> Attribute antennaName
00674         
00675         
00676 
00677         string antennaName;
00678 
00679         
00680         
00681         
00682 
00683         
00684         // ===> Attribute frequencyRange
00685         
00686         
00687 
00688         vector<Frequency > frequencyRange;
00689 
00690         
00691         
00692         
00693 
00694         
00695         // ===> Attribute startValidTime
00696         
00697         
00698 
00699         ArrayTime startValidTime;
00700 
00701         
00702         
00703         
00704 
00705         
00706         // ===> Attribute endValidTime
00707         
00708         
00709 
00710         ArrayTime endValidTime;
00711 
00712         
00713         
00714         
00715 
00716         
00717         // ===> Attribute receiverBand
00718         
00719         
00720 
00721         ReceiverBand receiverBand;
00722 
00723         
00724         
00725         
00726 
00727         
00728         // ===> Attribute offset
00729         
00730         
00731 
00732         vector<Length > offset;
00733 
00734         
00735         
00736         
00737 
00738         
00739         // ===> Attribute error
00740         
00741         
00742 
00743         vector<Length > error;
00744 
00745         
00746         
00747         
00748 
00749         
00750         // ===> Attribute focusMethod
00751         
00752         
00753 
00754         FocusMethod focusMethod;
00755 
00756         
00757         
00758         
00759 
00760         
00761         // ===> Attribute pointingDirection
00762         
00763         
00764 
00765         vector<Angle > pointingDirection;
00766 
00767         
00768         
00769         
00770 
00771         
00772         // ===> Attribute wasFixed
00773         
00774         
00775 
00776         vector<bool > wasFixed;
00777 
00778         
00779         
00780         
00781 
00782         
00783         // ===> Attribute ambientTemperature
00784         
00785         
00786 
00787         Temperature ambientTemperature;
00788 
00789         
00790         
00791         
00792 
00794         // Extrinsic Table Attributes //
00796         
00797         
00798         // ===> Attribute calDataId
00799         
00800         
00801 
00802         Tag calDataId;
00803 
00804         
00805         
00806         
00807 
00808         
00809         // ===> Attribute calReductionId
00810         
00811         
00812 
00813         Tag calReductionId;
00814 
00815         
00816         
00817         
00818 
00820         // Links //
00822         
00823         
00824                 
00825 
00826          
00827 
00828         
00829 
00830         
00831                 
00832 
00833          
00834 
00835         
00836 
00837 
00838 };
00839 
00840 } // End namespace asdm
00841 
00842 #endif /* CalFocus_CLASS */

Generated on Thu Nov 29 16:46:45 2007 for ASDM C++ Implementation by  doxygen 1.5.1