Code generator


Classes

class  CodeBuffer
 P(Y)-code Buffer class. More...
class  GenXSequence
 Generate X Sequence for GPS Applied Research Laboratories, The University of Texas at Austin August 2003. More...
class  SVPCodeGen
 SV P-code Generator. More...
class  X1Sequence
 GPS X1 Sequencer. More...
class  X2Sequence
 GPS X2 Sequencer. More...

Functions

 gpstk::CodeBuffer::~CodeBuffer ()
CodeBuffer & gpstk::CodeBuffer::operator^= (const CodeBuffer &cb)
 Perform an exclusive-or operation on the bits contained in this instance of CodeBuffer and the instance referenced by cb.
unsigned long & gpstk::CodeBuffer::operator[] (int i)
 Set or return the designated word of the code buffer.
const unsigned long & gpstk::CodeBuffer::operator[] (const int i) const
unsigned long gpstk::CodeBuffer::getBit (const long i) const
 Given a bit number between 0 and (NUM_6SEC_WORDS * MAX_BIT) - 1, return the value of the bit as a right justified unsigned long word (0x00000000 or 0x00000001)..
uint32_t & gpstk::X1Sequence::operator[] (int i)
const uint32_t & gpstk::X1Sequence::operator[] (int i) const
 Given a word number from 0 to NUM_6SEC_WORDS, return the requested word.
uint32_t gpstk::X2Sequence::operator[] (long i)
 Given a bit number from -37 to X2Length-37, stuff the 32 bits starting with that bit and continuing for the next 31 bits into an unsigned long and return this as the result.

Variables

const int gpstk::MAX_WORD = 140
const long gpstk::LENGTH_OF_EOW_OVERLAP = 34
const long gpstk::OVERLAP_WORD_POSITION = 1451897
const long gpstk::MAX_X2_TEST = 4 * ((XA_COUNT * XA_MAX_EPOCH) + X2A_EPOCH_DELAY)
const long gpstk::MAX_X2_COUNT = X2A_EPOCH_DELAY + MAX_X2_TEST


Function Documentation

unsigned long getBit const long  i  )  const [inline, inherited]
 

Given a bit number between 0 and (NUM_6SEC_WORDS * MAX_BIT) - 1, return the value of the bit as a right justified unsigned long word (0x00000000 or 0x00000001)..

Definition at line 159 of file CodeBuffer.hpp.

References CodeBuffer::buffer, and gpstk::MAX_BIT.

uint32_t operator[] long  i  )  [inline, inherited]
 

Given a bit number from -37 to X2Length-37, stuff the 32 bits starting with that bit and continuing for the next 31 bits into an unsigned long and return this as the result.

Conditional code (compiled only for debug) will confirm that the requested bit number is >=-37 and <(61,380,185-32) and will halt the program if this assertion is violated. NOTE: operator[] should never have to worry about rollovers. The length of the X2 array shall be set such that the maximum number of X2 bits needed will be available. The reset will be driven by the occurrence of the next X1 epoch and be tracked one level up in the corresponding SVPcodeGen object.

Definition at line 205 of file X2Sequence.hpp.

References gpstk::MAX_BIT, gpstk::MAX_X2_COUNT, merge(), and gpstk::NUM_X2_WORDS.

const uint32_t & operator[] int  i  )  const [inline, inherited]
 

Given a word number from 0 to NUM_6SEC_WORDS, return the requested word.

Definition at line 128 of file X1Sequence.hpp.

uint32_t & operator[] int  i  )  [inline, inherited]
 

Definition at line 123 of file X1Sequence.hpp.

const unsigned long & operator[] const int  i  )  const [inline, inherited]
 

Definition at line 154 of file CodeBuffer.hpp.

References CodeBuffer::buffer.

unsigned long & operator[] int  i  )  [inline, inherited]
 

Set or return the designated word of the code buffer.

Definition at line 149 of file CodeBuffer.hpp.

References CodeBuffer::buffer.

CodeBuffer & operator^= const CodeBuffer cb  )  [inline, inherited]
 

Perform an exclusive-or operation on the bits contained in this instance of CodeBuffer and the instance referenced by cb.

Definition at line 143 of file CodeBuffer.hpp.

References CodeBuffer::buffer.

~CodeBuffer  )  [inline, inherited]
 

Definition at line 142 of file CodeBuffer.hpp.


Variable Documentation

const long LENGTH_OF_EOW_OVERLAP = 34
 

Definition at line 64 of file X2Sequence.hpp.

Referenced by X2Sequence::allocateMemory().

const int MAX_WORD = 140
 

Definition at line 58 of file GenXSequence.hpp.

const long MAX_X2_COUNT = X2A_EPOCH_DELAY + MAX_X2_TEST
 

Definition at line 69 of file X2Sequence.hpp.

Referenced by X2Sequence::operator[]().

const long MAX_X2_TEST = 4 * ((XA_COUNT * XA_MAX_EPOCH) + X2A_EPOCH_DELAY)
 

Definition at line 67 of file X2Sequence.hpp.

Referenced by SVPCodeGen::getCurrentSixSeconds().

const long OVERLAP_WORD_POSITION = 1451897
 

Definition at line 65 of file X2Sequence.hpp.

Referenced by X2Sequence::allocateMemory().


Generated on Sun May 19 03:31:37 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1