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

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

#include <ThreadList.hpp>

Public Member Functions

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

Detailed Description

functor which gives descending effective priority order of elements on the list

Constructor & Destructor Documentation

◆ ThreadDescendingEffectivePriority()

constexpr distortos::internal::ThreadDescendingEffectivePriority::ThreadDescendingEffectivePriority ( )
inline

Member Function Documentation

◆ operator()()

bool distortos::internal::ThreadDescendingEffectivePriority::operator() ( const ThreadListNode left,
const ThreadListNode right 
) const
inline

ThreadDescendingEffectivePriority's function call operator.

Parameters
[in]leftis the object on the left-hand side of comparison
[in]rightis the object on the right-hand side of comparison
Returns
true if left's effective priority is less than right's effective priority
Here is the call graph for this function:

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