#include <swcdb/core/QueueSafe.h>
Public Types | |
typedef ItemT | value_type |
Public Member Functions | |
SWC_CAN_INLINE | QueueSafe () noexcept |
~QueueSafe () noexcept | |
QueueSafe (const QueueSafe &)=delete | |
QueueSafe (QueueSafe &&other) | |
QueueSafe & | operator= (const QueueSafe &)=delete |
QueueSafe & | operator= (QueueSafe &&)=delete |
SWC_CAN_INLINE void | push (const ItemT &item) |
SWC_CAN_INLINE void | push (ItemT &&item) |
SWC_CAN_INLINE bool | push_and_is_1st (const ItemT &item) |
SWC_CAN_INLINE bool | push_and_is_1st (ItemT &&item) |
SWC_CAN_INLINE ItemT & | front () noexcept |
SWC_CAN_INLINE bool | empty () noexcept |
SWC_CAN_INLINE size_t | size () noexcept |
SWC_CAN_INLINE bool | pop_and_more () |
SWC_CAN_INLINE bool | pop (ItemT *item) |
Private Types | |
typedef std::queue< ItemT > | QBase |
Private Attributes | |
MutexSptd | m_mutex |
Definition at line 18 of file QueueSafe.h.
|
private |
Definition at line 19 of file QueueSafe.h.
typedef ItemT SWC::Core::QueueSafe< ItemT >::value_type |
Definition at line 23 of file QueueSafe.h.
|
inlineexplicitnoexcept |
Definition at line 26 of file QueueSafe.h.
|
inlinenoexcept |
Definition at line 28 of file QueueSafe.h.
|
delete |
|
inline |
Definition at line 32 of file QueueSafe.h.
|
inlinenoexcept |
Definition at line 78 of file QueueSafe.h.
Referenced by SWC::Manager::MngdColumns::stop(), and SWC::Ranger::Range::wait_queue().
|
inlinenoexcept |
Definition at line 72 of file QueueSafe.h.
Referenced by SWC::Manager::MngdColumns::run_actions(), and SWC::Ranger::CommitLog::Splitter::split().
|
delete |
|
delete |
|
inline |
Definition at line 97 of file QueueSafe.h.
Referenced by SWC::Ranger::Range::_run_scan_queue(), SWC::FS::FileSystemBroker::send_request(), and SWC::FS::FileSystemBroker::stop().
|
inline |
Definition at line 90 of file QueueSafe.h.
Referenced by SWC::Manager::MngdColumns::run_actions(), and SWC::Ranger::CommitLog::Splitter::split().
|
inline |
Definition at line 42 of file QueueSafe.h.
Referenced by SWC::Ranger::Range::scan(), and SWC::FS::FileSystemBroker::send_request().
|
inline |
Definition at line 48 of file QueueSafe.h.
|
inline |
Definition at line 54 of file QueueSafe.h.
Referenced by SWC::Manager::MngdColumns::action(), SWC::Ranger::CommitLog::Splitter::loaded(), and SWC::Ranger::Range::scan().
|
inline |
Definition at line 63 of file QueueSafe.h.
|
inlinenoexcept |
Definition at line 84 of file QueueSafe.h.
Referenced by SWC::Manager::MngdColumns::stop().
|
private |
Definition at line 109 of file QueueSafe.h.
Referenced by SWC::Core::QueueSafe< Comm::ConnHandlerPtr >::empty(), SWC::Core::QueueSafe< Comm::ConnHandlerPtr >::front(), SWC::Core::QueueSafe< Comm::ConnHandlerPtr >::pop(), SWC::Core::QueueSafe< Comm::ConnHandlerPtr >::pop_and_more(), SWC::Core::QueueSafe< Comm::ConnHandlerPtr >::push(), SWC::Core::QueueSafe< Comm::ConnHandlerPtr >::push_and_is_1st(), and SWC::Core::QueueSafe< Comm::ConnHandlerPtr >::size().