Wiselib
Public Types | Public Member Functions | Protected Attributes
wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE > Class Template Reference

#include <priority_queue.h>

List of all members.

Public Types

typedef Value_P value_type
typedef value_typepointer
typedef OsModel_P::size_t size_type

Public Member Functions

 priority_queue ()
 priority_queue (const priority_queue &pq)
 ~priority_queue ()
priority_queueoperator= (const priority_queue &pq)
Capacity
size_type size ()
size_type max_size ()
size_type capacity ()
bool empty ()
pointer data ()
Element Access
value_type top ()
Modifiers
void clear ()
void push (const value_type &x)
value_type pop ()

Protected Attributes

value_type vec_ [QUEUE_SIZE]
pointer start_
pointer finish_
pointer end_of_storage_

template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
class wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >


Member Typedef Documentation

template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
typedef value_type* wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::pointer
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
typedef OsModel_P::size_t wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::size_type
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
typedef Value_P wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::value_type

Constructor & Destructor Documentation

template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::priority_queue ( ) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::priority_queue ( const priority_queue< OsModel_P, Value_P, QUEUE_SIZE > &  pq) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::~priority_queue ( ) [inline]

Member Function Documentation

template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
size_type wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::capacity ( ) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
void wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::clear ( void  ) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
pointer wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::data ( ) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
bool wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::empty ( ) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
size_type wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::max_size ( ) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
priority_queue& wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::operator= ( const priority_queue< OsModel_P, Value_P, QUEUE_SIZE > &  pq) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
value_type wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::pop ( ) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
void wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::push ( const value_type x) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
size_type wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::size ( void  ) [inline]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
value_type wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::top ( ) [inline]

Member Data Documentation

template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
pointer wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::end_of_storage_ [protected]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
pointer wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::finish_ [protected]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
pointer wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::start_ [protected]
template<typename OsModel_P, typename Value_P, int QUEUE_SIZE>
value_type wiselib::priority_queue< OsModel_P, Value_P, QUEUE_SIZE >::vec_[QUEUE_SIZE] [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines