modeledpr.hpp

来自「一个gps小工具包」· HPP 代码 · 共 426 行 · 第 1/2 页

HPP
426
字号
          * @param RxCoordinates Initial receiver coordinates.          * @param dEphemeris    XvtStore<SatID> object to be used by default.          * @param dObservable   Observable type to be used by default.          * @param usetgd        Whether TGD will be used by default or not.          *          * @sa DataStructures.hpp.          */      ModeledPR( const Position& RxCoordinates,                 XvtStore<SatID>& dEphemeris,                 const TypeID& dObservable,                 bool usetgd = true )         throw(Exception);         /** Explicit constructor, taking as input default ionospheric           *  and tropospheric models, ephemeris to be used, default           *  observable and whether TGD will be computed or not.          *          * This constructor is meant to be used when working with GNSS          * data structures in order to set the basic parameters from the          * beginning.          *          * @param dIonoModel    Ionospheric model to be used by default.          * @param dTropoModel   Tropospheric model to be used by default.          * @param dObservable   Observable type to be used by default.          * @param dEphemeris    XvtStore<SatID> object to be used by default.          * @param usetgd        Whether TGD will be used by default or not.          *          * @sa DataStructures.hpp.          */      ModeledPR( IonoModelStore& dIonoModel,                 TropModel& dTropoModel,                 XvtStore<SatID>& dEphemeris,                 const TypeID& dObservable,                 bool usetgd = true )         throw(Exception);         /** Explicit constructor, taking as input default ionospheric          *  model, ephemeris to be used, default observable and whether           *  TGD will be computed or not.          *          * This constructor is meant to be used when working with GNSS          * data structures in order to set the basic parameters from the          * beginning.          *          * @param dIonoModel    Ionospheric model to be used by default.          * @param dObservable   Observable type to be used by default.          * @param dEphemeris    XvtStore<SatID> object to be used by default.          * @param usetgd        Whether TGD will be used by default or not.          *          * @sa DataStructures.hpp.          */      ModeledPR( IonoModelStore& dIonoModel,                 XvtStore<SatID>& dEphemeris,                 const TypeID& dObservable,                 bool usetgd = true )         throw(Exception);         /** Explicit constructor, taking as input default tropospheric           *  model, ephemeris to be used, default observable and whether           *  TGD will be computed or not.          *          * This constructor is meant to be used when working with GNSS          * data structures in order to set the basic parameters from the          * beginning.          *          * @param dTropoModel   Tropospheric model to be used by default.          * @param dObservable   Observable type to be used by default.          * @param dEphemeris    XvtStore<SatID> object to be used by default.          * @param usetgd        Whether TGD will be used by default or not.          *          * @sa DataStructures.hpp.          */      ModeledPR( TropModel& dTropoModel,                 XvtStore<SatID>& dEphemeris,                 const TypeID& dObservable,                 bool usetgd = true )         throw(Exception);         /** Method to set an a priori position of receiver using           *  Bancroft's method.          *          * @param Tr            Time of observation          * @param Satellite     std::vector of satellites in view          * @param Pseudorange   std::vector of pseudoranges measured from          *                      rover station to satellites          * @param Eph           Satellites Ephemeris          *          * @return          *  0 if OK          *  -1 if problems arose          */      virtual int Prepare( const DayTime& Tr,                           std::vector<SatID>& Satellite,                           std::vector<double>& Pseudorange,                           const XvtStore<SatID>& Eph );         /** Method to set an a priori position of receiver using          *  Bancroft's method.          *          * @param Tr            Time of observation          * @param Satellite     Vector of satellites in view          * @param Pseudorange   Pseudoranges measured from rover station to          *                      satellites          * @param Eph           Satellites Ephemeris          *          * @return          *  0 if OK          *  -1 if problems arose          */      virtual int Prepare( const DayTime& Tr,                           const Vector<SatID>& Satellite,                           const Vector<double>& Pseudorange,                           const XvtStore<SatID>& Eph );         /** Method to set an a priori position of receiver using Bancroft's          *  method. Intended to be used with GNSS data structures.          *          * @param time      DayTime object for this epoch          * @param data      satTypeValueMap data structure holding           *                  the data.          *          * @return          *  0 if OK          *  -1 if problems arose          */      virtual int Prepare( const DayTime& time,                           const satTypeValueMap& data );         /** Method to set an a priori position of receiver using Bancroft          * method. Intended to be used with GNSS data structures.          *          * @param gData         GNSS data structure to be used          *          * @return          *  0 if OK          *  -1 if problems arose          */      virtual int Prepare(const gnssSatTypeValue& gData)      { return (Prepare(gData.header.epoch, gData.body)); };         /** Method to set the initial (a priori) position of receiver before          * Compute() method.          * @return          *  0 if OK          *  -1 if problems arose          */      virtual int Prepare( const double& aRx,                           const double& bRx,                           const double& cRx,                           Position::CoordinateSystem s=Position::Cartesian,                           GeoidModel *geoid = NULL )         throw(GeometryException);         /** Method to set the initial (a priori) position of receiver before          * Compute() method.          * @return          *  0 if OK          *  -1 if problems arose          */      virtual int Prepare(const Position& RxCoordinates)         throw(GeometryException);         /** Returns a satTypeValueMap object, adding the new data generated          *  when calling a modeling object.          *          * @param time      Epoch.          * @param gData     Data object holding the data.          */      virtual satTypeValueMap& processModel( const DayTime& time,                                             satTypeValueMap& gData )         throw(Exception);         /// Method to get if the model has been prepared.      bool getModelPrepared() const      { return modelPrepared; };         /** Method to forcefully set whether the model has been prepared.          *          * @param prepare       Boolean indicating whether the model has          *                      been prepared.          */      ModeledPR& setModelPrepared(const bool& prepare)      { modelPrepared = prepare; return (*this); };         /// Destructor.      virtual ~ModeledPR() throw() {};   protected:      bool modelPrepared;   }; // class ModeledPR      //@}} // namespace#endif  // MODELEDPR_HPP

⌨️ 快捷键说明

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