File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LowPriority< ELEMTYPE > Class Template Reference

Used in event handling. More...

#include <Lowqueue.h>

Inheritance diagram for LowPriority< ELEMTYPE >:

Public Member Functions

 LowPriority ()
 
void Push (ELEMTYPE a_element, long a_priority)
 
void Pop ()
 
bool Empty (void)
 
LowPriPair< ELEMTYPE > Bottom (void)
 

Detailed Description

template<class ELEMTYPE>
class LowPriority< ELEMTYPE >

Used in event handling.

Constructor & Destructor Documentation

◆ LowPriority()

template<class ELEMTYPE>
LowPriority< ELEMTYPE >::LowPriority ( )
inline
116  : priority_queue <LowPriPair< ELEMTYPE> >()
117  {}

Member Function Documentation

◆ Bottom()

template<class ELEMTYPE>
LowPriPair<ELEMTYPE> LowPriority< ELEMTYPE >::Bottom ( void  )
inline
135  {
136  return this->top();
137  }

◆ Empty()

template<class ELEMTYPE>
bool LowPriority< ELEMTYPE >::Empty ( void  )
inline
130  {
131  return this->empty();
132  }

◆ Pop()

template<class ELEMTYPE>
void LowPriority< ELEMTYPE >::Pop ( )
inline
125  {
126  this->pop();
127  }

◆ Push()

template<class ELEMTYPE>
void LowPriority< ELEMTYPE >::Push ( ELEMTYPE  a_element,
long  a_priority 
)
inline
120  {
121  this->push( LowPriPair<ELEMTYPE>( a_element, a_priority ));
122  }

The documentation for this class was generated from the following file:
LowPriPair
Used in event handling.
Definition: Lowqueue.h:83