![]() |
GNSS-SDR
0.0.13
An Open Source GNSS Software Defined Receiver
|
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) |
| 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 bount 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... | |
Definition at line 28 of file gnss_circular_deque.h.
| Gnss_circular_deque< T >::Gnss_circular_deque | ( | ) |
Default constructor.
Definition at line 50 of file gnss_circular_deque.h.
| Gnss_circular_deque< T >::Gnss_circular_deque | ( | unsigned int | max_size, |
| unsigned int | nchann | ||
| ) |
nchann = number of channels; max_size = channel capacity
Definition at line 57 of file gnss_circular_deque.h.
| T & Gnss_circular_deque< T >::at | ( | unsigned int | ch, |
| unsigned int | pos | ||
| ) |
Returns a reference to an element with bount checking.
Definition at line 85 of file gnss_circular_deque.h.
| T & Gnss_circular_deque< T >::back | ( | unsigned int | ch | ) |
Returns a reference to the last element in the deque.
Definition at line 71 of file gnss_circular_deque.h.
| void Gnss_circular_deque< T >::clear | ( | unsigned int | ch | ) |
Removes all the elements of the deque (Sets size to 0). Capacity is not modified.
Definition at line 99 of file gnss_circular_deque.h.
| T & Gnss_circular_deque< T >::front | ( | unsigned int | ch | ) |
Returns a reference to the first element in the deque.
Definition at line 78 of file gnss_circular_deque.h.
| const T & Gnss_circular_deque< T >::get | ( | unsigned int | ch, |
| unsigned int | pos | ||
| ) | const |
Returns a const reference to an element without bound checking.
Definition at line 92 of file gnss_circular_deque.h.
| void Gnss_circular_deque< T >::pop_front | ( | unsigned int | ch | ) |
Removes the first element of the deque.
Definition at line 127 of file gnss_circular_deque.h.
| void Gnss_circular_deque< T >::push_back | ( | unsigned int | ch, |
| const T & | new_data | ||
| ) |
Inserts an element at the end of the deque.
Definition at line 134 of file gnss_circular_deque.h.
| void Gnss_circular_deque< T >::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.
Definition at line 106 of file gnss_circular_deque.h.
| void Gnss_circular_deque< T >::reset | ( | ) |
Removes all the channels (Sets nchann to 0)
Definition at line 120 of file gnss_circular_deque.h.
| unsigned int Gnss_circular_deque< T >::size | ( | unsigned int | ch | ) |
Returns the number of available elements in a channel.
Definition at line 64 of file gnss_circular_deque.h.
1.8.14