⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 computecombination.hpp

📁 一个gps小工具包
💻 HPP
字号:
#pragma ident "$Id: $"/** * @file ComputeCombination.hpp * This is the base class to ease computing combination of data for * GNSS data structures. */#ifndef COMPUTECOMBINATION_HPP#define COMPUTECOMBINATION_HPP//============================================================================////  This file is part of GPSTk, the GPS Toolkit.////  The GPSTk is free software; you can redistribute it and/or modify//  it under the terms of the GNU Lesser General Public License as published//  by the Free Software Foundation; either version 2.1 of the License, or//  any later version.////  The GPSTk is distributed in the hope that it will be useful,//  but WITHOUT ANY WARRANTY; without even the implied warranty of//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the//  GNU Lesser General Public License for more details.////  You should have received a copy of the GNU Lesser General Public//  License along with GPSTk; if not, write to the Free Software Foundation,//  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA//  //  Dagoberto Salazar - gAGE ( http://www.gage.es ). 2007, 2008////============================================================================#include "ProcessingClass.hpp"namespace gpstk{      /** @addtogroup DataStructures */      //@{      /** This class eases computing combination of data for GNSS data       *  structures.       */   class ComputeCombination : public ProcessingClass   {   public:         /// Default constructor      ComputeCombination() {};         /** Returns a satTypeValueMap object, adding the new data generated          *  when calling this object.          *          * @param gData     Data object holding the data.          */      virtual satTypeValueMap& Process(satTypeValueMap& gData);         /** Returns a gnnsSatTypeValue object, adding the new data generated          *  when calling this object.          *          * @param gData    Data object holding the data.          */      virtual gnssSatTypeValue& Process(gnssSatTypeValue& gData)      { Process(gData.body); return gData; };         /** Returns a gnnsRinex object, adding the new data generated when          *  calling this object.          *          * @param gData    Data object holding the data.          */      virtual gnssRinex& Process(gnssRinex& gData)      { Process(gData.body); return gData; };         /// Returns an index identifying this object.      virtual int getIndex(void) const      { return 1599999; };         /// Returns a string identifying this object.      virtual std::string getClassName(void) const      { return "ComputeCombination"; };         /// Destructor      virtual ~ComputeCombination() {};   protected:         /** Compute the combination of observables. You must define          *  this method according to your specific combination.          */      virtual double getCombination( const double& obs1,                                     const double& obs2 ) = 0;         /// Type of observation to be combined. Nro 1.      TypeID type1;         /// Type of observation to be combined. Nro 2.      TypeID type2;         /// Type assigned to the resulting combination.      TypeID resultType;   }; // end class ComputeCombination         //@}   }#endif   // COMPUTECOMBINATION_HPP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -