📄 correctobservables.hpp
字号:
const Triple& L5pc, const Triple& L6pc, const Triple& L7pc, const Triple& L8pc, const Triple& monument, const Triple& extra) : pEphemeris(&ephem), nominalPos(stapos), L1PhaseCenter(L1pc), L2PhaseCenter(L2pc), L5PhaseCenter(L5pc), L6PhaseCenter(L6pc), L7PhaseCenter(L7pc), L8PhaseCenter(L8pc), monumentVector(monument), extraBiases(extra) { setIndex(); }; /** Returns a satTypeValueMap object, adding the new data generated * when calling this object. * * @param time Epoch corresponding to the data. * @param gData Data object holding the data. */ virtual satTypeValueMap& Process(const DayTime& time, 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.header.epoch, 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.header.epoch, gData.body); return gData; }; /// Returns nominal position of receiver station. virtual Position getNominalPosition(void) const { return nominalPos; }; /** Sets nominal position of receiver station. * @param stapos Nominal position of receiver station. */ virtual CorrectObservables& setNominalPosition(const Position& stapos) { nominalPos = stapos; return (*this); }; /// Returns a pointer to the satellite ephemeris object currently /// in use. virtual XvtStore<SatID> *getEphemeris(void) const { return pEphemeris; }; /** Sets satellite ephemeris object to be used. * @param ephem Satellite ephemeris object. */ virtual CorrectObservables& setEphemeris(XvtStore<SatID>& ephem) { pEphemeris = &ephem; return (*this); }; /** Returns position of antenna L1 phase center with respect * to ARP ([UEN]). */ virtual Triple getL1pc(void) const { return L1PhaseCenter; }; /** Sets position of antenna L1 phase center with respect * to ARP ([UEN]). * @param L1pc L1 phase center with respect to ARP ([UEN]). */ virtual CorrectObservables& setL1pc(const Triple& L1pc) { L1PhaseCenter = L1pc; return (*this); }; /** Returns position of antenna L2 phase center with respect * to ARP ([UEN]). */ virtual Triple getL2pc(void) const { return L2PhaseCenter; }; /** Sets position of antenna L2 phase center with respect * to ARP ([UEN]). * @param L2pc L2 phase center with respect to ARP ([UEN]). */ virtual CorrectObservables& setL2pc(const Triple& L2pc) { L2PhaseCenter = L2pc; return (*this); }; /** Returns position of antenna L5 phase center with respect * to ARP ([UEN]). */ virtual Triple getL5pc(void) const { return L5PhaseCenter; }; /** Sets position of antenna L5 phase center with respect * to ARP ([UEN]). * @param L5pc L5 phase center with respect to ARP ([UEN]). */ virtual CorrectObservables& setL5pc(const Triple& L5pc) { L5PhaseCenter = L5pc; return (*this); }; /** Returns position of antenna L6 phase center with respect * to ARP ([UEN]). */ virtual Triple getL6pc(void) const { return L6PhaseCenter; }; /** Sets position of antenna L6 phase center with respect * to ARP ([UEN]). * @param L6pc L6 phase center with respect to ARP ([UEN]). */ virtual CorrectObservables& setL6pc(const Triple& L6pc) { L6PhaseCenter = L6pc; return (*this); }; /** Returns position of antenna L7 phase center with respect * to ARP ([UEN]). */ virtual Triple getL7pc(void) const { return L7PhaseCenter; }; /** Sets position of antenna L7 phase center with respect * to ARP ([UEN]). * @param L7pc L7 phase center with respect to ARP ([UEN]). */ virtual CorrectObservables& setL7pc(const Triple& L7pc) { L7PhaseCenter = L7pc; return (*this); }; /** Returns position of antenna L8 phase center with respect * to ARP ([UEN]). */ virtual Triple getL8pc(void) const { return L8PhaseCenter; }; /** Sets position of antenna L8 phase center with respect * to ARP ([UEN]). * @param L8pc L8 phase center with respect to ARP ([UEN]). */ virtual CorrectObservables& setL8pc(const Triple& L8pc) { L8PhaseCenter = L8pc; return (*this); }; /** Returns vector from monument to ARP ([UEN]). */ virtual Triple getMonument(void) const { return monumentVector; }; /** Sets vector from monument to ARP ([UEN]). * @param monument Vector from monument to ARP ([UEN]). */ virtual CorrectObservables& setMonument(const Triple& monument) { monumentVector = monument; return (*this); }; /** Returns extra biases affecting monument, such as tidal * effects ([UEN]). */ virtual Triple getExtraBiases(void) const { return extraBiases; }; /** Sets extra biases affecting monument, such as tidal * effects ([UEN]). * @param extra Extra biases affecting monument, such as tidal * effects ([UEN]). */ virtual CorrectObservables& setExtraBiases(const Triple& extra) { extraBiases = extra; return (*this); }; /// Returns an index identifying this object. virtual int getIndex(void) const; /// Returns a string identifying this object. virtual std::string getClassName(void) const; /** Sets the index to a given arbitrary value. Use with caution. * * @param newindex New integer index to be assigned to current * object. */ CorrectObservables& setIndex(const int newindex) { index = newindex; return (*this); }; /// Destructor virtual ~CorrectObservables() {}; private: /// Satellite ephemeris to be used XvtStore<SatID> *pEphemeris; /// Receiver position Position nominalPos; /// Position of antenna L1 phase center with respect to ARP ([UEN]). Triple L1PhaseCenter; /// Position of antenna L2 phase center with respect to ARP ([UEN]). Triple L2PhaseCenter; /// Position of antenna L5 phase center with respect to ARP ([UEN]). Triple L5PhaseCenter; /// Position of antenna L6 phase center with respect to ARP ([UEN]). Triple L6PhaseCenter; /// Position of antenna L7 phase center with respect to ARP ([UEN]). Triple L7PhaseCenter; /// Position of antenna L8 phase center with respect to ARP ([UEN]). Triple L8PhaseCenter; /// Vector from monument to ARP ([UEN]). Triple monumentVector; /// Extra biases affecting monument, such as tide effects ([UEN]). Triple extraBiases; /// Initial index assigned to this class. static int classIndex; /// Index belonging to this object. int index; /// Sets the index and increment classIndex. void setIndex(void) { index = classIndex++; }; }; // end class CorrectObservables //@} }#endif // CORRECTOBSERVABLES_HPP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -