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::TestUtil & | testFramework |
TestUtil object to use when assertions are integrated. More... | |
unsigned | toCount |
bool | toInc |
|
inline |
Definition at line 78 of file FactoryCounter.hpp.
|
inline |
Definition at line 107 of file FactoryCounter.hpp.
|
inline |
Definition at line 84 of file FactoryCounter.hpp.
|
inline |
Definition at line 96 of file FactoryCounter.hpp.
|
inline |
Definition at line 144 of file FactoryCounter.hpp.
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::almCount |
Counts of messages, set by countResults.
Definition at line 178 of file FactoryCounter.hpp.
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.
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::ephCount |
Definition at line 178 of file FactoryCounter.hpp.
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::ephInc |
Definition at line 184 of file FactoryCounter.hpp.
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::heaCount |
Definition at line 178 of file FactoryCounter.hpp.
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::heaInc |
Definition at line 184 of file FactoryCounter.hpp.
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::ionoCount |
Definition at line 178 of file FactoryCounter.hpp.
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::ionoInc |
Definition at line 184 of file FactoryCounter.hpp.
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::iscCount |
Definition at line 178 of file FactoryCounter.hpp.
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::iscInc |
Definition at line 184 of file FactoryCounter.hpp.
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::otherCount |
Definition at line 179 of file FactoryCounter.hpp.
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.
unsigned FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::toCount |
Definition at line 178 of file FactoryCounter.hpp.
bool FactoryCounter< Alm, Eph, TimeOffs, Health, Iono, GrpDelay >::toInc |
Definition at line 184 of file FactoryCounter.hpp.