GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Public Member Functions | List of all members
Gnss_circular_deque< T > Class Template Reference

Public Member Functions

 Gnss_circular_deque ()
 Default constructor. More...
 
 Gnss_circular_deque (unsigned int max_size, unsigned int nchann)
 nchann = number of channels; max_size = channel capacity More...
 
unsigned int size (unsigned int ch) const
 Returns the number of available elements in a channel. More...
 
T & at (unsigned int ch, unsigned int pos)
 Returns a reference to an element with bound checking. More...
 
const T & get (unsigned int ch, unsigned int pos) const
 Returns a const reference to an element without bound checking. More...
 
T & front (unsigned int ch)
 Returns a reference to the first element in the deque. More...
 
T & back (unsigned int ch)
 Returns a reference to the last element in the deque. More...
 
void push_back (unsigned int ch, const T &new_data)
 Inserts an element at the end of the deque. More...
 
void pop_front (unsigned int ch)
 Removes the first element of the deque. More...
 
void clear (unsigned int ch)
 Removes all the elements of the deque (Sets size to 0). Capacity is not modified. More...
 
void reset (unsigned int max_size, unsigned int nchann)
 Removes all the elements in all the channels. Re-sets the number of channels and their capacity. More...
 
void reset ()
 Removes all the channels (Sets nchann to 0) More...
 

Detailed Description

template<class T>
class Gnss_circular_deque< T >

Definition at line 31 of file gnss_circular_deque.h.


The documentation for this class was generated from the following file: