#include <Keeper.hpp>
Inheritance diagram for Keeper:


A typical way to use this class follows:
// Create the input obs file stream RinexObsStream rin("ebre0300.02o"); gnssRinex gRin; Keeper keeperObj; keeperObj.setType( TypeID::C1 ); keeperObj.addType( TypeID::L1 ); while(rin >> gRin) { gRin >> keeperObj; }
The "Keeper" object "keeperObj" will visit every satellite in the GNSS Data Structure that is "gRin" and will keep only the information associated with a configured TypeID set, trimming the incoming GDS.
Definition at line 74 of file Keeper.hpp.
Public Member Functions | |
| Keeper () | |
| Default constructor. | |
| Keeper (const TypeIDSet &keepSet) | |
| Common constructor. | |
| virtual satTypeValueMap & | Process (satTypeValueMap &gData) throw (ProcessingException) |
| Keeps data from a satTypeValueMap object. | |
| virtual gnssSatTypeValue & | Process (gnssSatTypeValue &gData) throw (ProcessingException) |
| Keeps data from a gnnsSatTypeValue object. | |
| virtual gnssRinex & | Process (gnssRinex &gData) throw (ProcessingException) |
| Keeps data from a gnnsRinex object. | |
| virtual Keeper & | setType (const TypeID &type) |
| Method to set the TypeID to be kept. | |
| virtual Keeper & | addType (const TypeID &type) |
| Method to add a TypeID to be kept. | |
| virtual Keeper & | setTypeSet (const TypeIDSet &keepSet) |
| Method to establish a set of TypeIDs to be kept. | |
| virtual Keeper & | addTypeSet (const TypeIDSet &keepSet) |
| Method to add a set of TypeIDs to be kept. | |
| virtual Keeper & | clearTypeSet (void) |
| Method to clear the set of TypeIDs to be kept. | |
| virtual TypeIDSet | getTypeSet (void) const |
| Method to get the set of TypeIDs to be kept. | |
| virtual int | getIndex (void) const |
| Returns an index identifying this object. | |
| virtual std::string | getClassName (void) const |
| Returns a string identifying this object. | |
| virtual | ~Keeper () |
| Destructor. | |
|
|
Default constructor.
Definition at line 79 of file Keeper.hpp. |
|
|
Common constructor.
Definition at line 87 of file Keeper.hpp. |
|
|
Destructor.
Definition at line 182 of file Keeper.hpp. |
|
|
Method to add a TypeID to be kept.
Definition at line 137 of file Keeper.hpp. |
|
|
Method to add a set of TypeIDs to be kept.
Definition at line 93 of file Keeper.cpp. |
|
|
Method to clear the set of TypeIDs to be kept. If you do this, all TypeIDs that are present in GDS will be kept, and this class would have been ineffective. Definition at line 164 of file Keeper.hpp. |
|
|
Returns a string identifying this object.
Implements ProcessingClass. Definition at line 48 of file Keeper.cpp. |
|
|
Returns an index identifying this object.
Implements ProcessingClass. Definition at line 43 of file Keeper.cpp. |
|
|
Method to get the set of TypeIDs to be kept.
Definition at line 169 of file Keeper.hpp. References gpstk::TypeIDSet. |
|
|
Keeps data from a gnnsRinex object.
Implements ProcessingClass. Definition at line 113 of file Keeper.hpp. |
|
|
Keeps data from a gnnsSatTypeValue object.
Implements ProcessingClass. Definition at line 104 of file Keeper.hpp. |
|
|
Keeps data from a satTypeValueMap object.
Definition at line 57 of file Keeper.cpp. References GPSTK_THROW. |
|
|
Method to set the TypeID to be kept.
Definition at line 128 of file Keeper.hpp. |
|
|
Method to establish a set of TypeIDs to be kept.
Definition at line 148 of file Keeper.hpp. |
1.3.9.1