Search Toolkit Book for CSyncQueue_ConstAccessGuard
Access guard to a constant CSyncQueue. More...
#include <util/sync_queue.hpp>
Access guard to a constant CSyncQueue.
This guard guarantees that while it is alive the queue is locked and no other thread can change it. So you can freely iterate through queue - guard gives access to iterators. However this guard does not allow you to change the queue - you can change it if you still have non-const reference to object but you cannot do it using methods of this guard itself. For this purpose you are to use CSyncQueue_AccessGuard object.
Full description and examples of using look here: Using CSyncQueue class.
Definition at line 629 of file sync_queue.hpp.
◆ TConstIteratortemplate<class Type , class Container , class Traits >
For convinience - type of constant iterator.
Definition at line 641 of file sync_queue.hpp.
◆ TIteratortemplate<class Type , class Container , class Traits >
Type of iterator returned from this guard.
Definition at line 639 of file sync_queue.hpp.
◆ TIterBasetemplate<class Type , class Container , class Traits >
Base type for iterator and const_iterator for the queue.
Definition at line 690 of file sync_queue.hpp.
◆ TQueuetemplate<class Type , class Container , class Traits >
Queue type that this object can guard.
Definition at line 633 of file sync_queue.hpp.
◆ TRevConstIteratortemplate<class Type , class Container , class Traits >
For convinience - type of reverse constant iterator.
Definition at line 655 of file sync_queue.hpp.
◆ TRevIteratortemplate<class Type , class Container , class Traits >
Type of reverse iterator returned from this guard.
Definition at line 652 of file sync_queue.hpp.
◆ TSizetemplate<class Type , class Container , class Traits >
◆ TThisTypetemplate<class Type , class Container , class Traits >
Definition at line 685 of file sync_queue.hpp.
◆ TValuetemplate<class Type , class Container , class Traits >
◆ CSyncQueue_ConstAccessGuard() [1/2]template<class Type , class Container , class Traits >
◆ ~CSyncQueue_ConstAccessGuard()template<class Type , class Container , class Traits >
◆ CSyncQueue_ConstAccessGuard() [2/2]template<class Type , class Container , class Traits >
◆ Begin()template<class Type , class Container , class Traits >
◆ End()template<class Type , class Container , class Traits >
◆ operator=()template<class Type , class Container , class Traits >
◆ Queue()template<class Type , class Container , class Traits >
Get reference to queue which this object guards to use its constant access methods.
Definition at line 2256 of file sync_queue.hpp.
◆ RBegin()template<class Type , class Container , class Traits >
Get reverse iterator pointing to the tail of the queue.
Definition at line 2234 of file sync_queue.hpp.
◆ REnd()template<class Type , class Container , class Traits >
◆ x_AddIter()template<class Type , class Container , class Traits >
◆ x_RemoveIter()template<class Type , class Container , class Traits >
Remove iterator from the list of iterators owned by this object.
Definition at line 2207 of file sync_queue.hpp.
◆ CSyncQueue_I< Type, Container, typename TQueue::TNativeConstIter, Traits >template<class Type , class Container , class Traits >
Definition at line 703 of file sync_queue.hpp.
◆ CSyncQueue_I< Type, Container, typename TQueue::TNativeIter, Traits >template<class Type , class Container , class Traits >
Definition at line 703 of file sync_queue.hpp.
◆ m_Iterstemplate<class Type , class Container , class Traits >
List of iterators owned by this guard.
Definition at line 703 of file sync_queue.hpp.
◆ m_Queuetemplate<class Type , class Container , class Traits >
The documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4