Taskolib  1.4.4
StepIndex.h
Go to the documentation of this file.
1 
23 // SPDX-License-Identifier: LGPL-2.1-or-later
24 
25 #ifndef TASKOLIB_STEPINDEX_H_
26 #define TASKOLIB_STEPINDEX_H_
27 
28 #include <cstdint>
29 #include <optional>
30 
31 namespace task {
32 
34 using StepIndex = std::uint16_t;
35 
37 using OptionalStepIndex = std::optional<StepIndex>;
38 
39 } // namespace task
40 
41 #endif
Namespace task contains all Taskolib functions and classes.
Definition: CommChannel.h:33
std::uint16_t StepIndex
A type for storing the index of a Step in a Sequence.
Definition: StepIndex.h:34
std::optional< StepIndex > OptionalStepIndex
An optional step index (std::optional<StepIndex>).
Definition: StepIndex.h:37