RTEMS: Chain_Iterator Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
Chain_Iterator Struct Reference
Internal » SuperCore » Chain Handler

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.
Chain_Iterator_direction | direction
| The direction of this iterator.
Chain_Node * | position
| The current position of this iterator.

## 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:

- cpukit/include/rtems/score/chainimpl.h