Public Member Functions | Public Attributes | List of all members
FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay > Class Template Reference

Detailed Description

template<class Alm, class Eph, class TimeOffs, class Health, class Iono, class GrpDelay>
class FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >

Class for counting instances of various types of nav messages produced by PNBNavDataFactory objects and the like.

Definition at line 75 of file FactoryCounter.hpp.

#include <FactoryCounter.hpp>

Public Member Functions

void countResults (const gnsstk::NavDataPtrList &navOut)
 
 FactoryCounter (gnsstk::TestUtil &tf)
 
void resetCount ()
 
void setInc (const gnsstk::NavMessageTypeSet &nmts)
 
void validateResults (gnsstk::NavDataPtrList &navOut, unsigned lineNo, size_t totalExp=0, unsigned almExp=0, unsigned ephExp=0, unsigned toExp=0, unsigned heaExp=0, unsigned ionoExp=0, unsigned iscExp=0, unsigned otherExp=0)
 

Public Attributes

unsigned almCount
 Counts of messages, set by countResults. More...
 
bool almInc
 
unsigned ephCount
 
bool ephInc
 
unsigned heaCount
 
bool heaInc
 
unsigned ionoCount
 
bool ionoInc
 
unsigned iscCount
 
bool iscInc
 
unsigned otherCount
 
gnsstk::TestUtiltestFramework
 TestUtil object to use when assertions are integrated. More...
 
unsigned toCount
 
bool toInc
 

Constructor & Destructor Documentation

◆ FactoryCounter()

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::FactoryCounter ( gnsstk::TestUtil tf)
inline

Definition at line 78 of file FactoryCounter.hpp.

Member Function Documentation

◆ countResults()

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
void FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::countResults ( const gnsstk::NavDataPtrList navOut)
inline

Definition at line 107 of file FactoryCounter.hpp.

◆ resetCount()

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
void FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::resetCount ( )
inline

Definition at line 84 of file FactoryCounter.hpp.

◆ setInc()

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
void FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::setInc ( const gnsstk::NavMessageTypeSet nmts)
inline

Definition at line 96 of file FactoryCounter.hpp.

◆ validateResults()

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
void FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::validateResults ( gnsstk::NavDataPtrList navOut,
unsigned  lineNo,
size_t  totalExp = 0,
unsigned  almExp = 0,
unsigned  ephExp = 0,
unsigned  toExp = 0,
unsigned  heaExp = 0,
unsigned  ionoExp = 0,
unsigned  iscExp = 0,
unsigned  otherExp = 0 
)
inline

Definition at line 144 of file FactoryCounter.hpp.

Member Data Documentation

◆ almCount

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::almCount

Counts of messages, set by countResults.

Definition at line 178 of file FactoryCounter.hpp.

◆ almInc

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::almInc

Include (or ignore) specific counts passed to validateResults (used so the same test code can be used with different type filters). When false, the given count will be expected to be zero.

Definition at line 184 of file FactoryCounter.hpp.

◆ ephCount

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::ephCount

Definition at line 178 of file FactoryCounter.hpp.

◆ ephInc

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::ephInc

Definition at line 184 of file FactoryCounter.hpp.

◆ heaCount

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::heaCount

Definition at line 178 of file FactoryCounter.hpp.

◆ heaInc

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::heaInc

Definition at line 184 of file FactoryCounter.hpp.

◆ ionoCount

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::ionoCount

Definition at line 178 of file FactoryCounter.hpp.

◆ ionoInc

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::ionoInc

Definition at line 184 of file FactoryCounter.hpp.

◆ iscCount

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::iscCount

Definition at line 178 of file FactoryCounter.hpp.

◆ iscInc

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::iscInc

Definition at line 184 of file FactoryCounter.hpp.

◆ otherCount

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::otherCount

Definition at line 179 of file FactoryCounter.hpp.

◆ testFramework

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
gnsstk::TestUtil& FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::testFramework

TestUtil object to use when assertions are integrated.

Definition at line 176 of file FactoryCounter.hpp.

◆ toCount

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::toCount

Definition at line 178 of file FactoryCounter.hpp.

◆ toInc

template<class Alm , class Eph , class TimeOffs , class Health , class Iono , class GrpDelay >
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::toInc

Definition at line 184 of file FactoryCounter.hpp.


The documentation for this class was generated from the following file:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:43