ALMaSS Rabbit ODdox  1.1
The rabbit model description following ODdox protocol
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.

Definition at line 113 of file lowqueue.h.

Constructor & Destructor Documentation

◆ LowPriority()

template<class ELEMTYPE>
LowPriority< ELEMTYPE >::LowPriority ( )
inline

Definition at line 116 of file lowqueue.h.

116  : priority_queue <LowPriPair< ELEMTYPE> >()
117  {}

Member Function Documentation

◆ Bottom()

template<class ELEMTYPE>
LowPriPair<ELEMTYPE> LowPriority< ELEMTYPE >::Bottom ( void  )
inline

Definition at line 134 of file lowqueue.h.

135  {
136  return this->top();
137  }

◆ Empty()

template<class ELEMTYPE>
bool LowPriority< ELEMTYPE >::Empty ( void  )
inline

Definition at line 129 of file lowqueue.h.

130  {
131  return this->empty();
132  }

◆ Pop()

template<class ELEMTYPE>
void LowPriority< ELEMTYPE >::Pop ( )
inline

Definition at line 124 of file lowqueue.h.

125  {
126  this->pop();
127  }

◆ Push()

template<class ELEMTYPE>
void LowPriority< ELEMTYPE >::Push ( ELEMTYPE  a_element,
long  a_priority 
)
inline

Definition at line 119 of file lowqueue.h.

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