distortos  v0.6.0
object-oriented C++ RTOS for microcontrollers
distortos::internal::ThreadList Class Reference

sorted intrusive list of threads (thread control blocks) More...

#include "ThreadList.hpp"

Inheritance diagram for distortos::internal::ThreadList:
[legend]
Collaboration diagram for distortos::internal::ThreadList:
[legend]

Public Member Functions

constexpr ThreadList ()
 ThreadList's constructor. More...
 
- Public Member Functions inherited from estd::SortedIntrusiveList< ThreadDescendingEffectivePriority, ThreadListNode, &ThreadListNode::threadListNode, ThreadControlBlock >
constexpr SortedIntrusiveList (const ThreadDescendingEffectivePriority &compare=ThreadDescendingEffectivePriority {})
 SortedIntrusiveList's constructor. More...
 
 SortedIntrusiveList (const SortedIntrusiveList &)=delete
 
 SortedIntrusiveList (SortedIntrusiveList &&)=default
 
reference back ()
 
const_reference back () const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
void clear ()
 Unlinks all elements from the list. More...
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
reference front ()
 
const_reference front () const
 
iterator insert (reference newElement)
 Links the element in the list, keeping it sorted. More...
 
void pop_back ()
 Unlinks the last element from the list. More...
 
void pop_front ()
 Unlinks the first element from the list. More...
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
void splice (const iterator splicedElement)
 Transfers the element from another list to this one, keeping it sorted. More...
 
void swap (SortedIntrusiveList &other)
 Swaps contents with another list. More...
 
const SortedIntrusiveListoperator= (const SortedIntrusiveList &)=delete
 
SortedIntrusiveListoperator= (SortedIntrusiveList &&)=delete
 

Additional Inherited Members

- Public Types inherited from estd::SortedIntrusiveList< ThreadDescendingEffectivePriority, ThreadListNode, &ThreadListNode::threadListNode, ThreadControlBlock >
using UnsortedIntrusiveList = IntrusiveList< ThreadListNode, NodePointer, ThreadControlBlock >
 unsorted intrusive list used internally More...
 
using const_iterator = typename UnsortedIntrusiveList::const_iterator
 const iterator of elements on the list More...
 
using const_reverse_iterator = typename UnsortedIntrusiveList::const_reverse_iterator
 const reverse iterator of elements on the list More...
 
using const_pointer = typename UnsortedIntrusiveList::const_pointer
 const pointer to value linked in the list More...
 
using const_reference = typename UnsortedIntrusiveList::const_reference
 const reference to value linked in the list More...
 
using iterator = typename UnsortedIntrusiveList::iterator
 iterator of elements on the list More...
 
using reverse_iterator = typename UnsortedIntrusiveList::reverse_iterator
 reverse iterator of elements on the list More...
 
using pointer = typename UnsortedIntrusiveList::pointer
 pointer to value linked in the list More...
 
using reference = typename UnsortedIntrusiveList::reference
 reference to value linked in the list More...
 
using value_type = typename UnsortedIntrusiveList::value_type
 value linked in the list More...
 
- Static Public Member Functions inherited from estd::SortedIntrusiveList< ThreadDescendingEffectivePriority, ThreadListNode, &ThreadListNode::threadListNode, ThreadControlBlock >
static iterator erase (const iterator position)
 Unlinks the element at position from the list. More...
 

Detailed Description

sorted intrusive list of threads (thread control blocks)

Constructor & Destructor Documentation

◆ ThreadList()

constexpr distortos::internal::ThreadList::ThreadList ( )
inline

ThreadList's constructor.


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