AshtechPBEN.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 ASHTECHPBEN_HPP
45 #define ASHTECHPBEN_HPP
46 
47 #include "gnsstk_export.h"
48 #include "AshtechData.hpp"
49 
50 #ifdef SWIG
51 %immutable gnsstk::AshtechPBEN::myId;
52 #endif
53 
54 namespace gnsstk
55 {
56  class AshtechPBEN : public AshtechData
57  {
58  public:
59 
61 
62  std::string header; // 11 characters exactly
63 
64  double sow;
65  std::string sitename; // 4 characters exactly
66  double navx; // meters
67  double navy; // meters
68  double navz; // meters
69  float navt; // meters
70  float navxdot; // meters/sec
71  float navydot; // meters/sec
72  float navzdot; // meters/sec
73  float navtdot; // meters/sec
74  unsigned pdop;
75 
76  // These items are not part of the binary output and only exist in the
77  // ascii output
78  float lat, lon, alt, numSV, hdop, vdop, tdop;
79 
80 
81  GNSSTK_EXPORT static const char* myId;
82 
83  virtual std::string getName() const {return "pben";}
84 
85  bool checkId(const std::string& hdrId) const {return hdrId==myId;}
86 
87  void dump(std::ostream& out) const noexcept;
88 
93  virtual void decode(const std::string& data);
94 
95  protected:
101  virtual void reallyGetRecord(FFStream& ffs);
102  };
103 } // namespace gnsstk
104 
105 #endif
gnsstk::AshtechPBEN::navtdot
float navtdot
Definition: AshtechPBEN.hpp:73
gnsstk::AshtechPBEN::sow
double sow
Definition: AshtechPBEN.hpp:64
AshtechData.hpp
gnsstk::FFStream
Definition: FFStream.hpp:119
gnsstk::AshtechPBEN::numSV
float numSV
Definition: AshtechPBEN.hpp:78
gnsstk::AshtechPBEN::navxdot
float navxdot
Definition: AshtechPBEN.hpp:70
gnsstk::AshtechPBEN::navydot
float navydot
Definition: AshtechPBEN.hpp:71
gnsstk::AshtechPBEN::lon
float lon
Definition: AshtechPBEN.hpp:78
gnsstk::AshtechPBEN::vdop
float vdop
Definition: AshtechPBEN.hpp:78
gnsstk::AshtechPBEN::lat
float lat
Definition: AshtechPBEN.hpp:78
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::AshtechPBEN::getName
virtual std::string getName() const
Simple accessors for various static thangs.
Definition: AshtechPBEN.hpp:83
gnsstk::AshtechPBEN
Definition: AshtechPBEN.hpp:56
gnsstk::AshtechPBEN::hdop
float hdop
Definition: AshtechPBEN.hpp:78
gnsstk::AshtechPBEN::dump
void dump(std::ostream &out) const noexcept
Definition: AshtechPBEN.cpp:146
gnsstk::AshtechPBEN::tdop
float tdop
Definition: AshtechPBEN.hpp:78
gnsstk::AshtechPBEN::reallyGetRecord
virtual void reallyGetRecord(FFStream &ffs)
Definition: AshtechPBEN.cpp:53
gnsstk::AshtechPBEN::alt
float alt
Definition: AshtechPBEN.hpp:78
gnsstk::AshtechPBEN::sitename
std::string sitename
Definition: AshtechPBEN.hpp:65
gnsstk::AshtechPBEN::navt
float navt
Definition: AshtechPBEN.hpp:69
gnsstk::AshtechPBEN::header
std::string header
Definition: AshtechPBEN.hpp:60
gnsstk::AshtechPBEN::navx
double navx
Definition: AshtechPBEN.hpp:66
gnsstk::AshtechPBEN::navy
double navy
Definition: AshtechPBEN.hpp:67
gnsstk::AshtechPBEN::navzdot
float navzdot
Definition: AshtechPBEN.hpp:72
gnsstk::AshtechPBEN::navz
double navz
Definition: AshtechPBEN.hpp:68
example3.data
data
Definition: example3.py:22
gnsstk::AshtechData
Definition: AshtechData.hpp:64
gnsstk::AshtechPBEN::myId
static const GNSSTK_EXPORT char * myId
Definition: AshtechPBEN.hpp:81
gnsstk::AshtechPBEN::checkId
bool checkId(const std::string &hdrId) const
Definition: AshtechPBEN.hpp:85
gnsstk::AshtechPBEN::pdop
unsigned pdop
Definition: AshtechPBEN.hpp:74
gnsstk::AshtechPBEN::decode
virtual void decode(const std::string &data)
Definition: AshtechPBEN.cpp:77
gnsstk::AshtechPBEN::AshtechPBEN
AshtechPBEN()
Definition: AshtechPBEN.hpp:60


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