ArrayCore/ArrayParameters.h
Go to the documentation of this file.
00001 /***************************************************************************
00002 **
00003 **  This file is part of ArrayCore.
00004 **
00005 **  This file may be distributed and/or modified under the terms of the
00006 **  GNU General Public License version 2 or 3 as published by the Free
00007 **  Software Foundation and appearing in the file LICENSE.GPL included
00008 **  in the packaging of this file.
00009 **
00010 **  This file is distributed in the hope that it will be useful, but WITHOUT
00011 **  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 **  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
00013 **  more details.
00014 **
00015 **  You should have received a copy of the GNU General Public License
00016 **  along with this program. If not, see <http://www.gnu.org/licenses/>.
00017 **
00018 **  See http://www.geopsy.org for more information.
00019 **
00020 **  Created : 2008-02-06
00021 **  Authors:
00022 **    Marc Wathelet
00023 **    Marc Wathelet (LGIT, Grenoble, France)
00024 **
00025 ***************************************************************************/
00026 
00027 #ifndef ARRAYPARAMETERS_H
00028 #define ARRAYPARAMETERS_H
00029 
00030 #include <GeopsyCore.h>
00031 
00032 #include "FrequencyBand.h"
00033 #include "ArrayCoreDLLExport.h"
00034 
00035 namespace ArrayCore {
00036 
00037   class ARRAYCORE_EXPORT ArrayParameters: public AbstractParameters
00038   {
00039   public:
00040     ArrayParameters();
00041     ArrayParameters(const ArrayParameters& o);
00042 
00043     TimeRangeParameters& timeLimits() {return _timeLimits;}
00044     const TimeRangeParameters& timeLimits() const {return _timeLimits;}
00045     void setTimeLimits(const TimeRangeParameters& t) {_timeLimits=t;}
00046 
00047     WindowingParameters& windowing() {return _windowing;}
00048     const WindowingParameters& windowing() const {return _windowing;}
00049     void setWindowing(const WindowingParameters& w) {_windowing=w;}
00050 
00051     SamplingParameters& frequencySampling() {return _frequencySampling;}
00052     const SamplingParameters& frequencySampling() const {return _frequencySampling;}
00053     void setFrequencySampling(const SamplingParameters& f) {_frequencySampling=f;}
00054 
00055     double frequencyBandWidth() const {return _frequencyBandWidth;}
00056     void setFrequencyBandWidth(double f) {_frequencyBandWidth=f;}
00057 
00058     const QString& outputFile() const {return _outputFile;}
00059     void setOutputFile(const QString& o) {_outputFile=o;}
00060 
00061     virtual void collectKeywords(PARAMETERS_COLLECTKEYWORDS_ARGS);
00062     virtual int keywordCount(PARAMETERS_KEYWORDCOUNT_ARGS);
00063     virtual bool setValue(PARAMETERS_SETVALUE_ARGS);
00064     virtual QString toString(PARAMETERS_TOSTRING_ARGS_DECL) const;
00065   private:
00066     TimeRangeParameters _timeLimits;
00067     WindowingParameters _windowing;
00068     SamplingParameters _frequencySampling;
00069     double _frequencyBandWidth;
00070     QString _outputFile;
00071   };
00072 
00073 } // namespace ArrayCore
00074 
00075 #endif // ARRAYPARAMETERS_H
00076 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines