![]() |
GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
|
Public Member Functions | |
| Gnss_circular_deque () | |
| Default constructor. | |
| Gnss_circular_deque (unsigned int max_size, unsigned int nchann) | |
| nchann = number of channels; max_size = channel capacity | |
| unsigned int | size (unsigned int ch) const |
| Returns the number of available elements in a channel. | |
| T & | at (unsigned int ch, unsigned int pos) |
| Returns a reference to an element with bound checking. | |
| const T & | get (unsigned int ch, unsigned int pos) const |
| Returns a const reference to an element without bound checking. | |
| T & | front (unsigned int ch) |
| Returns a reference to the first element in the deque. | |
| T & | back (unsigned int ch) |
| Returns a reference to the last element in the deque. | |
| void | push_back (unsigned int ch, const T &new_data) |
| Inserts an element at the end of the deque. | |
| void | pop_front (unsigned int ch) |
| Removes the first element of the deque. | |
| void | clear (unsigned int ch) |
| Removes all the elements of the deque (Sets size to 0). Capacity is not modified. | |
| 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. | |
| void | reset () |
| Removes all the channels (Sets nchann to 0). | |
Definition at line 31 of file gnss_circular_deque.h.