container/mn_deque.hpp
Go to the documentation of this file.
Definition: container/mn_deque.hpp:28
pointer_deque m_pQueue
Definition: container/mn_deque.hpp:68
self_type & operator++()
Definition: container/mn_deque.hpp:55
bool operator!=(const self_type &rhs) const
Definition: container/mn_deque.hpp:64
basic_deque_iterator(pointer_deque _pQueue, bool isEnd=false)
Definition: container/mn_deque.hpp:40
self_type operator++(int)
Definition: container/mn_deque.hpp:58
bool operator==(const self_type &rhs) const
Definition: container/mn_deque.hpp:61
value_type * pointer
Definition: container/mn_deque.hpp:32
TQUEUE deque_type
Definition: container/mn_deque.hpp:36
ptrdiff_t difference_type
Definition: container/mn_deque.hpp:34
basic_deque_iterator(const basic_deque_iterator< U, UQUEUE > &rhs)
Definition: container/mn_deque.hpp:47
value_type & reference
Definition: container/mn_deque.hpp:33
pointer * m_pValue
Definition: container/mn_deque.hpp:67
TQUEUE * pointer_deque
Definition: container/mn_deque.hpp:38
reference operator*() const
Definition: container/mn_deque.hpp:52
pointer operator->() const
Definition: container/mn_deque.hpp:53
basic_deque_iterator(pointer value, pointer_deque _pQueue, bool isEnd=false)
Definition: container/mn_deque.hpp:43
A basic wrapper for the MiniLib deque's as Template deque.
Definition: container/mn_deque.hpp:80
void push_back(reference _Element)
Push a element to the end of the queue.
Definition: container/mn_deque.hpp:151
const_iterator end() const
Get the end iterator.
Definition: container/mn_deque.hpp:132
basic_deque()
Construct a new basic queue object.
Definition: container/mn_deque.hpp:95
const_reference front() const
Definition: container/mn_deque.hpp:135
basic_deque(const self_type &other)
Definition: container/mn_deque.hpp:97
~basic_deque()
Destroy the basic queue object.
Definition: container/mn_deque.hpp:103
const mn::size_t length() const
How many items can queue.
Definition: container/mn_deque.hpp:196
iterator end()
Get the end iterator.
Definition: container/mn_deque.hpp:117
pointer pop_front()
Pop the oldest entry from the queue.
Definition: container/mn_deque.hpp:170
basic_deque_iterator< T, deque_type > iterator
Definition: container/mn_deque.hpp:88
void push_front(reference _Element)
Push a element to the front of the queue.
Definition: container/mn_deque.hpp:161
iterator begin()
Get the begin iterator.
Definition: container/mn_deque.hpp:110
void swap(const self_type &other)
Definition: container/mn_deque.hpp:215
T * intern_getfront()
Definition: container/mn_deque.hpp:228
const_iterator begin() const
Get the begin iterator.
Definition: container/mn_deque.hpp:125
const bool empty() const
Check, if queue is empty.
Definition: container/mn_deque.hpp:189
self_type & operator=(const self_type &other)
Definition: container/mn_deque.hpp:221
const T & const_reference
Definition: container/mn_deque.hpp:86
Definition: queue/mn_deque.hpp:30
virtual int enqueue_front(void *item, unsigned int timeout=MN_THREAD_CONFIG_TIMEOUT_QUEUE_DEFAULT)
Definition: mn_deque.cpp:34
virtual int enqueue(void *item, unsigned int timeout=MN_THREAD_CONFIG_TIMEOUT_QUEUE_DEFAULT)
Definition: mn_queue.cpp:50
virtual unsigned int get_num_items()
Definition: mn_queue.cpp:117
virtual int peek(void *item, unsigned int timeout=MN_THREAD_CONFIG_TIMEOUT_QUEUE_DEFAULT)
Definition: mn_queue.cpp:86
virtual int dequeue(void *item, unsigned int timeout=MN_THREAD_CONFIG_TIMEOUT_QUEUE_DEFAULT)
Definition: mn_queue.cpp:68
#define MN_THREAD_CONFIG_TIMEOUT_QUEUE_DEFAULT
Definition: mn_config.hpp:387
struct mn::memory::detail::ptr_difference T
Definition: mn_atomic_singleton.hpp:38
Definition: mn_allocator_typetraits.hpp:25
Definition: mn_iterator.hpp:34