AshtechEPB.hpp
Go to the documentation of this file.
1 //==============================================================================
2 //
3 // This file is part of GNSSTk, the ARL:UT GNSS Toolkit.
4 //
5 // The GNSSTk is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published
7 // by the Free Software Foundation; either version 3.0 of the License, or
8 // any later version.
9 //
10 // The GNSSTk is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with GNSSTk; if not, write to the Free Software Foundation,
17 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
18 //
19 // This software was developed by Applied Research Laboratories at the
20 // University of Texas at Austin.
21 // Copyright 2004-2022, The Board of Regents of The University of Texas System
22 //
23 //==============================================================================
24 
25 //==============================================================================
26 //
27 // This software was developed by Applied Research Laboratories at the
28 // University of Texas at Austin, under contract to an agency or agencies
29 // within the U.S. Department of Defense. The U.S. Government retains all
30 // rights to use, duplicate, distribute, disclose, or release this software.
31 //
32 // Pursuant to DoD Directive 523024
33 //
34 // DISTRIBUTION STATEMENT A: This software has been approved for public
35 // release, distribution is unlimited.
36 //
37 //==============================================================================
38 
44 #ifndef ASHTECHEPB_HPP
45 #define ASHTECHEPB_HPP
46 
47 #include "gnsstk_export.h"
48 #include "AshtechData.hpp"
49 
50 #ifdef SWIG
51 %immutable gnsstk::AshtechEPB::myId;
52 #endif
53 
54 namespace gnsstk
55 {
56  class AshtechEPB : public AshtechData
57  {
58  public:
59 
60  AshtechEPB() {};
61 
62  std::string header; // 11 characters exactly
63 
64  unsigned prn;
65 
66  // Note that an extra element is allocated so these can be
67  // numbered as they are in the IS-GPS-200. Therefore
68  // element 0 of each index is not used.
69  long word[4][11];
70 
71  GNSSTK_EXPORT static const char* myId;
72 
73  virtual std::string getName() const {return "epb";}
74 
75  bool checkId(const std::string& hdrId) const {return hdrId==myId;}
76 
77  void dump(std::ostream& out) const noexcept;
78 
83  virtual void decode(const std::string& data);
84 
85  protected:
91  virtual void reallyGetRecord(FFStream& ffs);
92  };
93 
94 } // namespace gnsstk
95 
96 #endif
gnsstk::AshtechEPB::word
long word[4][11]
Definition: AshtechEPB.hpp:69
gnsstk::AshtechEPB::dump
void dump(std::ostream &out) const noexcept
Definition: AshtechEPB.cpp:99
AshtechData.hpp
gnsstk::FFStream
Definition: FFStream.hpp:119
gnsstk::AshtechEPB::checkId
bool checkId(const std::string &hdrId) const
Definition: AshtechEPB.hpp:75
gnsstk::AshtechEPB
Definition: AshtechEPB.hpp:56
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::AshtechEPB::getName
virtual std::string getName() const
Simple accessors for various static thangs.
Definition: AshtechEPB.hpp:73
gnsstk::AshtechEPB::myId
static const GNSSTK_EXPORT char * myId
Definition: AshtechEPB.hpp:71
gnsstk::AshtechEPB::decode
virtual void decode(const std::string &data)
Definition: AshtechEPB.cpp:75
gnsstk::AshtechEPB::reallyGetRecord
virtual void reallyGetRecord(FFStream &ffs)
Definition: AshtechEPB.cpp:52
gnsstk::AshtechEPB::prn
unsigned prn
Definition: AshtechEPB.hpp:64
example3.data
data
Definition: example3.py:22
gnsstk::AshtechData
Definition: AshtechData.hpp:64
gnsstk::AshtechEPB::AshtechEPB
AshtechEPB()
Definition: AshtechEPB.hpp:60
gnsstk::AshtechEPB::header
std::string header
Definition: AshtechEPB.hpp:60


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