RTEMS
Public Attributes | List of all members
Chain_Iterator Struct Reference

A chain iterator which is updated during node extraction if it is properly registered. More...

#include <chainimpl.h>

Public Attributes

Chain_Node Registry_node
 Node for registration. More...
 
Chain_Iterator_direction direction
 The direction of this iterator. More...
 
Chain_Nodeposition
 The current position of this iterator. More...
 

Detailed Description

A chain iterator which is updated during node extraction if it is properly registered.

See also
_Chain_Iterator_initialize().

Definition at line 902 of file chainimpl.h.

Member Data Documentation

◆ direction

Chain_Iterator_direction Chain_Iterator::direction

The direction of this iterator.

Immutable after initialization via _Chain_Iterator_initialize().

Definition at line 915 of file chainimpl.h.

◆ position

Chain_Node* Chain_Iterator::position

The current position of this iterator.

The position is initialized via _Chain_Iterator_initialize(). It must be explicitly set after one valid iteration step, e.g. in case a next node in the iterator direction existed. It is updated through the registration in case a node is extracted via _Chain_Iterator_registry_update().

Definition at line 925 of file chainimpl.h.

◆ Registry_node

Chain_Node Chain_Iterator::Registry_node

Node for registration.

Used during _Chain_Iterator_initialize() and _Chain_Iterator_destroy().

Definition at line 908 of file chainimpl.h.


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