---
title: "ClikaRT::runtime::StepContext"
sidebar_label: "StepContext"
description: "Context for an Iterate step (Model::Phase_Iterate): one entry in slots per active session in the batch. Valid only for the duration of the call."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--struct">struct</span>

**Header:** `ClikaRT/runtime/context.h`

Context for an `Iterate` step ([`Model::Phase_Iterate`](./Model.md#Phase_Iterate)): one entry in [`slots`](./StepContext.md#slots) per active session in the batch. Valid only for the duration of the call.

## Data members

### slots {#slots}

<div class="api-signature">

[`ClikaRT::Span`](../Span.md)`<const` [`StepSlot`](./StepSlot.md)`>` **`slots`**

</div>

one slot per batched session, in batch order

<div class="api-declared">

Declared in `ClikaRT/runtime/context.h`, line 67

</div>

### stream {#stream}

<div class="api-signature">

[`Stream`](../Stream.md) **`stream`**

</div>

the stream this step executes on

<div class="api-declared">

Declared in `ClikaRT/runtime/context.h`, line 68

</div>
