KISSCPP
a C++ library for rapid application development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT > Class Template Reference

#include <threadsafe_persisted_priority_queue.hpp>

Inheritance diagram for kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >:
Inheritance graph
[legend]
Collaboration diagram for kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >:
Collaboration graph
[legend]

Public Member Functions

 ThreadsafePersistedPriorityQueue (const std::string &queueName, const std::string &queueWorkingDir, const unsigned priorityLevels, const unsigned maxItemsPerPage)
 
 ~ThreadsafePersistedPriorityQueue ()
 
void push (boost::shared_ptr< _qoT > p, unsigned priority)
 
boost::shared_ptr< _qoT > pop ()
 
boost::shared_ptr< _qoT > last_pop_object ()
 
void push_back_last_pop ()
 
bool empty ()
 
void clear (unsigned level)
 
void clear ()
 

Constructor & Destructor Documentation

template<class _qoT , class _sT >
kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >::ThreadsafePersistedPriorityQueue ( const std::string &  queueName,
const std::string &  queueWorkingDir,
const unsigned  priorityLevels,
const unsigned  maxItemsPerPage 
)
inline
template<class _qoT , class _sT >
kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >::~ThreadsafePersistedPriorityQueue ( )
inline

Member Function Documentation

template<class _qoT , class _sT >
void kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >::clear ( unsigned  level)
inline
template<class _qoT , class _sT >
void kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >::clear ( )
inline
template<class _qoT , class _sT >
bool kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >::empty ( )
inline

Here is the caller graph for this function:

template<class _qoT , class _sT >
boost::shared_ptr<_qoT> kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >::last_pop_object ( )
inline
template<class _qoT , class _sT >
boost::shared_ptr<_qoT> kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >::pop ( )
inline

Here is the call graph for this function:

template<class _qoT , class _sT >
void kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >::push ( boost::shared_ptr< _qoT >  p,
unsigned  priority 
)
inline
template<class _qoT , class _sT >
void kisscpp::ThreadsafePersistedPriorityQueue< _qoT, _sT >::push_back_last_pop ( )
inline

The documentation for this class was generated from the following file: