Go to the documentation of this file.
41 #ifndef GNSSTK_SATELLITE_PASS_ITERATOR_INCLUDE
42 #define GNSSTK_SATELLITE_PASS_ITERATOR_INCLUDE
74 explicit SatPassIterator(std::vector<SatPass>& splist,
bool rev =
false,
78 void reset(
bool rev =
false,
bool dbug =
false);
90 int next(std::map<unsigned int, unsigned int>& indexMap);
115 for (
int i = 0; i <
SPList.size(); i++)
118 ttag =
SPList[i].getFirstGoodTime();
127 for (
int i = 0; i <
SPList.size(); i++)
130 ttag =
SPList[i].getLastGoodTime();
207 #endif // GNSSTK_SATELLITE_PASS_ITERATOR_INCLUDE
std::map< unsigned int, unsigned int > getIndexes()
std::map< RinexSatID, int > listIndex
index of the current object in the list for this satellite
int currentN
count of the current epoch, = 0,1,...
SatPassIterator & operator=(const SatPassIterator &)
Epoch getLastGoodTime() const
std::map< unsigned int, unsigned int > nextIndexMap
SatPassIterator(std::vector< SatPass > &splist, bool rev=false, bool dbug=false)
Epoch getFirstGoodTime() const
std::map< RinexSatID, int > countOffset
offset in count of the current object in the list for this satellite
std::vector< int > indexStatus
Epoch getFirstTime()
Get the first (earliest) time found in the SatPass list.
double getDT()
Get the time interval, which is common to all the SatPass in the list.
int next(std::map< unsigned int, unsigned int > &indexMap)
std::vector< SatPass > & SPList
reference to the vector of passes being processed
Epoch getLastTime()
Get the last (latest) time found in the SatPass list.
bool debug
if true, print debug info in nex()
bool timeReverse
if true, iterate in reverse time order
std::map< RinexSatID, int > dataIndex
void reset(bool rev=false, bool dbug=false)
Restart the iteration, i.e. return to the initial time.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41