RTEMS  5.0.0
Data Fields
Chain_Iterator Struct Reference

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

#include <chainimpl.h>

Data Fields

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().

Field Documentation

◆ direction

Chain_Iterator_direction Chain_Iterator::direction

The direction of this iterator.

Immutable after initialization via _Chain_Iterator_initialize().

◆ 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().

◆ Registry_node

Chain_Node Chain_Iterator::Registry_node

Node for registration.

Used during _Chain_Iterator_initialize() and _Chain_Iterator_destroy().


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