Go to the documentation of this file.
39 #ifndef CODEBUFFER_HPP
40 #define CODEBUFFER_HPP
113 const unsigned long&
operator[](
const int i )
const;
119 unsigned long getBit(
const long i )
const;
155 long bitNum = i - (bNdx *
MAX_BIT);
167 #endif // CODEBUFFER_HPP
void updateBufferStatus(const gnsstk::CommonTime &dt, const codeType PYFlag)
codeType getPYFlag()
Accessor returning the type of code in the buffer (P or Y)
const long NUM_6SEC_WORDS
Number of 4 byte unsigned ints necessary to hold 6 sec of P-code.
const gnsstk::CommonTime & getCurrentTime()
Accessor returning the current time.
CodeBuffer & operator^=(const CodeBuffer &cb)
CodeBuffer(const int SVPRNID)
Defines the type of code held in the buffer.
CodeBuffer & operator=(const CodeBuffer &c)
void updateBufferStatus(const codeType PYFlag)
unsigned long getBit(const long i) const
int getPRNID()
Accessor returing the PRN ID of the buffer.
const int MAX_BIT
Number of bits assumed to be in a unsigned long int.
gnsstk::CommonTime currentTime
unsigned long & operator[](int i)
Set or return the designated word of the code buffer.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:38