distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
distortos::internal::MessageQueueBase::DescendingPriority Struct Reference

functor which gives descending priority order of elements on the list More...

#include <MessageQueueBase.hpp>

Public Member Functions

constexpr DescendingPriority ()
 DescendingPriority's constructor. More...
 
bool operator() (const Entry &left, const Entry &right) const
 DescendingPriority's function call operator. More...
 

Detailed Description

functor which gives descending priority order of elements on the list

Constructor & Destructor Documentation

◆ DescendingPriority()

constexpr distortos::internal::MessageQueueBase::DescendingPriority::DescendingPriority ( )
inline

DescendingPriority's constructor.

Member Function Documentation

◆ operator()()

bool distortos::internal::MessageQueueBase::DescendingPriority::operator() ( const Entry left,
const Entry right 
) const
inline

DescendingPriority's function call operator.

Parameters
[in]leftis the object on the left side of comparison
[in]rightis the object on the right side of comparison
Returns
true if left's priority is less than right's priority

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