lists.cpp File
C++ source file with the implementations for the µOS++ lists methods. More...
Included Headers
#include <micro-os-plus/utils/lists.h>
#include <micro-os-plus/diag/trace.h>
Namespaces Index
| namespace | micro_os_plus |
|
The primary namespace for the µOS++ framework. More... | |
| namespace | utils |
|
The µOS++ utilities definitions. More... | |
Description
C++ source file with the implementations for the µOS++ lists methods.
The list.cpp source file contains the C++ implementations of the methods for the µOS++ Intrusive Lists classes, delivering an efficient and lightweight linked list management system tailored for embedded applications.
The class definitions are in the lists.h file.
File Listing
The file content with the documentation metadata removed is:
31#include <micro-os-plus/utils/lists.h>
45namespace micro_os_plus::utils
58 double_list_links_base::uninitialized (void) const
62 assert (previous_ == nullptr);
63 assert (next_ == nullptr);
85 if (uninitialized ())
87 initialize ();
106 assert (next_ != nullptr);
107 assert (next_->previous_ != nullptr);
110 node->previous_ = this;
113 next_->previous_ = node;
114 next_ = node;
132 assert (next_ != nullptr);
133 assert (next_->previous_ != nullptr);
136 node->next_ = this;
139 previous_->next_ = node;
140 previous_ = node;
165 initialize ();
176 double_list_links_base::linked (void) const
180 assert (next_ == this);
181 assert (previous_ == this);
205 next_ = nullptr;
206 previous_ = nullptr;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.14.0.