◆ PopBackItem()
Pops the last item from the dequeue.
- Parameters
-
outItem | output parameter containing the element at the back of the dequeue |
- Returns
- boolean true on success, false if the dequeue was empty
◆ PopFrontItem()
Pops the front item from the dequeue.
- Parameters
-
outItem | output parameter containing the element at the front of the dequeue |
- Returns
- boolean true on success, false if the dequeue was empty
◆ PushBackItem()
template<typename TYPE >
template<typename TYPE_DEDUCED >
Pushes a new item to the back of the dequeue.
- Parameters
-
item | element to push to the back of the dequeue |
◆ PushFrontItem()
template<typename TYPE >
template<typename TYPE_DEDUCED >
Pushes a new item to the front of the dequeue.
- Parameters
-
item | element to push to the front of the dequeue |
◆ Size()
Returns the size of the dequeue in numbers of elements.
- Returns
- the number of elements contained in the deque
◆ Swap()
Swaps the underlying dequeue data with the input dequeue.
- Parameters
-
swapDeque | the non-thread safe deque to swap the internal deque with |
◆ Visit()
Visits all the elements of the deque under lock using the provided functor.
- Parameters
-
visitor | the functor to visit all deque elements with |
◆ VisitDeque()
Visits the whole internal deque under lock using the provided functor.
- Parameters
-
visitor | the functor to operate on the deque with |
The documentation for this class was generated from the following files:
- Code/Framework/AzCore/AzCore/Threading/ThreadSafeDeque.h
- Code/Framework/AzCore/AzCore/Threading/ThreadSafeDeque.inl