Embedded Multicore Building Blocks V1.0.0
|
Forward iterator to iterate over the allocated elements of the pool. More...
#include <wait_free_array_value_pool.h>
Public Member Functions | |
Iterator () | |
Constructs an invalid iterator. More... | |
Iterator (Iterator const &other) | |
Copies an iterator. More... | |
Iterator & | operator= (Iterator const &other) |
Copies an iterator. More... | |
Iterator & | operator++ () |
Pre-increments an iterator. More... | |
Iterator | operator++ (int) |
Post-increments an iterator. More... | |
bool | operator== (Iterator const &rhs) |
Compares two iterators for equality. More... | |
bool | operator!= (Iterator const &rhs) |
Compares two iterators for inequality. More... | |
std::pair< int, Type > | operator* () |
Dereferences the iterator. More... | |
Forward iterator to iterate over the allocated elements of the pool.
embb::containers::WaitFreeArrayValuePool< Type, Undefined, Allocator >::Iterator::Iterator | ( | ) |
Constructs an invalid iterator.
embb::containers::WaitFreeArrayValuePool< Type, Undefined, Allocator >::Iterator::Iterator | ( | Iterator const & | other | ) |
Iterator& embb::containers::WaitFreeArrayValuePool< Type, Undefined, Allocator >::Iterator::operator= | ( | Iterator const & | other | ) |
Copies an iterator.
[in] | other | Iterator to copy. |
Iterator& embb::containers::WaitFreeArrayValuePool< Type, Undefined, Allocator >::Iterator::operator++ | ( | ) |
Pre-increments an iterator.
Iterator embb::containers::WaitFreeArrayValuePool< Type, Undefined, Allocator >::Iterator::operator++ | ( | int | ) |
Post-increments an iterator.
bool embb::containers::WaitFreeArrayValuePool< Type, Undefined, Allocator >::Iterator::operator== | ( | Iterator const & | rhs | ) |
Compares two iterators for equality.
true
, if the two iterators are equal, false
otherwise. [in] | rhs | Iterator to compare to. |
bool embb::containers::WaitFreeArrayValuePool< Type, Undefined, Allocator >::Iterator::operator!= | ( | Iterator const & | rhs | ) |
Compares two iterators for inequality.
true
, if the two iterators are not equal, false
otherwise. [in] | rhs | Iterator to compare to. |
std::pair<int, Type> embb::containers::WaitFreeArrayValuePool< Type, Undefined, Allocator >::Iterator::operator* | ( | ) |
Dereferences the iterator.