openMSX
Public Member Functions | Static Public Attributes | List of all members
openmsx::SchedulerQueue< T > Class Template Reference

#include <SchedulerQueue.hh>

Inheritance diagram for openmsx::SchedulerQueue< T >:
Inheritance graph
[legend]

Public Member Functions

 SchedulerQueue ()
 
size_t capacity () const
 
size_t spareFront () const
 
size_t spareBack () const
 
size_t size () const
 
bool empty () const
 
T & front ()
 
const T & front () const
 
T * begin ()
 
const T * begin () const
 
T * end ()
 
const T * end () const
 
template<typename SET_SENTINEL , typename LESS >
void insert (const T &t, SET_SENTINEL setSentinel, LESS less)
 
void remove_front ()
 
template<typename PRED >
bool remove (PRED p)
 
template<typename PRED >
void remove_all (PRED p)
 

Static Public Attributes

static constexpr int CAPACITY = 32
 
static constexpr int SPARE_FRONT = 1
 

Detailed Description

template<typename T>
class openmsx::SchedulerQueue< T >

Definition at line 19 of file SchedulerQueue.hh.

Constructor & Destructor Documentation

◆ SchedulerQueue()

template<typename T>
openmsx::SchedulerQueue< T >::SchedulerQueue ( )
inline

Definition at line 24 of file SchedulerQueue.hh.

Member Function Documentation

◆ begin() [1/2]

template<typename T>
T* openmsx::SchedulerQueue< T >::begin ( )
inline

Definition at line 43 of file SchedulerQueue.hh.

◆ begin() [2/2]

template<typename T>
const T* openmsx::SchedulerQueue< T >::begin ( ) const
inline

Definition at line 44 of file SchedulerQueue.hh.

◆ capacity()

template<typename T>
size_t openmsx::SchedulerQueue< T >::capacity ( ) const
inline

Definition at line 32 of file SchedulerQueue.hh.

◆ empty()

template<typename T>
bool openmsx::SchedulerQueue< T >::empty ( ) const
inline

◆ end() [1/2]

template<typename T>
T* openmsx::SchedulerQueue< T >::end ( )
inline

Definition at line 45 of file SchedulerQueue.hh.

◆ end() [2/2]

template<typename T>
const T* openmsx::SchedulerQueue< T >::end ( ) const
inline

Definition at line 46 of file SchedulerQueue.hh.

◆ front() [1/2]

template<typename T>
T& openmsx::SchedulerQueue< T >::front ( )
inline

Definition at line 40 of file SchedulerQueue.hh.

◆ front() [2/2]

template<typename T>
const T& openmsx::SchedulerQueue< T >::front ( ) const
inline

Definition at line 41 of file SchedulerQueue.hh.

◆ insert()

template<typename T>
template<typename SET_SENTINEL , typename LESS >
void openmsx::SchedulerQueue< T >::insert ( const T &  t,
SET_SENTINEL  setSentinel,
LESS  less 
)
inline

Definition at line 56 of file SchedulerQueue.hh.

◆ remove()

template<typename T>
template<typename PRED >
bool openmsx::SchedulerQueue< T >::remove ( PRED  p)
inline

Definition at line 91 of file SchedulerQueue.hh.

◆ remove_all()

template<typename T>
template<typename PRED >
void openmsx::SchedulerQueue< T >::remove_all ( PRED  p)
inline

Definition at line 107 of file SchedulerQueue.hh.

◆ remove_front()

template<typename T>
void openmsx::SchedulerQueue< T >::remove_front ( )
inline

Definition at line 84 of file SchedulerQueue.hh.

◆ size()

template<typename T>
size_t openmsx::SchedulerQueue< T >::size ( ) const
inline

Definition at line 35 of file SchedulerQueue.hh.

◆ spareBack()

template<typename T>
size_t openmsx::SchedulerQueue< T >::spareBack ( ) const
inline

Definition at line 34 of file SchedulerQueue.hh.

◆ spareFront()

template<typename T>
size_t openmsx::SchedulerQueue< T >::spareFront ( ) const
inline

Definition at line 33 of file SchedulerQueue.hh.

Member Data Documentation

◆ CAPACITY

template<typename T>
constexpr int openmsx::SchedulerQueue< T >::CAPACITY = 32
static

Definition at line 22 of file SchedulerQueue.hh.

◆ SPARE_FRONT

template<typename T>
constexpr int openmsx::SchedulerQueue< T >::SPARE_FRONT = 1
static

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